Mercurial > repos > yufei-luo > s_mart
view SMART/galaxy/changeTagName.xml @ 21:91f8c4ce8c27
Deleted selected files
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:25:37 -0400 |
parents | 94ab73e8a190 |
children | 0ab839023fe4 |
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 #elif $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>