Mercurial > repos > yufei-luo > s_mart
view SMART/galaxy/changeTagName.xml @ 45:e454402ba9d9
Deleted selected files
author | m-zytnicki |
---|---|
date | Wed, 18 Sep 2013 08:51:22 -0400 |
parents | 1236e5a49595 |
children |
line wrap: on
line source
<tool id="changeTagName" name="change tag name"> <description>Change the name of a tag in a GFF file.</description> <requirements> <requirement type="set_environment">PYTHONPATH</requirement> </requirements> <command interpreter="python"> ../Java/Python/changeTagName.py -i $formatType.inputFileName #if $formatType.FormatInputFileName == 'gff': -f gff #elif $formatType.FormatInputFileName == 'gff2': -f gff2 #elif $formatType.FormatInputFileName == 'gff3': -f gff3 #end if -t $Tag -n $name -o $outputFileGff </command> <inputs> <conditional name="formatType"> <param name="FormatInputFileName" type="select" label="Input File Format"> <option value="gff">gff</option> <option value="gff2">gff2</option> <option value="gff3">gff3</option> </param> <when value="gff"> <param name="inputFileName" format="gff" type="data" label="Input File"/> </when> <when value="gff2"> <param name="inputFileName" format="gff2" type="data" label="Input File"/> </when> <when value="gff3"> <param name="inputFileName" format="gff3" type="data" label="Input File"/> </when> </conditional> <param name="Tag" type="text" label="tag option" help="The tag you want to change"/> <param name="name" type="text" label="name option" help="A new name for the tag"/> </inputs> <outputs> <data name="outputFileGff" format="gff3" label="[change tag name] Output File"/> </outputs> <help> Change the name of a tag in the 9th field of a GFF3 file (please consult http://www.sequenceontology.org/gff3.shtml to know more about this format). </help> </tool>