annotate SMART/galaxy/CleanTranscriptFile.xml @ 28:2a3fdec156e0

Deleted selected files
author m-zytnicki
date Mon, 29 Apr 2013 03:31:52 -0400
parents 94ab73e8a190
children 0ab839023fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
1 <tool id="CleanTranscriptFile" name="clean transcript file">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
2 <description>Clean a transcript file so that it is useable for S-MART.</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/CleanTranscriptFile.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #if $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 #if $optionType.type == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 -t $optionType.value
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 -o $outputFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 <param name="inputFileName" format="gff" 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="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <param name="inputFileName" format="gtf" 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 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 <conditional name="optionType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <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
41 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <param name="value" type="text" value="tRNA,rRNA,ncRNA,CDS,exon"/>
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="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <data name="outputFile" format="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <change_format>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
57 <when input="formatType.FormatInputFileName" value="gtf" format="gtf" />
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <when input="formatType.FormatInputFileName" value="gff" format="gff" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <when input="formatType.FormatInputFileName" value="gff3" format="gff3" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 </change_format>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </data>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 </outputs>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
64 <tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
65 <test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
66 <param name="FormatInputFileName" value="gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
67 <param name="inputFileName" value="genes.gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
68 <param name="type" value="No" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
69 <output name="outputFile" file="exp_cleantranscriptfile_genes.gtf" />
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
70 </test>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
71 </tests>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
72
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
73 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
74 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
75 </help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
76
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 </tool>