annotate SMART/galaxy/restrictFromSize.xml @ 40:cd852f3e04ab

Uploaded
author m-zytnicki
date Thu, 30 May 2013 03:03:34 -0400
parents 2c0c0a89fad7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="restrictFromSize" name="restrict from size">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Select the elements of a list of sequences or transcripts with a given size.</description>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/restrictFromSize.py -i $formatType.inputFileName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName == 'fasta':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f fasta
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #elif $formatType.FormatInputFileName == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #elif $formatType.FormatInputFileName == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #elif $formatType.FormatInputFileName == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 #elif $formatType.FormatInputFileName == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 -f sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 #elif $formatType.FormatInputFileName == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21 -f gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 #if $OptionMax.maximum == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 -M $OptionMax.max
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 #if $OptionMin.minimum == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 -m $OptionMin.min
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 -o $outputFileGff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36 <param name="FormatInputFileName" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 <option value="fasta">fasta</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <when value="fasta">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 <param name="inputFileName" format="fasta" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 <param name="inputFileName" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 <param name="inputFileName" format="gff" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <param name="inputFileName" format="sam" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 <conditional name="OptionMax">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 <param name="maximum" type="select" label="maximum number of np">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 <param name="max" type="integer" value="1" help="Be Careful! The value must be upper than 0"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 <conditional name="OptionMin">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 <param name="minimum" type="select" label="minimum number of np">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 <param name="min" type="integer" value="1" help="Be Careful! The value must be upper than 0"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
88 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
89 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
90 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
91
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
92 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
93
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
94 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
95 <data name="outputFileGff" format="gff3" label="[restrict from size] output file"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
96 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
97
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
98 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
99 Reads a list of sequences or genomic coordinates and outputs those which are longer and / or shorter than a given size ---which you provide.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
100 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
101
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
102 </tool>