annotate obigrep.xml @ 2:e9e49cf06b42 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
author iuc
date Thu, 28 Nov 2019 15:52:09 -0500
parents 71cb8b117c05
children fe7ec8a3d35e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
71cb8b117c05 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
1aa790551187 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>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
3 <macros>
1aa790551187 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>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
5 </macros>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
8
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
9 <command>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
10
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
11 <![CDATA[
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
12 obigrep
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
13 ${v}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 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'
1aa790551187 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}
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
32 #end if
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
33 '$input' > '$output'
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
34 ]]>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
35
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
36 </command>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
37
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
38 <inputs>
1aa790551187 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" />
1aa790551187 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">
1aa790551187 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" >
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 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>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
51 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
52 <when value="sequence">
1aa790551187 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." >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
54 <expand macro="sanitizer" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
55 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
56 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
57 <when value="definition">
1aa790551187 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." >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
59 <expand macro="sanitizer" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
60 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
61 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
62 <when value="identifier">
1aa790551187 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." >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
64 <expand macro="sanitizer" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
65 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
66 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
67 <when value="idlist">
1aa790551187 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." />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
69 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
70 <when value="attribute">
1aa790551187 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." >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
72 <expand macro="sanitizer" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
73 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
74 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
75 <when value="hasattribute">
1aa790551187 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." >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
77 <expand macro="sanitizer" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
78 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
79 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
80 <when value="predicat">
1aa790551187 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." >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
82 <expand macro="sanitizer" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
83 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
84 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
85 <when value="lmax">
1aa790551187 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" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
87 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
88 <when value="lmin">
1aa790551187 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"/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
90 </when>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
91 </conditional>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
92
1aa790551187 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)" />
1aa790551187 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">
1aa790551187 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>
1aa790551187 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>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
97 </param>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
98
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
99 </inputs>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
100 <outputs>
1aa790551187 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}" >
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
102 <change_format>
1aa790551187 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" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
104 </change_format>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
105 </data>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
106 </outputs>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
107 <tests>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
108 <test>
1aa790551187 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" />
1aa790551187 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">
1aa790551187 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"/>
1aa790551187 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"/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
113 </conditional>
1aa790551187 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" />
1aa790551187 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" />
1aa790551187 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"/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
117 </test>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
118 <test>
1aa790551187 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" />
1aa790551187 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">
1aa790551187 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"/>
1aa790551187 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"'/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
123 </conditional>
1aa790551187 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" />
1aa790551187 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" />
1aa790551187 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"/>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
127 </test>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
128 </tests>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
129 <help><![CDATA[
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
130
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
131 .. class:: infomark
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
132
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
133 **What it does**
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
134
1aa790551187 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.
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
136
1aa790551187 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.
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
138
1aa790551187 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.
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
140
1aa790551187 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.
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
142
1aa790551187 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 :
1aa790551187 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
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
145
1aa790551187 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
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
147
1aa790551187 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
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
149
1aa790551187 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.
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
151
1aa790551187 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'
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
153
1aa790551187 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.
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
155
1aa790551187 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"
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
157
1aa790551187 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
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
159
1aa790551187 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
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
161
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
162 @OBITOOLS_LINK@
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
163
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
164 ]]>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
165
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
166 </help>
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
167 <expand macro="citation" />
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
168
1aa790551187 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit e1031e4c94b25d1ed535bf221764ab801b710ab2
iuc
parents:
diff changeset
169 </tool>