annotate obigrep.xml @ 3:fe7ec8a3d35e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
author iuc
date Mon, 10 May 2021 19:33:38 +0000
parents 71cb8b117c05
children 02bab5ff7c37
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
1 <tool id="obi_grep" name="obigrep" version="@TOOL_VERSION@" profile="@PROFILE@">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
2 <description>Filters sequence file</description>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
3 <macros>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
4 <import>macros.xml</import>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
5 </macros>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
6 <expand macro="requirements"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
7 <expand macro="stdio"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
8 <command><![CDATA[
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
9 @GUNZIP_INPUT@
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
10
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
11 obigrep
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
12 --without-progress-bar
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
13 ${v}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
14 #if str($options_grep.options_grep_selector) == 'sequence'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
15 -s ${options_grep.sequence}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
16 #else if str($options_grep.options_grep_selector) == 'definition'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
17 -D ${options_grep.definition}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
18 #else if str($options_grep.options_grep_selector) == 'identifier'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
19 -I ${options_grep.identifier}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
20 #else if str($options_grep.options_grep_selector) == 'idlist'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
21 --id-list '${options_grep.idlist}'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
22 #else if str($options_grep.options_grep_selector) == 'attribute'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
23 -a ${options_grep.attribute}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
24 #else if str($options_grep.options_grep_selector) == 'hasattribute'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
25 -A ${options_grep.attribute}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
26 #else if str($options_grep.options_grep_selector) == 'predicat'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
27 -p ${options_grep.predicat}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
28 #else if str($options_grep.options_grep_selector) == 'lmax'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
29 -L ${options_grep.lmax}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
30 #else if str($options_grep.options_grep_selector) == 'lmin'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
31 -l ${options_grep.lmin}
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
32 #end if
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
33 @INPUT_FORMAT@
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
34 @OUT_FORMAT@
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
35 input
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
36 @GZIP_OUTPUT@
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
37 > '$output'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
38 @GENERATE_GALAXY_JSON@
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
39 ]]></command>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
40 <inputs>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
41 <param name="input" type="data" format="@INPUT_FORMATS@" label="Input sequences file" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
42 <conditional name="options_grep">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
43 <param name="options_grep_selector" type="select" label="Choose the sequence record selection option" >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
44 <option value="sequence" selected="true">sequence</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
45 <option value="definition">definition</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
46 <option value="identifier">identifier</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
47 <option value="idlist">idlist</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
48 <option value="attribute">attribute</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
49 <option value="hasattribute">hasattribute</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
50 <option value="predicat">predicat</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
51 <option value="lmax">lmax</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
52 <option value="lmin">lmin</option>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
53 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
54 <when value="sequence">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
55 <param name="sequence" type="text" label="Regular expression pattern to be tested against the sequence itself. The pattern is case insensitive." >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
56 <expand macro="sanitizer" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
57 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
58 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
59 <when value="definition">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
60 <param name="definition" type="text" label="Regular expression pattern to be tested against the definition of the sequence record. The pattern is case sensitive." >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
61 <expand macro="sanitizer" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
62 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
63 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
64 <when value="identifier">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
65 <param name="identifier" type="text" label="Regular expression pattern to be tested against the identifier of the sequence record. The pattern is case sensitive." >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
66 <expand macro="sanitizer" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
67 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
68 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
69 <when value="idlist">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
70 <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." />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
71 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
72 <when value="attribute">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
73 <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." >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
74 <expand macro="sanitizer" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
75 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
76 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
77 <when value="hasattribute">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
78 <param name="hasattribute" type="text" label="Selects sequence records having an attribute who is key." >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
79 <expand macro="sanitizer" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
80 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
81 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
82 <when value="predicat">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
83 <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." >
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
84 <expand macro="sanitizer" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
85 </param>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
86 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
87 <when value="lmax">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
88 <param name="lmax" type="text" label="lmax" help="Keeps sequence records whose sequence length is equal or shorter than lmax" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
89 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
90 <when value="lmin">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
91 <param name="lmin" type="text" label="lmin" help="Keeps sequence records whose sequence length is equal or longer than lmin"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
92 </when>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
93 </conditional>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
94
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
95 <param name="v" type="boolean" truevalue="-v" falsevalue="" checked="false" label="Invert the sequence record selection (option -v)" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
96 <expand macro="input_format_options_macro"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
97 <expand macro="out_format_macro"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
98 </inputs>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
99 <outputs>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
100 <data format="auto" name="output"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
101 </outputs>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
102 <tests>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
103 <test>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
104 <param name="input" value="illuminapairedend.output.fastq" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
105 <conditional name="options_grep">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
106 <param name="options_grep_selector" value="lmin"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
107 <param name="lmin" value="80"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
108 </conditional>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
109 <param name="v" value="true" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
110 <param name="out_format" value="fastq" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
111 <output name="output" file="output_obigrep_lmin.fastq" ftype="fastqsanger"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
112 </test>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
113 <test>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
114 <param name="input" value="illuminapairedend.output.fastq.gz" ftype="fastq.gz" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
115 <conditional name="options_grep">
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
116 <param name="options_grep_selector" value="predicat"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
117 <param name="predicat" value='mode!="joined"'/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
118 </conditional>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
119 <param name="v" value="false" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
120 <param name="out_format" value="fasta" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
121 <output name="output" file="output_obigrep_predicat.fasta.gz" ftype="fasta.gz" decompress="true"/>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
122 </test>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
123 </tests>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
124 <help><![CDATA[
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
125
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
126 .. class:: infomark
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
127
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
128 **What it does**
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
129
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
130 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.
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
131
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
132 A sequence record is a complex object composed of an identifier, a set of attributes (key=value), a definition, and the sequence itself.
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
133
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
134 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.
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
135
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
136 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.
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
137
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
138 Sequence record selection options :
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
139 * sequence : Regular expression pattern to be tested against the sequence itself. ex: GAATTC
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
140
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
141 * definition : Regular expression pattern to be tested against the definition of the sequence record. ex: [Cc]hloroplast
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
142
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
143 * identifier : Regular expression pattern to be tested against the identifier of the sequence record. ex: ^GH
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
144
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
145 * idlist : points to a text file containing the list of sequence record identifiers to be selected.
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
146
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
147 * 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'
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
148
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
149 * hasattribute : Selects sequence records having an attribute whose key = KEY.
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
150
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
151 * 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"
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
152
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
153 * lmax : Keeps sequence records whose sequence length is equal or shorter than lmax. ex : 100
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
154
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
155 * lmin : Selects sequence records whose sequence length is equal or longer than lmin. ex : 100
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
156
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
157 @OBITOOLS_LINK@
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
158
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
159 ]]>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
160
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
161 </help>
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
162 <expand macro="citation" />
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
163
fe7ec8a3d35e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
164 </tool>