annotate SMART/galaxy/SelectByTag.xml @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents 440ceca58672
children 0ab839023fe4
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="SelectByTag" name="select by tag">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
2 <description>Keep the genomic coordinates such that a value of a given tag.</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">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 ../Java/Python/SelectByTag.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 #elif $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 #elif $formatType.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 $Tag
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #if $OptionValue.Value == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 -a $OptionValue.valeur
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #if $OptionMax.maximum == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 -M $OptionMax.max
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 #if $OptionMin.minimum == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 -m $OptionMin.min
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 #if $OptionDefault.default == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 -d $OptionDefault.defaultValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 -o $outputFileGff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <option value="gtf">gtf</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="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <param name="inputFileName" format="gff" type="data" label="Input File"/>
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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <param name="Tag" type="text" value="None" label="tag option" help="A given tag, you must choose a tag."/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <conditional name="OptionValue">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
61 <param name="Value" type="select" label="given value for the tag">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <when value="Yes">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
66 <param name="valeur" type="integer" value="1"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <conditional name="OptionMax">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <param name="maximum" type="select" label="maximum value of tag">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <when value="Yes">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
78 <param name="max" type="integer" value="1"/>
6
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="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 <conditional name="OptionMin">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <param name="minimum" type="select" label="minimum value of tag">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <when value="Yes">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
90 <param name="min" type="integer" value="1"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 <conditional name="OptionDefault">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
97 <param name="default" type="select" label="give this value if tag is not present">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <param name="defaultValue" type="float" value="0" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <outputs>
18
94ab73e8a190 Uploaded
m-zytnicki
parents: 15
diff changeset
110 <data name="outputFileGff" format="gff3" label="[select by tag] output file"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
113 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
114 The script reads a list of genomic coordinates and output all the features with specific tag values. If you want to know more about tags, please consult the GFF format page: http://www.sequenceontology.org/gff3.shtml
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
115
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
116 The tools reads the input file, and more specifically the tag that you specified. You can mention a lower and a upper bound for its value, or a specific value, and the tool will print all the features such that the tags are between the specified bounds or matches the string.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
117
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
118 A tag has to be present for each feature. If not, you can specify a default value which will be used if the tag is absent.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
119
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
120 This tool can be used to select the clusters with a minimum number of elements (the tag **nbElements** counts the number of elements per clusters) or to select the reads which have mapped less than *n* times (the tag **nbOccurrences** counts the number of mappings per read).
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
121 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 </tool>