annotate SMART/galaxy/ConvertTranscriptFile.xml @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents 440ceca58672
children 0ab839023fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
1 <tool id="ConvertTranscriptFile" name="convert transcript file">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Convert a file from a format to another.</description>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
3 <requirements>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
5 </requirements>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 <command interpreter="python"> ../Java/Python/convertTranscriptFile.py -i $inputFormatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #if $inputFormatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $inputFormatType.FormatInputFileName == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $inputFormatType.FormatInputFileName == 'bam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f blast
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #elif $inputFormatType.FormatInputFileName == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 #elif $inputFormatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -g $outputFormatType.outFormat
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -n $name
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 $strand
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 <conditional name="inputFormatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 <option value="gff3">GFF3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <option value="bed">BED</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <option value="bam">BAM</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 <option value="sam">SAM</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 <option value="gtf">GTF</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <param name="inputFileName" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 <when value="bam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <param name="inputFileName" format="bam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <param name="inputFileName" format="sam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <conditional name="outputFormatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <param name="outFormat" type="select" label="Please choose the format that you want to convert to (corresponding to your input file format).">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <option value="gff3">GFF3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <option value="bed">BED</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <option value="wig">WIG</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <option value="sam">SAM</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <option value="csv">CSV</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <option value="gtf">GTF</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <when value="wig">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <when value="csv">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <param name="name" type="text" value="SMART" label="name for the transcripts"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <param name="strand" type="boolean" truevalue="-t" falsevalue="" checked="false" label="consider the 2 strands as different (only useful for writing WIG files)"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <data name="outputFile" format="gff3" label="$inputFormatType.FormatInputFileName to $outputFormatType.outFormat">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 <change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <when input="outputFormatType.outFormat" value="bed" format="bed" />
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
86 <when input="outputFormatType.outFormat" value="gff" format="gff" />
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <when input="outputFormatType.outFormat" value="wig" format="wig" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <when input="outputFormatType.outFormat" value="sam" format="sam" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <when input="outputFormatType.outFormat" value="csv" format="csv" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <when input="outputFormatType.outFormat" value="gtf" format="gtf" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 </change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </data>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <help>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
96 Simple conversion tool.
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </help>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 </tool>