annotate filter_by_fasta_ids.xml @ 5:dff7df6fcab5 draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit f608f41d45664d04d3124c6ebc791bf8a566b3c5
author galaxyp
date Wed, 15 May 2019 03:18:11 -0400
parents cd22452edec2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
dff7df6fcab5 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit f608f41d45664d04d3124c6ebc791bf8a566b3c5
galaxyp
parents: 4
diff changeset
1 <tool id="filter_by_fasta_ids" name="Filter FASTA" version="2.3">
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
2 <description>on the headers and/or the sequences</description>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
3 <macros>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
4 <xml name="regexp_macro" token_label="Regular expression pattern">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
5 <param name="regexp" type="text" value="" label="@LABEL@" help="Use the Python regular expression syntax as specified in https://docs.python.org/3/library/re.html">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
6 <validator type="empty_field" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
7 <sanitizer>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
8 <valid initial="string.printable">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
9 <remove value="'"/>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
10 </valid>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
11 <mapping initial="none">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
12 <add source="'" target="'&quot;'&quot;'" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
13 </mapping>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
14 </sanitizer>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
15 </param>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
16 </xml>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
17 </macros>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
18 <requirements>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
19 <requirement type="package" version="3.6.5">python</requirement>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
20 </requirements>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
21 <command><![CDATA[
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
22 python '$__tool_directory__/filter_by_fasta_ids.py'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
23 -i '$input'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
24 #if $header_criteria.header_criteria_select == 'id_list'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
25 --id_list '$header_criteria.identifiers'
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
26 #if $header_criteria.id_regex.find == 'pattern':
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
27 --pattern '$header_criteria.id_regex.pattern'
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
28 #else:
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
29 --pattern '>([^| ]+)'
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
30 #end if
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
31 #elif $header_criteria.header_criteria_select == 'regexp'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
32 --header_regexp '$header_criteria.regexp'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
33 #end if
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
34 #if $sequence_criteria.sequence_criteria_select == 'seq_length'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
35 --min_length $sequence_criteria.min_length
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
36 #if str($sequence_criteria.max_length)
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
37 --max_length $sequence_criteria.max_length
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
38 #end if
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
39 #elif $sequence_criteria.sequence_criteria_select == 'regexp'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
40 --sequence_regexp '$sequence_criteria.regexp'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
41 #end if
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
42 $dedup
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
43 -o '$output'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
44 #if $output_discarded
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
45 -d '$discarded'
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
46 #end if
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
47 ]]></command>
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
48 <inputs>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
49 <param name="input" type="data" format="fasta" label="FASTA sequences"/>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
50 <conditional name="header_criteria">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
51 <param name="header_criteria_select" type="select" label="Criteria for filtering on the headers">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
52 <option value="">No filtering</option>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
53 <option value="id_list">List of IDs</option>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
54 <option value="regexp">Regular expression on the headers</option>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
55 </param>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
56 <when value="" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
57 <when value="id_list">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
58 <param name="identifiers" type="data" format="txt" label="List of IDs to extract sequences for"/>
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
59 <conditional name="id_regex">
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
60 <param name="find" type="select" label="Match IDs by"
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
61 help="Default: &gt;ID will use search pattern >([^| ]+) to input ID; Use custom regex to change">
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
62 <option value="beginning">Default: ID is expected at the beginning: &gt;ID </option>
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
63 <option value="pattern">Custom regex pattern</option>
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
64 </param>
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
65 <when value="beginning" />
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
66 <when value="pattern">
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
67 <param name="pattern" type="text" value="" label="Regex search pattern for ID"
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
68 help="Search pattern must contain %s where the ID will be substituted. Use this for Uniprot Acc: >.+?\|(.+?)\|.*$">
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
69 <sanitizer sanitize="False"/>
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
70 <validator type="regex" message="must include a group that returns an ID">^.*[(](?![?]:).*[)].*$</validator>
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
71 </param>
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
72 </when>
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
73 </conditional>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
74 </when>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
75 <when value="regexp">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
76 <expand macro="regexp_macro" label="Regular expression pattern the header should match" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
77 </when>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
78 </conditional>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
79 <conditional name="sequence_criteria">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
80 <param name="sequence_criteria_select" type="select" label="Criteria for filtering on the sequences">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
81 <option value="">No filtering</option>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
82 <option value="seq_length">Sequence length</option>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
83 <option value="regexp">Regular expression on the sequences</option>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
84 </param>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
85 <when value="" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
86 <when value="seq_length">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
87 <param name="min_length" type="integer" value="0" label="Minimum length" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
88 <param name="max_length" type="integer" min="1" value="" optional="true" label="Maximum length" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
89 </when>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
90 <when value="regexp">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
91 <expand macro="regexp_macro" label="Regular expression pattern the sequence should match" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
92 </when>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
93 </conditional>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
94 <param name="dedup" type="boolean" truevalue="--dedup" falsevalue="" label="Remove duplicate sequences" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
95 <param name="output_discarded" type="boolean" label="Output discarded FASTA entries" />
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
96 </inputs>
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
97 <outputs>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
98 <data name="output" format="fasta" label="${tool.name} on ${on_string}: FASTA sequences"/>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
99 <data name="discarded" format="fasta" label="${tool.name} on ${on_string}: discarded entries">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
100 <filter>output_discarded</filter>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
101 </data>
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
102 </outputs>
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
103 <tests>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
104 <test expect_num_outputs="1">
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
105 <param name="input" ftype="fasta" value="input.fasta" />
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
106 <param name="header_criteria_select" value="id_list" />
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
107 <param name="identifiers" ftype="txt" value="ids.txt" />
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
108 <param name="dedup" value="True" />
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
109 <output name="output" file="output_dedup.fasta" />
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
110 </test>
3
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
111 <test expect_num_outputs="1">
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
112 <param name="input" ftype="fasta" value="input_sp.fasta" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
113 <param name="header_criteria_select" value="id_list" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
114 <param name="find" value="pattern" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
115 <param name="pattern" value=">.+?\|(.+?)\|.*$" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
116 <param name="identifiers" ftype="txt" value="ids_sp.txt" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
117 <param name="dedup" value="True" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
118 <output name="output" file="output_sp_dedup.fasta" />
3c623e81be77 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 0556e0fe5aa17c84033a75a45baeb3a4c2b5ff76
galaxyp
parents: 2
diff changeset
119 </test>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
120 <test expect_num_outputs="2">
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
121 <param name="input" ftype="fasta" value="input.fasta" />
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
122 <param name="header_criteria_select" value="id_list" />
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
123 <param name="identifiers" ftype="txt" value="ids.txt" />
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
124 <param name="dedup" value="False" />
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
125 <param name="output_discarded" value="True" />
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
126 <output name="output" file="output_not_dedup.fasta" />
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
127 <output name="discarded" file="discarded_not_dedup.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
128 </test>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
129 <test expect_num_outputs="2">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
130 <param name="input" ftype="fasta" value="input.fasta" />
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
131 <conditional name="header_criteria">
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
132 <param name="header_criteria_select" value="regexp" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
133 <param name="regexp" value="2" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
134 </conditional>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
135 <param name="dedup" value="False" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
136 <param name="output_discarded" value="True" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
137 <output name="output" file="output_header_regexp.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
138 <output name="discarded" file="discarded_header_regexp.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
139 </test>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
140 <test expect_num_outputs="2">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
141 <param name="input" ftype="fasta" value="input.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
142 <param name="sequence_criteria_select" value="seq_length" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
143 <param name="min_length" value="5" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
144 <param name="dedup" value="False" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
145 <param name="output_discarded" value="True" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
146 <output name="output" file="output_min_length5.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
147 <output name="discarded" file="discarded_min_length5.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
148 </test>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
149 <test expect_num_outputs="2">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
150 <param name="input" ftype="fasta" value="input.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
151 <param name="sequence_criteria_select" value="seq_length" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
152 <param name="max_length" value="4" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
153 <param name="dedup" value="False" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
154 <param name="output_discarded" value="True" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
155 <output name="output" file="output_max_length4.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
156 <output name="discarded" file="discarded_max_length4.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
157 </test>
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
158 <test expect_num_outputs="2">
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
159 <param name="input" ftype="fasta" value="input.fasta" />
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
160 <conditional name="sequence_criteria">
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
161 <param name="sequence_criteria_select" value="regexp" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
162 <param name="regexp" value="T{2,}" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
163 </conditional>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
164 <param name="dedup" value="False" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
165 <param name="output_discarded" value="True" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
166 <output name="output" file="output_sequence_regexp.fasta" />
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
167 <output name="discarded" file="discarded_sequence_regexp.fasta" />
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
168 </test>
4
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
169 <test expect_num_outputs="2">
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
170 <param name="input" ftype="fasta" value="input.fasta" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
171 <conditional name="header_criteria">
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
172 <param name="header_criteria_select" value="regexp" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
173 <param name="regexp" value="3|5" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
174 </conditional>
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
175 <conditional name="sequence_criteria">
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
176 <param name="sequence_criteria_select" value="regexp" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
177 <param name="regexp" value="ACGT" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
178 </conditional>
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
179 <param name="dedup" value="False" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
180 <param name="output_discarded" value="True" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
181 <output name="output" file="output_header_regexp_sequence_regexp.fasta" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
182 <output name="discarded" file="discarded_header_regexp_sequence_regexp.fasta" />
cd22452edec2 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 5e7097242e584763d3a6d86a824ee933500667af
galaxyp
parents: 3
diff changeset
183 </test>
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
184 </tests>
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
185 <help><![CDATA[
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
186 **What it does**
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
187
2
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
188 Filter entries of a FASTA file on the headers and/or the sequences based on various criteria.
1bd985f14938 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/filter_by_fasta_ids commit 2bc87e917c91a3b7a43996a0f3752b8992c0c749
galaxyp
parents: 1
diff changeset
189 ]]></help>
1
8d15aebf55fd planemo upload commit 88309fbfadbafe82f2d8fb7b96468799f2421e30
galaxyp
parents:
diff changeset
190 </tool>