annotate SMART/galaxy/CleanTranscriptFile.xml @ 16:6135c3075bc5

Deleted selected files
author m-zytnicki
date Mon, 22 Apr 2013 11:09:41 -0400
parents 440ceca58672
children 94ab73e8a190
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="CleanTranscriptFile" name="clean Transcript File">
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
2 <description>Clean a transcript file so that it is useable for S-MART.</description>
6
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>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
60 <tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
61 <test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
62 <param name="FormatInputFileName" value="gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
63 <param name="inputFileName" value="genes.gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
64 <param name="type" value="No" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
65 <output name="outputFile" file="exp_cleantranscriptfile_genes.gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
66 </test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
67 </tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
68
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
69 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
70 A GFF/GTF file (please consult http://www.sequenceontology.org/gff3.shtml to know more about the GFF3 format, and http://mblab.wustl.edu/GTF22.html for the GTF format) may contain different sources of information: chromosome size, genes, transcripts, etc. S-MART mostly works on transcripts. This scripts filters the input file to keep the information you really want, based on the feature (3rd column).
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
71 </help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
72
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 </tool>