annotate SMART/galaxy/ConvertTranscriptFile.xml @ 8:4dded8b1fbc4

Deleted selected files
author m-zytnicki
date Fri, 18 Jan 2013 09:01:47 -0500
parents 769e306b7933
children 440ceca58672
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
1 <tool id="ConvertTranscriptFile" name="Convert transcript file">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Convert a file from a format to another.</description>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
3 <command interpreter="python"> ../Java/Python/convertTranscriptFile.py -i $inputFormatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
4 #if $inputFormatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
5 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 #elif $inputFormatType.FormatInputFileName == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 #elif $inputFormatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #elif $inputFormatType.FormatInputFileName == 'bam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 -f blast
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 #elif $inputFormatType.FormatInputFileName == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 #elif $inputFormatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -g $outputFormatType.outFormat
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #if $optionSequence.choose == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 -s $optionSequence.value
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 -n $name
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 $strand
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <conditional name="inputFormatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 <option value="gff3">GFF3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 <option value="bed">BED</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 <option value="gff2">GFF2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 <option value="bam">BAM</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 <option value="sam">SAM</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <option value="gtf">GTF</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <param name="inputFileName" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <when value="bam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <param name="inputFileName" format="bam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <param name="inputFileName" format="sam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <conditional name="outputFormatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 <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
62 <option value="gff3">GFF3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <option value="bed">BED</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 <option value="gff2">GFF2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <option value="wig">WIG</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <option value="sam">SAM</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 <option value="csv">CSV</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <option value="gtf">GTF</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <when value="gff3">
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="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <when value="wig">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <when value="csv">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <param name="name" type="text" value="SMART" label="name for the transcripts"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <conditional name="optionSequence">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <param name="choose" type="select" label="give the corresponding Multi-Fasta file (useful for EMBL format)">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <param name="value" type="data" format="mfa" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <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
101
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <data name="outputFile" format="gff3" label="$inputFormatType.FormatInputFileName to $outputFormatType.outFormat">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 <when input="outputFormatType.outFormat" value="bed" format="bed" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <when input="outputFormatType.outFormat" value="gff2" format="gff2" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <when input="outputFormatType.outFormat" value="wig" format="wig" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 <when input="outputFormatType.outFormat" value="sam" format="sam" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <when input="outputFormatType.outFormat" value="csv" format="csv" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 <when input="outputFormatType.outFormat" value="gtf" format="gtf" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 </change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 </data>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 <help>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 </help>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 </tool>