annotate pangolin.xml @ 12:b7e297c2ede6 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 24b6c7991331949b8cf8b6958095d701fea34497"
author iuc
date Fri, 22 Oct 2021 14:32:30 +0000
parents 073de3fb84a0
children debfccc4d65b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
073de3fb84a0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 593540812c77e419c093a423e3598270a49b5e45"
iuc
parents: 10
diff changeset
1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@+galaxy1" profile="20.01">
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
2 <description>Phylogenetic Assignment of Outbreak Lineages</description>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
3 <macros>
10
fe3e8506112c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 23ea6c11da8a0870294f864fda8a38568a9de7e9"
iuc
parents: 9
diff changeset
4 <token name="@TOOL_VERSION@">3.1.14</token>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
5 </macros>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
6 <requirements>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">pangolin</requirement>
11
073de3fb84a0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 593540812c77e419c093a423e3598270a49b5e45"
iuc
parents: 10
diff changeset
8 <!-- the scorpio requirement is because pangolin got an update to use scorpio 0.3.13 (to detect AY.4.2 better)
073de3fb84a0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 593540812c77e419c093a423e3598270a49b5e45"
iuc
parents: 10
diff changeset
9 while still using the pangolin 3.1.14 code. when pangolin gets updated past 3.1.14 this requirement can
073de3fb84a0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 593540812c77e419c093a423e3598270a49b5e45"
iuc
parents: 10
diff changeset
10 be removed -->
073de3fb84a0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 593540812c77e419c093a423e3598270a49b5e45"
iuc
parents: 10
diff changeset
11 <requirement type="package" version="0.3.13">scorpio</requirement>
7
7bb8726be37c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit a5dacfed40bb73aabd9a9a6d1e1076e0e9890a0e"
iuc
parents: 6
diff changeset
12 <requirement type="package" version="0.23.0">csvtk</requirement>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
13 </requirements>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
15 #if str($db.source) == "download"
8
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
16 pangolin --update-data --datadir datadir &&
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
17 #else if str($db.source) == "builtin"
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
18 ln -s $db.db_release.fields.path datadir &&
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
19 #end if
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
20 pangolin
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
21 --threads \${GALAXY_SLOTS:-1}
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
22 #if str($db.source) == "download" or str($db.source) == "builtin"
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
23 --datadir 'datadir'
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
24 #end if
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
25 $usher
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
26 $alignment
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
27 --outfile report.csv
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
28 --max-ambig $max_ambig
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
29 --min-length $min_length
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
30 '$input1'
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
31 && csvtk csv2tab report.csv
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
32 #if not $include_header:
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
33 | tail -n+2
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
34 #end if
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
35 > '$output1'
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
36 #if $alignment
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
37 && mv sequences.aln.fasta '$align1'
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
38 #end if
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
39 ]]></command>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
40 <inputs>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
41 <param type="data" name="input1" format="fasta" label="Input FASTA File(s)" />
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
42 <param argument="--usher" type="boolean" label="Use UShER model" truevalue="--usher" falsevalue="" help="Use UShER model instead of default pangoLEARN model" />
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
43 <param argument="--alignment" type="boolean" label="Generate output alignment"
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
44 truevalue="--alignment" falsevalue="" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
45 <param argument="--max-ambig" type="float" label="Maximum proportion of Ns allowed"
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
46 value="0.5" min="0" max="1" help="Maximum proportion of Ns allowed for pangolin to attempt assignment" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
47 <param argument="--min-length" type="integer" label="Minimum query length allowed"
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
48 value="10000" min="0" help="Minimum query length allowed for pangolin to attempt assignment"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
49 <param name="include_header" type="boolean" label="Include header line in output file"
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
50 truevalue="true" falsevalue="false" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
51 <conditional name="db">
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
52 <param type="select" name="source" label="pangoLEARN source" help="Where to find the pangoLEARN database">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
53 <option value="download">Download latest from web</option>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
54 <option value="builtin">Use database from Galaxy server</option>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
55 <option value="default">Use default database built in to pangolin (not recommended)</option>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
56 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
57 <when value="download">
8
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
58 <!-- these are currently not supported by the pangolin downloader -->
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
59 <!-- <param name="max_retries" label="Max download retries" help="How many times to retry downloading the pangoLEARN database" type="integer" value="5" /> -->
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
60 <!-- <param name="timeout" label="Download timeout" help="How many seconds to wait when downloading the pangoLEARN database" type="float" value="60.0" /> -->
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
61 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
62 <when value="builtin">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
63 <param name="db_release" label="pangoLEARN release" type="select">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
64 <options from_data_table="pangolearn">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
65 <column name="value" index="0" />
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
66 <column name="name" index="1" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
67 <column name="path" index="3" />
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
68 <filter type="sort_by" column="0" />
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
69 <filter type="static_value" column="2" value="3.0" />
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
70 </options>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
71 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
72 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
73 <when value="default">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
74 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
75 </conditional>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
76 </inputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
77 <outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
78 <data name="output1" format="tabular" label="pangolin on ${on_string}">
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
79 <actions>
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
80 <action name="column_names" type="metadata" default="taxon,lineage,conflict,ambiguity_score,scorpio_call,scorpio_support,scorpio_conflict,version,pangolin_version,pangoLEARN_version,pango_version,status,note" />
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
81 </actions>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
82 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
83 <data name="align1" format="fasta" label="pangolin alignment on ${on_string}">
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
84 <filter>alignment</filter>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
85 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
86 </outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
87 <tests>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
88 <test expect_num_outputs="1">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
89 <param name="input1" value="test1.fasta"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
90 <conditional name="db">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
91 <param name="source" value="download" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
92 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
93 <output name="output1" ftype="tabular">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
94 <assert_contents>
9
3a43c3982401 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e2382656cdcba4384a4ee75ce24fe11e2d4d30c2"
iuc
parents: 8
diff changeset
95 <has_text_matching expression="B\.1\.1\t0\.0" />
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
96 <has_text text="passed_qc" />
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
97 <has_n_lines n="1" />
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
98 </assert_contents>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
99 </output>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
100 </test>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
101 <!-- test UShER mode -->
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
102 <test expect_num_outputs="1">
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
103 <param name="input1" value="test1.fasta"/>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
104 <param name="usher" value="true" />
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
105 <conditional name="db">
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
106 <param name="source" value="download" />
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
107 </conditional>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
108 <output name="output1" ftype="tabular">
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
109 <assert_contents>
9
3a43c3982401 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e2382656cdcba4384a4ee75ce24fe11e2d4d30c2"
iuc
parents: 8
diff changeset
110 <has_text_matching expression="B\.1\.1.*\t0\.0\t*PUSHER" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
111 <has_text text="passed_qc" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
112 <has_n_lines n="1" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
113 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
114 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
115 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
116 <test expect_num_outputs="2">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
117 <param name="alignment" value="--alignment" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
118 <param name="input1" value="test1.fasta" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
119 <conditional name="db">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
120 <param name="source" value="download" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
121 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
122 <output name="output1" ftype="tabular">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
123 <assert_contents>
9
3a43c3982401 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e2382656cdcba4384a4ee75ce24fe11e2d4d30c2"
iuc
parents: 8
diff changeset
124 <has_text_matching expression="B\.1\.1\t0\.0" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
125 <has_text text="passed_qc" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
126 <has_n_lines n="1" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
127 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
128 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
129 <output name="align1" file="aln1.fasta" ftype="fasta">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
130 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
131 <has_text text="Consensus_EB232-crude-prep_S297" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
132 <has_n_lines n="2" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
133 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
134 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
135 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
136 <!-- test include-header option -->
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
137 <test expect_num_outputs="1">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
138 <param name="input1" value="multiple_alignment.fasta.gz"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
139 <param name="include_header" value="true" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
140 <conditional name="db">
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
141 <param name="source" value="download" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
142 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
143 <output name="output1" ftype="tabular">
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
144 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
145 <has_text text="pangoLEARN_version" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
146 <has_text text="lineage" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
147 <has_text text="Serbia" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
148 <has_text text="Poland" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
149 <has_text text="USA" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
150 <has_n_lines n="35" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
151 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
152 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
153 </test>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
154 </tests>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
155 <help><![CDATA[
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
156
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
157 .. class:: infomark
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
158
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
159 `Pangolin <https://cov-lineages.org/pangolin.html>`_ (Phylogenetic Assignment of Named Global Outbreak LINeages)
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
160 is used to assign a SARS-CoV-2 genome sequence the most likely lineage based on the PANGO nomenclature system.
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
161
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
162 Pangolin uses the `pangoLEARN <https://github.com/cov-lineages/pangoLEARN>`_ stored model for lineage assignment. This
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
163 model is updated more frequently than the pangolin tool is. In general one should use the most recent model for lineage
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
164 assignment, and the default option for this tool is to download the latest version of the model before the pangolin
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
165 tool runs. A pangoLEARN data manager exists so that the Galaxy admin can download specific versions of the pangoLEARN
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
166 model as required. Finally the pangolin tool can use its default built-in model, but this is **not recommended** as the
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
167 default model rapidly becomes out of date.
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
168
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
169 ]]></help>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
170 <citations>
8
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
171 <citation type="doi">10.1093/ve/veab064</citation>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
172 </citations>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
173 </tool>