Mercurial > repos > iuc > obi_grep
annotate obigrep.xml @ 1:d53d03328867 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit b3426aed6615742d96dfb8f7346a9e0d4e391a99
| author | iuc |
|---|---|
| date | Fri, 12 Oct 2018 06:21:17 -0400 |
| parents | c7ce1f020ef9 |
| children | 4568c98d1dfe |
| rev | line source |
|---|---|
|
1
d53d03328867
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit b3426aed6615742d96dfb8f7346a9e0d4e391a99
iuc
parents:
0
diff
changeset
|
1 <tool id="obi_grep" name="obigrep" version="@TOOL_VERSION@"> |
|
0
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
2 <description>Filters sequence file</description> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
3 <macros> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
5 </macros> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
8 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
9 <command> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
10 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
11 <![CDATA[ |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
12 obigrep |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
13 ${v} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
14 #if str($options_grep.options_grep_selector) == 'sequence' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
15 -s ${options_grep.sequence} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
16 #else if str($options_grep.options_grep_selector) == 'definition' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
17 -D ${options_grep.definition} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
18 #else if str($options_grep.options_grep_selector) == 'identifier' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
19 -I ${options_grep.identifier} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
20 #else if str($options_grep.options_grep_selector) == 'idlist' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
21 --id-list '$options_grep.idlist} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
22 #else if str($options_grep.options_grep_selector) == 'attribute' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
23 -a ${options_grep.attribute} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
24 #else if str($options_grep.options_grep_selector) == 'hasattribute' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
25 -A ${options_grep.attribute} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
26 #else if str($options_grep.options_grep_selector) == 'predicat' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
27 -p ${options_grep.predicat} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
28 #else if str($options_grep.options_grep_selector) == 'lmax' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
29 -L ${options_grep.lmax} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
30 #else if str($options_grep.options_grep_selector) == 'lmin' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
31 -l ${options_grep.lmin} |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
32 #end if |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
33 '$input' > '$output' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
34 ]]> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
35 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
36 </command> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
37 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
38 <inputs> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
39 <param name="input" type="data" format="fasta,fastq" label="Input sequences file" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
40 <conditional name="options_grep"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
41 <param name="options_grep_selector" type="select" label="Choose the sequence record selection option" > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
42 <option value="sequence" selected="true">sequence</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
43 <option value="definition">definition</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
44 <option value="identifier">identifier</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
45 <option value="idlist">idlist</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
46 <option value="attribute">attribute</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
47 <option value="hasattribute">hasattribute</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
48 <option value="predicat">predicat</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
49 <option value="lmax">lmax</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
50 <option value="lmin">lmin</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
51 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
52 <when value="sequence"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
53 <param name="sequence" type="text" label="Regular expression pattern to be tested against the sequence itself. The pattern is case insensitive." > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
54 <expand macro="sanitizer" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
55 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
56 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
57 <when value="definition"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
58 <param name="definition" type="text" label="Regular expression pattern to be tested against the definition of the sequence record. The pattern is case sensitive." > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
59 <expand macro="sanitizer" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
60 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
61 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
62 <when value="identifier"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
63 <param name="identifier" type="text" label="Regular expression pattern to be tested against the identifier of the sequence record. The pattern is case sensitive." > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
64 <expand macro="sanitizer" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
65 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
66 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
67 <when value="idlist"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
68 <param name="idlist" type="data" format="txt,tabular" label="points to a text file containing the list of sequence record identifiers to be selected. The file format consists in a single identifier per line." /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
69 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
70 <when value="attribute"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
71 <param name="attribute" type="text" label="Regular expression pattern matched against the attributes of the sequence record. the value of this attribute is of the form : key:regular_pattern. The pattern is case sensitive." > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
72 <expand macro="sanitizer" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
73 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
74 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
75 <when value="hasattribute"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
76 <param name="hasattribute" type="text" label="Selects sequence records having an attribute who is key." > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
77 <expand macro="sanitizer" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
78 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
79 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
80 <when value="predicat"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
81 <param name="predicat" type="text" label="Python boolean expression to be evaluated for each sequence record." help="The attribute keys defined for each sequence record can be used in the expression as variable names. An extra variable named sequenceefers to the sequence record itself." > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
82 <expand macro="sanitizer" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
83 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
84 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
85 <when value="lmax"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
86 <param name="lmax" type="text" label="lmax" help="Keeps sequence records whose sequence length is equal or shorter than lmax" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
87 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
88 <when value="lmin"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
89 <param name="lmin" type="text" label="lmin" help="Keeps sequence records whose sequence length is equal or longer than lmin"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
90 </when> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
91 </conditional> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
92 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
93 <param name="v" type="boolean" truevalue="-v" falsevalue="" checked="false" label="Invert the sequence record selection (option -v)" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
94 <param name="out_format" type="select" label="Output data type"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
95 <option value="fasta">fasta</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
96 <option value="fastq">fastq</option> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
97 </param> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
98 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
99 </inputs> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
100 <outputs> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
101 <data format="fastq" name="output" label="output with ${tool.name} on ${on_string}" > |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
102 <change_format> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
103 <when input="out_format" value="fasta" format="fasta" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
104 </change_format> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
105 </data> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
106 </outputs> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
107 <tests> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
108 <test> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
109 <param name="input" value="illuminapairedend.output.fastq" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
110 <conditional name="options_grep"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
111 <param name="options_grep_selector" value="lmin"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
112 <param name="lmin" value="80"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
113 </conditional> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
114 <param name="v" value="true" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
115 <param name="out_format" value="fastq" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
116 <output name="output" file="output_obigrep_lmin.fastq" ftype="fastq"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
117 </test> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
118 <test> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
119 <param name="input" value="illuminapairedend.output.fastq" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
120 <conditional name="options_grep"> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
121 <param name="options_grep_selector" value="predicat"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
122 <param name="predicat" value='mode!="joined"'/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
123 </conditional> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
124 <param name="v" value="false" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
125 <param name="out_format" value="fasta" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
126 <output name="output" file="output_obigrep_predicat.fasta" ftype="fasta"/> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
127 </test> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
128 </tests> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
129 <help><![CDATA[ |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
130 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
131 .. class:: infomark |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
132 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
133 **What it does** |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
134 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
135 The obigrep command is in some way analog to the standard Unix grep command. It selects a subset of sequence records from a sequence file. |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
136 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
137 A sequence record is a complex object composed of an identifier, a set of attributes (key=value), a definition, and the sequence itself. |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
138 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
139 Instead of working text line by text line as the standard Unix tool, selection is done sequence record by sequence record. A large set of options allows refining selection on any of the sequence record elements. |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
140 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
141 Moreover obigrep allows specifying simultaneously several conditions (that take the value TRUE or FALSE) and only the sequence records that fulfill all the conditions (all conditions are TRUE) are selected. |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
142 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
143 Sequence record selection options : |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
144 * sequence : Regular expression pattern to be tested against the sequence itself. ex: GAATTC |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
145 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
146 * definition : Regular expression pattern to be tested against the definition of the sequence record. ex: [Cc]hloroplast |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
147 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
148 * identifier : Regular expression pattern to be tested against the identifier of the sequence record. ex: ^GH |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
149 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
150 * idlist : points to a text file containing the list of sequence record identifiers to be selected. |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
151 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
152 * attribute : Regular expression pattern matched against the attributes of the sequence record. the value of this attribute is of the form : key:regular_pattern. ex:'family_name:Asteraceae' |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
153 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
154 * hasattribute : Selects sequence records having an attribute whose key = KEY. |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
155 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
156 * predicat : Python boolean expression to be evaluated for each sequence record. The attribute keys defined for each sequence record can be used in the expression as variable names. An extra variable named ‘sequence’ refers to the sequence record itself. ex: mode!="joined" |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
157 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
158 * lmax : Keeps sequence records whose sequence length is equal or shorter than lmax. ex : 100 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
159 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
160 * lmin : Selects sequence records whose sequence length is equal or longer than lmin. ex : 100 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
161 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
162 @OBITOOLS_LINK@ |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
163 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
164 ]]> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
165 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
166 </help> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
167 <expand macro="citation" /> |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
168 |
|
c7ce1f020ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff
changeset
|
169 </tool> |
