annotate SMART/galaxy/restrictFromSize.xml @ 36:44d5973c188c

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