Mercurial > repos > thanhlv > customize_metaphlan_database
annotate customize_metaphlan_database.xml @ 0:c0473c69ac9f draft
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
author | thanhlv |
---|---|
date | Mon, 13 Feb 2023 11:36:16 +0000 |
parents | |
children | b6e5df1237f2 |
rev | line source |
---|---|
0
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
1 <tool id="customize_metaphlan_database" name="Customize the marker sequences and metadata" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
2 <description>from the MetaPhlAn database</description> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
3 <macros> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
4 <import>macros.xml</import> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
5 </macros> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
6 <expand macro="edam_ontology"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
7 <expand macro="requirements"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
8 <requirement type="package" version="1.3">seqtk</requirement> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
9 </expand> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
10 <version_command>metaphlan -v</version_command> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
11 <command detect_errors="aggressive"><![CDATA[ |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
12 python '$__tool_directory__/customizemetadata.py' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
13 $op.operation |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
14 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
15 #if $op.operation == "add_marker" |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
16 --in_json '$in_json' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
17 --out_json '$out_json' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
18 --name $op.name |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
19 --m_length $op.m_length |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
20 #for $s in $op.genomes |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
21 --g_length $s.g_length |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
22 #if str($s.gca) != '' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
23 --gca '$s.gca' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
24 #else |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
25 --gca '' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
26 #end if |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
27 --k_name '$s.k_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
28 --k_id $s.k_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
29 --p_name '$s.p_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
30 --p_id $s.p_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
31 --c_name '$s.c_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
32 --c_id $s.c_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
33 --o_name '$s.o_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
34 --o_id $s.o_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
35 --f_name '$s.f_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
36 --f_id $s.f_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
37 --g_name '$s.g_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
38 --g_id $s.g_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
39 --s_name '$s.s_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
40 --s_id $s.s_id |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
41 --t_name '$s.t_name' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
42 #end for |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
43 && |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
44 cat |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
45 '$in_fasta' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
46 '$op.marker_seq' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
47 > '$out_fasta' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
48 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
49 #else if $op.operation == "remove_markers" |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
50 --in_json '$in_json' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
51 --markers '$op.markers' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
52 --out_json '$out_json' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
53 --kept_markers 'kept_makers' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
54 && |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
55 seqtk subseq |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
56 '$in_fasta' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
57 'kept_makers' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
58 > '$out_fasta' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
59 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
60 #else if $op.operation == "keep_markers" |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
61 --in_json '$in_json' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
62 --markers '$op.markers' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
63 --out_json '$out_json' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
64 && |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
65 seqtk subseq |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
66 '$in_fasta' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
67 '$op.markers' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
68 > '$out_fasta' |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
69 #end if |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
70 ]]></command> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
71 <inputs> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
72 <param name="in_fasta" type="data" format="fasta" label="Marker sequences"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
73 <param argument="--in_json" type="data" format="json" label="Marker metadata"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
74 <conditional name="op"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
75 <param name="operation" type="select" label="Customization"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
76 <option value="add_marker" selected="true">Add new marker</option> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
77 <option value="remove_markers">Remove markers</option> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
78 <option value="keep_markers">Keep markers, others will be removed</option> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
79 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
80 <when value="add_marker"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
81 <param name="marker_seq" type="data" format="fasta" label="Sequences of the new markers"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
82 <param argument="--name" type="text" label="Name of the new marker"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
83 <param argument="--m_length" type="integer" value="" label="Length of the new marker"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
84 <repeat name="genomes" min="1" title="Taxonomy of the genomes from which the new marker has been extracted"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
85 <param argument="--g_length" type="integer" min="0" value="" label="Length of the genome"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
86 <param argument="--gca" type="text" optional="true" label="GenBank assemblies id (GCA) of the genome"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
87 <param argument="--k_name" type="text" label="Kingdom: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
88 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
89 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
90 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
91 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
92 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
93 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
94 <param argument="--k_id" type="integer" min="0" value="" label="Kingdom: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
95 <param argument="--p_name" type="text" label="Phylum: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
96 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
97 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
98 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
99 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
100 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
101 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
102 <param argument="--p_id" type="integer" min="0" value="" label="Phylum: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
103 <param argument="--c_name" type="text" label="Class: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
104 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
105 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
106 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
107 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
108 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
109 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
110 <param argument="--c_id" type="integer" min="0" value="" label="Class: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
111 <param argument="--o_name" type="text" label="Order: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
112 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
113 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
114 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
115 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
116 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
117 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
118 <param argument="--o_id" type="integer" min="0" value="" label="Order: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
119 <param argument="--f_name" type="text" label="Family: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
120 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
121 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
122 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
123 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
124 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
125 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
126 <param argument="--f_id" type="integer" min="0" value="" label="Family: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
127 <param argument="--g_name" type="text" label="Genus: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
128 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
129 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
130 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
131 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
132 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
133 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
134 <param argument="--g_id" type="integer" min="0" value="" label="Genus: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
135 <param argument="--s_name" type="text" label="Species: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
136 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
137 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
138 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
139 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
140 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
141 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
142 <param argument="--s_id" type="integer" min="0" value="" label="Species: NCBI id"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
143 <param argument="--t_name" type="text" label="Strain: Name"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
144 <sanitizer invalid_char=""> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
145 <valid initial="string.ascii_letters,string.digits"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
146 <add value="_" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
147 </valid> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
148 </sanitizer> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
149 </param> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
150 </repeat> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
151 </when> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
152 <when value="remove_markers"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
153 <param argument="--markers" type="data" format="tabular,txt" label="List of markers to remove" help="1 marker per line"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
154 </when> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
155 <when value="keep_markers"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
156 <param argument="--markers" type="data" format="tabular,txt" label="List of markers to keep" help="1 marker per line"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
157 </when> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
158 </conditional> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
159 </inputs> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
160 <outputs> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
161 <data name="out_fasta" format="fasta" label="${tool.name} on ${on_string}: Markers sequences" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
162 <data name="out_json" format="json" label="${tool.name} on ${on_string}: Marker metadata" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
163 </outputs> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
164 <tests> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
165 <test expect_num_outputs="2"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
166 <param name="in_fasta" value="test-db-without-one-marker.fasta"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
167 <param name="in_json" value="test-db-without-one-marker.json"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
168 <conditional name="op"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
169 <param name="operation" value="add_marker"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
170 <param name="marker_seq" value="marker_sequence.fasta"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
171 <param name="name" value="13076__A0A2I1PE66__CYJ72_10760"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
172 <param name="m_length" value="540"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
173 <repeat name="genomes"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
174 <param name="g_length" value="2411251"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
175 <param name="gca" value="GCA_002847845"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
176 <param name="k_name" value="Bacteria"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
177 <param name="k_id" value="2"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
178 <param name="p_name" value="Bacilli"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
179 <param name="p_id" value="1239"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
180 <param name="c_name" value="Negativicutes"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
181 <param name="c_id" value="91061"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
182 <param name="o_name" value="Lactobacillales"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
183 <param name="o_id" value="186826"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
184 <param name="f_name" value="Aerococcaceae"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
185 <param name="f_id" value="186827"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
186 <param name="g_name" value="Globicatella"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
187 <param name="g_id" value="13075"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
188 <param name="s_name" value="Globicatella_sanguinis"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
189 <param name="s_id" value="13076"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
190 <param name="t_name" value="GCA_002847845"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
191 </repeat> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
192 </conditional> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
193 <output name="out_fasta" file="test-db.fasta" compare="sim_size"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
194 <assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
195 <has_text text="13076__A0A2I1PE66__CYJ72_10760" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
196 </assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
197 </output> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
198 <output name="out_json" file="test-db.json" compare="sim_size"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
199 <assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
200 <has_text text="13076__A0A2I1PE66__CYJ72_10760" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
201 </assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
202 </output> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
203 </test> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
204 <test expect_num_outputs="2"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
205 <param name="in_fasta" value="test-db.fasta"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
206 <param name="in_json" value="test-db.json"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
207 <conditional name="op"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
208 <param name="operation" value="remove_markers"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
209 <param name="markers" value="marker.txt"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
210 </conditional> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
211 <output name="out_fasta" file="test-db-without-one-marker.fasta" compare="sim_size"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
212 <assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
213 <not_has_text text="13076__A0A2I1PE66__CYJ72_10760" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
214 </assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
215 </output> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
216 <output name="out_json" file="test-db-without-one-marker.json" compare="sim_size"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
217 <assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
218 <not_has_text text="13076__A0A2I1PE66__CYJ72_10760" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
219 </assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
220 </output> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
221 </test> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
222 <test expect_num_outputs="2"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
223 <param name="in_fasta" value="test-db.fasta"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
224 <param name="in_json" value="test-db.json"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
225 <conditional name="op"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
226 <param name="operation" value="keep_markers"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
227 <param name="markers" value="marker.txt"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
228 </conditional> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
229 <output name="out_fasta" file="test-db-with-one-marker.fasta" compare="sim_size"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
230 <assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
231 <has_text text="13076__A0A2I1PE66__CYJ72_10760" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
232 </assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
233 </output> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
234 <output name="out_json" file="test-db-with-one-marker.json" compare="sim_size"> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
235 <assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
236 <has_text text="13076__A0A2I1PE66__CYJ72_10760" /> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
237 </assert_contents> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
238 </output> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
239 </test> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
240 </tests> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
241 <help><![CDATA[ |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
242 What it does |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
243 ============ |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
244 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
245 Customize the marker sequences (in fasta format) and metadata (in JSON) for a MetaPhlAn database: |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
246 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
247 - Add marker |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
248 - Remove markers |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
249 - Keep markers |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
250 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
251 Inputs |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
252 ====== |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
253 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
254 MetaphlAn database (can be extracted with dedicated tool) |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
255 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
256 - Fasta file with marker sequences |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
257 - JSON file with marker metadata |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
258 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
259 The other inputs depends on the type of customization |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
260 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
261 - Add marker |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
262 - Fasta file with the sequence of new marker |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
263 - Information about the new marker and related genomes |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
264 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
265 - Remove markers |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
266 - File with list of markers to remove |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
267 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
268 - Keep markers |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
269 - File with list of markers to keep |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
270 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
271 Outputs |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
272 ======= |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
273 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
274 Customized database (that can be used as input for MetaphlAn tool) |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
275 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
276 - Fasta file with marker sequences |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
277 - JSON file with marker metadata |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
278 |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
279 ]]></help> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
280 <expand macro="citations"/> |
c0473c69ac9f
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/metaphlan/
thanhlv
parents:
diff
changeset
|
281 </tool> |