annotate pangolin.xml @ 14:83a69484cb87 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 402a11a20ec3f724dfe0b1a4bc60d806e77c1b3d"
author iuc
date Fri, 19 Nov 2021 17:09:29 +0000
parents debfccc4d65b
children 36912871ccdc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
debfccc4d65b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 9e0b7f8095ca73b65255df51444cf0b7e14fff67"
iuc
parents: 11
diff changeset
1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@+galaxy0" 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>
13
debfccc4d65b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 9e0b7f8095ca73b65255df51444cf0b7e14fff67"
iuc
parents: 11
diff changeset
4 <token name="@TOOL_VERSION@">3.1.16</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>
7
7bb8726be37c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit a5dacfed40bb73aabd9a9a6d1e1076e0e9890a0e"
iuc
parents: 6
diff changeset
8 <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
9 </requirements>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
10 <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
11 #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
12 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
13 #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
14 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
15 #end if
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
16 pangolin
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
17 --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
18 #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
19 --datadir 'datadir'
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
20 #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
21 $usher
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
22 $alignment
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
23 --outfile report.csv
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
24 --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
25 --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
26 '$input1'
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
27 && 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
28 #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
29 | 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
30 #end if
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
31 > '$output1'
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
32 #if $alignment
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
33 && 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
34 #end if
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
35 ]]></command>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
36 <inputs>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
37 <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
38 <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
39 <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
40 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
41 <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
42 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
43 <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
44 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
45 <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
46 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
47 <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
48 <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
49 <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
50 <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
51 <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
52 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
53 <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
54 <!-- 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
55 <!-- <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
56 <!-- <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
57 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
58 <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
59 <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
60 <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
61 <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
62 <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
63 <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
64 <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
65 <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
66 </options>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
67 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
68 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
69 <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
70 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
71 </conditional>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
72 </inputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
73 <outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
74 <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
75 <actions>
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
76 <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
77 </actions>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
78 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
79 <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
80 <filter>alignment</filter>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
81 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
82 </outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
83 <tests>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
84 <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
85 <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
86 <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
87 <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
88 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
89 <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
90 <assert_contents>
14
83a69484cb87 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 402a11a20ec3f724dfe0b1a4bc60d806e77c1b3d"
iuc
parents: 13
diff changeset
91 <has_text_matching expression="B\.1\.1\t\d\.\d" />
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
92 <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
93 <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
94 </assert_contents>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
95 </output>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
96 </test>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
97 <!-- 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
98 <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
99 <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
100 <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
101 <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
102 <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
103 </conditional>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
104 <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
105 <assert_contents>
14
83a69484cb87 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 402a11a20ec3f724dfe0b1a4bc60d806e77c1b3d"
iuc
parents: 13
diff changeset
106 <has_text_matching expression="B\.1\.1.*\t\d\.\d\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
107 <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
108 <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
109 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
110 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
111 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
112 <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
113 <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
114 <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
115 <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
116 <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
117 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
118 <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
119 <assert_contents>
14
83a69484cb87 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 402a11a20ec3f724dfe0b1a4bc60d806e77c1b3d"
iuc
parents: 13
diff changeset
120 <has_text_matching expression="B\.1\.1\t\d\.\d" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
121 <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
122 <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
123 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
124 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
125 <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
126 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
127 <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
128 <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
129 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
130 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
131 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
132 <!-- 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
133 <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
134 <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
135 <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
136 <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
137 <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
138 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
139 <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
140 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
141 <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
142 <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
143 <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
144 <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
145 <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
146 <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
147 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
148 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
149 </test>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
150 </tests>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
151 <help><![CDATA[
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
152
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
153 .. class:: infomark
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
154
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
155 `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
156 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
157
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
158 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
159 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
160 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
161 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
162 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
163 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
164
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
165 ]]></help>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
166 <citations>
8
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
167 <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
168 </citations>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
169 </tool>