annotate SMART/galaxy/ConvertTranscriptFile.xml @ 47:b6481845eb0d

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