Mercurial > repos > yufei-luo > s_mart
view SMART/galaxy/ConvertTranscriptFile.xml @ 60:90f4b29d884f
Uploaded
author | m-zytnicki |
---|---|
date | Fri, 21 Feb 2014 08:32:36 -0500 |
parents | 97aa2e42bfdf |
children |
line wrap: on
line source
<tool id="ConvertTranscriptFile" name="convert transcript file"> <description>Convert a file from a format to another.</description> <requirements> <requirement type="set_environment">PYTHONPATH</requirement> </requirements> <command interpreter="python"> ../Java/Python/convertTranscriptFile.py -i $inputFormatType.inputFileName -f $inputFormatType.FormatInputFileName -g $outputFormatType.outFormat -n $name $strand -o $outputFile </command> <inputs> <conditional name="inputFormatType"> <param name="FormatInputFileName" type="select" label="Input File Format"> <option value="gff3">GFF3</option> <option value="bed">BED</option> <option value="sam">SAM</option> <option value="bam">BAM</option> <option value="gtf">GTF</option> </param> <when value="gff3"> <param name="inputFileName" format="gff3" type="data" label="Input File"/> </when> <when value="bed"> <param name="inputFileName" format="bed" type="data" label="Input File"/> </when> <when value="sam"> <param name="inputFileName" format="sam" type="data" label="Input File"/> </when> <when value="bam"> <param name="inputFileName" format="bam" type="data" label="Input File"/> </when> <when value="gtf"> <param name="inputFileName" format="gtf" type="data" label="Input File"/> </when> </conditional> <conditional name="outputFormatType"> <param name="outFormat" type="select" label="Please choose the format that you want to convert to (corresponding to your input file format)."> <option value="gff3">GFF3</option> <option value="bed">BED</option> <option value="wig">WIG</option> <option value="sam">SAM</option> <option value="csv">CSV</option> <option value="gtf">GTF</option> </param> <when value="gff3"> </when> <when value="bed"> </when> <when value="wig"> </when> <when value="sam"> </when> <when value="csv"> </when> <when value="gtf"> </when> </conditional> <param name="name" type="text" value="SMART" label="name for the transcripts"/> <param name="strand" type="boolean" truevalue="-t" falsevalue="" checked="false" label="consider the 2 strands as different (only useful for writing WIG files)"/> </inputs> <outputs> <data name="outputFile" format="gff3" label="$inputFormatType.FormatInputFileName to $outputFormatType.outFormat"> <change_format> <when input="outputFormatType.outFormat" value="bed" format="bed" /> <when input="outputFormatType.outFormat" value="gff" format="gff" /> <when input="outputFormatType.outFormat" value="wig" format="wig" /> <when input="outputFormatType.outFormat" value="sam" format="sam" /> <when input="outputFormatType.outFormat" value="csv" format="csv" /> <when input="outputFormatType.outFormat" value="gtf" format="gtf" /> </change_format> </data> </outputs> <help> Simple conversion tool. </help> </tool>