annotate SMART/galaxy/CleanTranscriptFile.xml @ 6:769e306b7933

Change the repository level.
author yufei-luo
date Fri, 18 Jan 2013 04:54:14 -0500
parents
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="CleanTranscriptFile" name="Clean Transcript File">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description> Clean a transcript file so that it is useable for S-MART.</description>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
3 <command interpreter="python"> ../Java/Python/CleanTranscriptFile.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
4 #if $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
5 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #if $optionType.type == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -t $optionType.value
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 <param name="inputFileName" format="gff" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 <conditional name="optionType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <param name="type" type="select" label="You can choose the tag that you are interested in, like tRNA,rRNA,ncRNA,CDS,exon, etc." help="Name of the types you want to keep in GFF/GTF (list separated by commas)">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <param name="value" type="text" value="tRNA,rRNA,ncRNA,CDS,exon"/>
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="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <data name="outputFile" format="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <when input="formatType.FormatInputFileName" value="gff" format="gff" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <when input="formatType.FormatInputFileName" value="gff3" format="gff3" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 </change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 </data>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 </tool>