annotate cherry_pick_fasta.xml @ 8:ee689b6999d5 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/cherry_pick_fasta commit 6cbabbaa6706494c530833f0fb0cbeebce4f150b
author artbio
date Wed, 11 Oct 2023 14:27:09 +0000
parents 6c0aefd9fee3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
ee689b6999d5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/cherry_pick_fasta commit 6cbabbaa6706494c530833f0fb0cbeebce4f150b
artbio
parents: 7
diff changeset
1 <tool id="cherry_pick_fasta" name="Pick Fasta sequences" version="4.1">
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
2 <description>with header satisfying a string query</description>
2
321cad0eb507 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit b5ef783237b244d684e26b1ed1cc333a8305ce3e"
artbio
parents: 1
diff changeset
3 <requirements>
6
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
4 <requirement type="package" version="3.8.0">python</requirement>
2
321cad0eb507 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit b5ef783237b244d684e26b1ed1cc333a8305ce3e"
artbio
parents: 1
diff changeset
5 </requirements>
6
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
7 python '$__tool_directory__/cherry_pick_fasta.py'
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
8 --input $input
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
9 --searchfor '$search.searchfor'
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
10 #if $search.options_selector == 'single':
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
11 #if $search.match == 'exact':
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
12 --query-string '$search.query' --mode exact
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
13 #else:
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
14 --query-string '$search.query' --mode includes
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
15 #end if
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
16 #else:
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
17 #if $search.match == 'exact':
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
18 --query-file '$search.query' --mode exact
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
19 #else:
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
20 --query-file '$search.query' --mode includes
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
21 #end if
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
22 #end if
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
23 --output $output
6
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
24 ]]></command>
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
25
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
26 <inputs>
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
27 <param name="input" type="data" format="fasta" label="Source file" help="Fasta file to parse" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
28
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
29 <conditional name="search">
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
30 <param name="options_selector" type="select" display="radio" label="for a">
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
31 <option value="single" selected="True">single string</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
32 <option value="textdataset">list of strings</option>
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
33 </param>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
34 <when value="single">
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
35 <param name="match" type="select" label="retrieve sequences whose headers...">
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
36 <option value="include" selected="true">partially</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
37 <option value="exact">exactly</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
38 </param>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
39 <param name="searchfor" type="select" label=" ">
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
40 <option value="with" selected="true">contain this string</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
41 <option value="without">do not contain this string</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
42 </param>
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
43 <param name="query" type="text" size="30" value="" label="Search string" help="exemple: gi|40557596">
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
44 <sanitizer>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
45 <valid initial="string.printable">
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
46 <remove value="&quot;"/>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
47 <remove value="\"/>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
48 </valid>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
49 <mapping initial="none">
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
50 <add source="&quot;" target="\&quot;"/>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
51 <add source="\" target="\\"/>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
52 </mapping>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
53 </sanitizer>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
54 </param>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
55 </when>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
56 <when value="textdataset">
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
57 <param name="match" type="select" label="retrieve sequences whose headers...">
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
58 <option value="includes" selected="true">partially</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
59 <option value="exact">exactly</option>
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
60 </param>
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
61 <param name="searchfor" type="select" label=" ">
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
62 <option value="with" selected="true">contain one of these list strings</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
63 <option value="without">do not contain one of these list strings</option>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
64 </param>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
65 <param name="query" type="data" format="txt" label="list of strings dataset" help="a list of strings to search for, one string per line" />
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
66 </when>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
67 </conditional>
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
68 </inputs>
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
69 <outputs>
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
70 <data name="output" format="fasta" label="Fasta sequences ${search.searchfor.value} ${search.options_selector} term(s) in header" />
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
71 </outputs>
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
72 <tests>
6
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
73 <!-- test headers with space -->
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
74 <test>
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
75 <param ftype="fasta" name="input" value="input_withspace.fa" />
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
76 <param name="query" value="type=rRNA" />
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
77 <param name="searchfor" value="with" />
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
78 <param name="match" value="include" />
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
79 <output name="output" ftype="fasta" file="output_withspace.fa" />
d8fa616a228a "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 8384f1bb5378232bbe78319e06a3522674c7c1fe"
artbio
parents: 5
diff changeset
80 </test>
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
81 <!-- exact matches -->
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
82 <test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
83 <param ftype="fasta" name="input" value="input.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
84 <param name="query" value="gi|81971654|sp|Q9IJX4.1|POLN_CRPVC_RecName:_Full_Replicase_polyprotein;_Contains:_RecName:_Full_Pro--Locus_65_Transcript_1/2_Confidence_0.667_Length_1344_hit1_IdMatch=43.46,AligLength=451,E-val=2e-122" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
85 <param name="searchfor" value="without" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
86 <param name="match" value="exact" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
87 <output name="output" ftype="fasta" file="output_exactly_not.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
88 </test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
89 <test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
90 <param ftype="fasta" name="input" value="input.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
91 <param name="query" value="gi|81971654|sp|Q9IJX4.1|POLN_CRPVC_RecName:_Full_Replicase_polyprotein;_Contains:_RecName:_Full_Pro--Locus_65_Transcript_1/2_Confidence_0.667_Length_1344_hit1_IdMatch=43.46,AligLength=451,E-val=2e-122" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
92 <param name="searchfor" value="with" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
93 <param name="match" value="exact" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
94 <output name="output" ftype="fasta" file="output_exact.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
95 </test>
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
96 <test>
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
97 <param ftype="fasta" name="input" value="input.fa" />
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
98 <param name="options_selector" value="textdataset" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
99 <param name="query" ftype="txt" value="alt_termlist.txt" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
100 <param name="searchfor" value="without" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
101 <param name="match" value="exact" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
102 <output name="output" ftype="fasta" file="output_alt_termlist_without.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
103 </test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
104 <test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
105 <param ftype="fasta" name="input" value="input.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
106 <param name="options_selector" value="textdataset" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
107 <param name="query" ftype="txt" value="alt_termlist.txt" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
108 <param name="searchfor" value="with" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
109 <param name="match" value="exact" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
110 <output name="output" ftype="fasta" file="output_alt_termlist.fa" />
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
111 </test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
112 <!-- partial matches -->
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
113 <test>
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
114 <param ftype="fasta" name="input" value="input.fa" />
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
115 <param name="query" value="gi|81971654" />
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
116 <param name="searchfor" value="with" />
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
117 <output name="output" ftype="fasta" file="output.fa" />
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
118 </test>
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
119 <test>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
120 <param ftype="fasta" name="input" value="input.fa" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
121 <param name="query" value="RNA" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
122 <param name="searchfor" value="without" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
123 <output name="output" ftype="fasta" file="output_without.fa" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
124 </test>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
125 <test>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
126 <param ftype="fasta" name="input" value="input.fa" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
127 <param name="options_selector" value="textdataset" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
128 <param name="query" ftype="txt" value="termlist.txt" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
129 <param name="searchfor" value="without" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
130 <output name="output" ftype="fasta" file="output_termlist.fa" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
131 </test>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
132 <test>
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
133 <param ftype="fasta" name="input" value="input.fa" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
134 <param name="options_selector" value="textdataset" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
135 <param name="query" ftype="txt" value="termlist.txt" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
136 <param name="searchfor" value="without" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
137 <output name="output" ftype="fasta" file="output_termlist_without.fa" />
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
138 </test>
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
139 </tests>
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
140 <help>
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
141 **What it does**
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
142
1
ea8fde9c6f82 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit f527add7e7bace30b8bc67524ff1da1bf920ec29"
artbio
parents: 0
diff changeset
143 This tool retrieves nucleotide/peptide sequences from a fasta file whose headers match
3
c282a8a47dd9 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit d637de6c1090314bd34bdffc2fdf979cb55b870b"
artbio
parents: 2
diff changeset
144 or do not match a given string, or a list of strings.
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
145
7
6c0aefd9fee3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 849d6d2087dadb81f1b790e3bcb5bda40c3c83af
artbio
parents: 6
diff changeset
146 Note that the version 4 of the tools is amazingly accelerated !
6c0aefd9fee3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit 849d6d2087dadb81f1b790e3bcb5bda40c3c83af
artbio
parents: 6
diff changeset
147
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
148 </help>
8
ee689b6999d5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/cherry_pick_fasta commit 6cbabbaa6706494c530833f0fb0cbeebce4f150b
artbio
parents: 7
diff changeset
149 <citations>
ee689b6999d5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/cherry_pick_fasta commit 6cbabbaa6706494c530833f0fb0cbeebce4f150b
artbio
parents: 7
diff changeset
150 <citation type="doi">10.1002/0471142727.mb1910s89</citation>
ee689b6999d5 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/cherry_pick_fasta commit 6cbabbaa6706494c530833f0fb0cbeebce4f150b
artbio
parents: 7
diff changeset
151 </citations>
0
e3aee4ba49c6 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cherry_pick_fasta commit a5e865d017e0434dae013565929ad5e6e5129fd3
artbio
parents:
diff changeset
152 </tool>