annotate pangolin.xml @ 21:81804a978fc0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
author iuc
date Sat, 07 May 2022 19:52:10 +0000
parents 14ae456b8cc5
children a2099fb98cdb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@+galaxy2" 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>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
4 <token name="@TOOL_VERSION@">4.0.5</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>
21
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
8 <requirement type="package" version="0.3.17">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
9 <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
10 </requirements>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
11 <version_command><![CDATA[pangolin --version]]></version_command>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
21
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
13 #if $str($engine.analysis_mode) == 'usher' and $engine.use_assignment_cache and str($db.source) != "download":
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
14 ## This is no good. Better to fail immediately instead of downloading a lot of data first.
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
15 echo "Using the latest assignment cache requires downloading the latest version of pangolin-data." 1>&2; exit 1
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
16 #else:
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
17 ## Sanity chceck was ok, lets do the real thing ...
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"
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
19 ## Pangolin version 4 tries to update from an existing directory
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
20 mkdir datadir &&
8
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
21 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
22 #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
23 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
24 #end if
21
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
25 #if str($engine.analysis_mode) == 'usher' and $engine.use_assignment_cache:
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
26 ## We need to install also the latest UShER assignment cache data.
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
27 ## Pangolin has functionality to do so, but uses it incorrectly.
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
28 ## We use the pangolin function to install into --datadir here,
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
29 ## then point pangolin to the downloaded file later using
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
30 ## its --assignment-cache parameter
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
31
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
32 ## Create a "honeypot" package that will be picked up by pangolin,
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
33 ## but will trigger a download because of missing __version__ info.
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
34 mkdir pangolin_assignment &&
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
35 touch pangolin_assignment/__init__.py &&
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
36 ## Call pangolin's assignment cache install function, but
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
37 ## override pip's install path
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
38 PIP_TARGET="datadir" PIP_UPGRADE=1 python -c "from pangolin.utils import update; update.install_pangolin_assignment()" &&
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
39 #end if
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
40 pangolin
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
41 --threads \${GALAXY_SLOTS:-1}
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
42 --tempdir "\${TMPDIR:-.}"
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
43 #if str($db.source) == "download" or str($db.source) == "builtin"
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
44 --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
45 #end if
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
46 --analysis-mode $engine.analysis_mode
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
47 #if str($engine.analysis_mode) == 'usher':
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
48 $engine.use_assignment_cache
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
49 #if $engine.use_assignment_cache:
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
50 ## Point pangolin to the assignment cache file we've downloaded before
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
51 --assignment-cache datadir/pangolin_assignment/usher_assignments.cache.csv.gz
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
52 #end if
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
53 #end if
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
54 #if $alignment:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
55 $alignment --alignment-file '$align1'
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
56 #end if
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
57 --outfile report.csv
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
58 --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
59 --min-length $min_length
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
60 $expanded_lineage
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
61 '$input1'
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
62 && 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
63 #if not $include_header:
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
64 | tail -n+2
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
65 #end if
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
66 > '$output1'
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
67 #end if
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
68 ]]></command>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
69 <inputs>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
70 <param type="data" name="input1" format="fasta" label="Input FASTA File(s)" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
71 <conditional name="engine">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
72 <param argument="--analysis-mode" type="select" label="Analysis mode"
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
73 help="The analysis engine to use for lineage assignment. UShER is considered more accurate, but pangoLEARN is faster">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
74 <option value="usher">UShER</option>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
75 <option value="pangolearn">pangoLEARN</option>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
76 </param>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
77 <when value="usher">
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
78 <param argument="--use-assignment-cache" type="boolean" truevalue="--use-assignment-cache" falsevalue="" label="Use latest UShER assignment cache"
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
79 help="Get the latest UShER assignment cache from the pangolin-assignment online repository and use it to speed up UShER lineage assignment. Note: Downloading the cached assignments will only pay off for large numbers of input samples. Also note that using the latest assignment cache will require you to select the 'Download latest from web' option for the pangolin-data source below because assignment cache and pangolin-data need to be synchronized." />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
80 </when>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
81 <when value="pangolearn" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
82 </conditional>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
83 <conditional name="db">
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
84 <param type="select" name="source" label="pangolin-data source" help="Where to find the pangolin-data to use for the tool run. While 'Download latest from web' is recommended, if errors occur see the warning in the main help text below.">
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
85 <option value="download">Download latest from web</option>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
86 <option value="builtin">Use cached data from Galaxy server</option>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
87 <option value="default">Use default data shipped with this build of pangolin (not recommended)</option>
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
88 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
89 <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
90 <!-- 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
91 <!-- <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
92 <!-- <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
93 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
94 <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
95 <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
96 <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
97 <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
98 <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
99 <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
100 <filter type="sort_by" column="0" />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
101 <filter type="static_value" column="2" value="4.0" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
102 <validator type="no_options" message="No cached pangolin-data release available" />
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
103 </options>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
104 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
105 </when>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
106 <when value="default" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
107 </conditional>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
108 <param argument="--alignment" type="boolean" truevalue="--alignment" falsevalue="" label="Output multiple sequence alignment of input sequences" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
109 <param argument="--max-ambig" type="float" value="0.3" min="0" max="1" label="Maximum proportion of Ns allowed" help="Maximum proportion of Ns allowed for pangolin to attempt assignment" />
20
14ae456b8cc5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 21834c24b94f942ed759bd7a2fcf0b3b4b5fd839"
iuc
parents: 19
diff changeset
110 <param argument="--min-length" type="integer" value="0" min="0" max="29903" label="Minimum query length allowed" help="Minimum query length allowed for pangolin to attempt assignment. Please note that in the current implementation this parameter is used to calculate an alternate value for the 'Maximum proportion of Ns allowed' parameter as 1-(minlen/reflen). The smaller of the two will be used." />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
111 <param argument="--expanded-lineage" type="boolean" truevalue="--expanded-lineage" falsevalue="" label="Add expanded lineage column to output" help="Optional expanded lineage information as defined in the alias.json file in pangolin-data can be appended as an additional column to the output." />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
112 <param name="include_header" type="boolean" truevalue="true" falsevalue="false" label="Include header line in output file" />
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
113 </inputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
114 <outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
115 <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
116 <actions>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
117 <conditional name="expanded_lineage">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
118 <when value="">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
119 <!-- default columns -->
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
120 <action name="column_names" type="metadata" default="taxon,lineage,conflict,ambiguity_score,scorpio_call,scorpio_support,scorpio_conflict,scorpio_notes,version,pangolin_version,scorpio_version,constellation_version,is_designated,qc_status,qc_notes,note" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
121 </when>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
122 <when value="--expanded-lineage">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
123 <action name="column_names" type="metadata" default="taxon,lineage,conflict,ambiguity_score,scorpio_call,scorpio_support,scorpio_conflict,scorpio_notes,version,pangolin_version,scorpio_version,constellation_version,is_designated,qc_status,qc_notes,note,expanded_lineage" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
124 </when>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
125 </conditional>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
126 </actions>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
127 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
128 <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
129 <filter>alignment</filter>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
130 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
131 </outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
132 <tests>
3
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="test1.fasta"/>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
135 <!-- Test only the default UShER mode for now since the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
136 pangolearn random forest model uses too much memory
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
137 see https://github.com/cov-lineages/pangolin/issues/395
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
138 <conditional name="engine">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
139 <conditional name="engine">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
140 <param name="analysis_mode" value="pangolearn" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
141 </conditional>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
142 -->
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
143 <conditional name="db">
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
144 <param name="source" value="default" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
145 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
146 <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
147 <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
148 <has_text_matching expression="B\.1\.1\t\d\.\d" />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
149 <has_text text="pass" />
4
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
150 <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
151 </assert_contents>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
152 </output>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
153 </test>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
154 <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
155 <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
156 <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
157 <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
158 </conditional>
42126b414951 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit ab174c9f8cbfc741501068dfa4f6ccf229a54489"
iuc
parents: 3
diff changeset
159 <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
160 <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
161 <has_text_matching expression="B\.1\.1.*\t\d\.\d\t*PUSHER" />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
162 <has_text text="pass" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
163 <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
164 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
165 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
166 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
167 <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
168 <param name="input1" value="test1.fasta" />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
169 <!-- Test only the default UShER mode for now since the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
170 pangolearn random forest model uses too much memory
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
171 see https://github.com/cov-lineages/pangolin/issues/395
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
172 <conditional name="engine">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
173 <param name="analysis_mode" value="pangolearn" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
174 </conditional>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
175 -->
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
176 <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
177 <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
178 </conditional>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
179 <param name="alignment" value="--alignment" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
180 <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
181 <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
182 <has_text_matching expression="B\.1\.1\t\d\.\d" />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
183 <has_text text="pass" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
184 <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
185 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
186 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
187 <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
188 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
189 <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
190 <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
191 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
192 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
193 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
194 <!-- 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
195 <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
196 <param name="input1" value="multiple_alignment.fasta.gz"/>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
197 <!-- Test only the default UShER mode for now since the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
198 pangolearn random forest model uses too much memory
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
199 see https://github.com/cov-lineages/pangolin/issues/395
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
200 <conditional name="engine">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
201 <param name="analysis_mode" value="pangolearn" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
202 </conditional>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
203 -->
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
204 <conditional name="db">
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
205 <param name="source" value="default" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
206 </conditional>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
207 <param name="include_header" value="true" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
208 <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
209 <assert_contents>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
210 <has_text text="pangolin_version" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
211 <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
212 <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
213 <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
214 <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
215 <has_n_lines n="35" />
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
216 <has_n_columns n="16" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
217 </assert_contents>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
218 </output>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
219 </test>
21
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
220 <!-- Test that use of latest assignment cache requires downloaded other data -->
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
221 <test expect_failure="true">
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
222 <param name="input1" value="multiple_alignment.fasta.gz"/>
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
223 <conditional name="engine">
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
224 <param name="use_assignment_cache" value="true" />
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
225 </conditional>
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
226 <conditional name="db">
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
227 <param name="source" value="default" />
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
228 </conditional>
81804a978fc0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 35c4813d132f69036addcc447cc6c4ec7da04d92"
iuc
parents: 20
diff changeset
229 </test>
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
230 <!-- test with extra expanded_lineage column -->
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
231 <test expect_num_outputs="1">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
232 <param name="input1" value="multiple_alignment.fasta.gz"/>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
233 <!-- Test only the default UShER mode for now since the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
234 pangolearn random forest model uses too much memory
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
235 see https://github.com/cov-lineages/pangolin/issues/395
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
236 <conditional name="engine">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
237 <param name="analysis_mode" value="pangolearn" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
238 </conditional>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
239 -->
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
240 <conditional name="db">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
241 <param name="source" value="default" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
242 </conditional>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
243 <param name="expanded_lineage" value="true" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
244 <param name="include_header" value="true" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
245 <output name="output1" ftype="tabular">
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
246 <assert_contents>
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
247 <has_text text="pangolin_version" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
248 <has_text text="lineage" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
249 <has_text text="expanded_lineage" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
250 <has_text text="Serbia" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
251 <has_text text="Poland" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
252 <has_text text="USA" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
253 <has_n_lines n="35" />
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
254 <has_n_columns n="17" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
255 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
256 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
257 </test>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
258 </tests>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
259 <help><![CDATA[
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
260
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
261 **What it does**
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
262
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
263 `Pangolin <https://cov-lineages.org/pangolin.html>`_
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
264 (Phylogenetic Assignment of Named Global Outbreak LINeages) is used to assign a
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
265 SARS-CoV-2 genome sequence the most likely lineage based on the PANGO
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
266 nomenclature system.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
267
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
268
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
269 **Data sources/versioning**
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
270
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
271 Pangolin uses the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
272 `pangolin-data <https://github.com/cov-lineages/pangolin-data>`_ repository as
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
273 a source of its required model, protobuf, designation hash and alias files, and
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
274 the `constellations <https://github.com/cov-lineages/constellations>`_
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
275 repository for `scorpio <https://github.com/cov-lineages/scorpio>`_ -based
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
276 assignment of lineages of concern.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
277 The tool ships with a copy of this data, but the data gets updated more
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
278 frequently than the tool! In general one should use the most recent model for
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
279 lineage assignment, and the default option for this tool is to download the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
280 latest versions of pangolin-data and constellations before embarking on
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
281 analysis.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
282 A pangoLEARN data manager exists so that the Galaxy admin can download specific
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
283 versions of the pangolin-data/constellations as required. Finally the pangolin
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
284 tool can use its default built-in data packages, but this is
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
285 **not recommended** as it will almost certainly be out of date.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
286
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
287 .. class:: infomark
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
288
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
289 The exact combination of pangolin, inference engine (UShER/pangoLEARN),
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
290 scorpio, and data packages used for a particular run of the tool can be
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
291 extracted from the four "version" columns in the output (see below for
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
292 details).
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
293
16
ca0d8cf80567 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit c180ed8ecef5956fb7dec68b947464b805fcea0b"
iuc
parents: 15
diff changeset
294 .. class:: warningmark
ca0d8cf80567 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit c180ed8ecef5956fb7dec68b947464b805fcea0b"
iuc
parents: 15
diff changeset
295
19
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
296 The "Download latest from web" updates the *pangolin-data* and
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
297 *constellations* packages but not the software (pangolin and scorpio) using
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
298 these data packages.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
299 If the data package format changes upstream, this can cause the tool run to
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
300 fail. Cached data packages (or, in the worst case, the built-in data) can
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
301 serve as a fallback until switching to an updated pangolin tool
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
302 version.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
303
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
304
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
305 **Output**
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
306
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
307 The main output of the tool is a tabular file with one line per input sequence
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
308 and with columns providing the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
309 `following information <https://cov-lineages.org/resources/pangolin/output.html>`_:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
310
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
311 taxon:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
312 The name of the input sequence
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
313
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
314 lineage:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
315 The most likely lineage assigned to a given sequence based on the inference
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
316 engine used and the SARS-CoV-2 diversity designated.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
317 This assignment is sensitive to missing data at key sites.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
318
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
319 conflict:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
320 In the pangoLEARN model, a given sequence gets assigned to the most likely
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
321 category based on known diversity.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
322 If a sequence can fit into more than one category, the conflict score will
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
323 be greater than 0 and reflect the number of categories the sequence could
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
324 fit into.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
325 If the conflict score is 0, this means that within the current decision
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
326 tree there is only one category that the sequence could be assigned to.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
327
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
328 ambiguity_score:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
329 This score is a function of the quantity of missing data in a sequence.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
330 It represents the proportion of relevant sites in a sequnece which were
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
331 imputed to the reference values.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
332 A score of 1 indicates that no sites were imputed, while a score of 0
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
333 indicates that more sites were imputed than were not imputed.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
334 This score only includes sites which are used by the decision tree to
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
335 classify a sequence.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
336
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
337 scorpio_call:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
338 If a query is assigned a constellation by scorpio this call is output in
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
339 this column.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
340 The full set of constellations searched by default can be found at the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
341 constellations repository.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
342
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
343 scorpio_support:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
344 The support score is the proportion of defining variants which have the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
345 alternative allele in the sequence.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
346
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
347 scorpio_conflict:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
348 The conflict score is the proportion of defining variants which have the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
349 reference allele in the sequence. Ambiguous/other non-ref/alt bases at each
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
350 of the variant positions contribute only to the denominators of these
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
351 scores.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
352
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
353 scorpio_notes:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
354 A notes column specific to the scorpio output.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
355
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
356 version:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
357 A version number that represents both the inference method and the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
358 pangolin-data version number, which as of pangolin 4.0 corresponds to the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
359 pango-designation version used to prepare the inference files. For example:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
360
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
361 PANGO-1.2 indicates an identical sequence has been previously designated
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
362 this lineage, and has so gone through manual curation.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
363 The number 1.2 indicates the version of pango-designation that this
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
364 assignment is based on. These hashes and pango-designation version are
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
365 bundled with the pangoLEARN and UShER models.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
366
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
367 PLEARN-1.2 indicates that this sequence is different from any previously
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
368 designated and that the pangoLEARN model was used as an inference engine to
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
369 predict the most likely lineage based on the given version of
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
370 pango-designation upon which the pangoLEARN model was trained.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
371
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
372 PUSHER-1.2 indicates that this sequence is different from any previously
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
373 designated and that UShER was used as an inference engine with fast tree
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
374 placement and parsimony-based lineage assignment, based on a guide tree
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
375 (protobuf) file built from the data in a given pango-designation release
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
376 version.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
377
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
378 pangolin_version:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
379 The version of pangolin software running.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
380
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
381 scorpio_version:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
382 The version of the scorpio software installed.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
383
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
384 constellation_version:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
385 The version of constellations that scorpio has used to curate the lineage
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
386 assignment.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
387
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
388 is_designated:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
389 A boolean (True/False) column indicating whether that particular sequence
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
390 has been offically designated a lineage.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
391
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
392 qc_status:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
393 Indicates whether the sequence passed the QC thresholds for minimum length
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
394 and maximum N content.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
395
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
396 qc_notes:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
397 Notes specific to the QC checks run on the sequences.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
398
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
399 note:
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
400 If any conflicts from the decision tree, this field will output the
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
401 alternative assignments. If the sequence failed QC this field will describe
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
402 why.
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
403 If the sequence met the SNP thresholds for scorpio to call a constellation,
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
404 it’ll describe the exact SNP counts of Alt, Ref and Amb (Alternative,
abf6dbe8c9d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 98c0d716cbd1237ae735ce83e0153ee246abd5d8"
iuc
parents: 18
diff changeset
405 reference and ambiguous) alleles for that call.
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
406 ]]></help>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
407 <citations>
8
3a656a4a43ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 5a3f70ab430c70b260dd6e0f5b6c53aed2ca5520"
iuc
parents: 7
diff changeset
408 <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
409 </citations>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
410 </tool>