annotate pangolin.xml @ 3:514a786baaa9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
author iuc
date Wed, 19 May 2021 13:32:34 +0000
parents f557122d379e
children 42126b414951
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@+galaxy1" profile="20.01">
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
2 <description>Phylogenetic Assignment of Outbreak Lineages</description>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
3 <macros>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">2.3.8</token>
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>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
8 <requirement type="package" version="0.22.0">csvtk</requirement>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
9 </requirements>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
11 #if str($db.source) == "download"
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
12 python '$__tool_directory__/fetch_latest_pangolearn.py' &&
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
13 #else if str($db.source) == "builtin"
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
14 ln -s $db.db_release.fields.path datadir &&
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
15 #end if
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
16 pangolin
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
17 --threads \${GALAXY_SLOTS:-1}
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
18 #if str($db.source) == "download" or str($db.source) == "builtin"
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
19 --datadir 'datadir'
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
20 #end if
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
21 $alignment
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
22 --outfile report.csv
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
23 --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
24 --min-length $min_length
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
25 '$input1'
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
26 && 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
27 #if not $include_header:
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
28 | tail -n+2
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
29 #end if
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
30 > '$output1'
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
31 #if $alignment
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
32 && mv sequences.aln.fasta '$align1'
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
33 #end if
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
34 ]]></command>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
35 <inputs>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
36 <param type="data" name="input1" format="fasta" label="Input FASTA File(s)" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
37 <param name="alignment" type="boolean" label="Generate output alignment"
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
38 truevalue="--alignment" falsevalue="" />
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
39 <param argument="--max-ambig" type="float" label="Maximum proportion of Ns allowed"
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
40 value="0.5" min="0" max="1" help="Maximum proportion of Ns allowed for pangolin to attempt assignment" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
41 <param argument="--min-length" type="integer" label="Minimum query length allowed"
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
42 value="10000" min="0" help="Minimum query length allowed for pangolin to attempt assignment"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
43 <param name="include_header" type="boolean" label="Include header line in output file"
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
44 truevalue="true" falsevalue="false" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
45 <conditional name="db">
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
46 <param type="select" name="source" label="pangoLEARN source" help="Where to find the pangoLEARN database">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
47 <option value="download">Download latest from web</option>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
48 <option value="builtin">Use database from Galaxy server</option>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
49 <option value="default">Use default database built in to pangolin (not recommended)</option>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
50 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
51 <when value="download">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
52 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
53 <when value="builtin">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
54 <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
55 <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
56 <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
57 <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
58 <column name="path" index="3" />
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
59 <filter type="sort_by" column="0"/>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
60 </options>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
61 </param>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
62 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
63 <when value="default">
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
64 </when>
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
65 </conditional>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
66 </inputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
67 <outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
68 <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
69 <actions>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
70 <action name="column_names" type="metadata" default="taxon,lineage,probability,pangoLEARN_version,status,note" />
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
71 </actions>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
72 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
73 <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
74 <filter>alignment</filter>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
75 </data>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
76 </outputs>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
77 <tests>
3
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
78 <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
79 <param name="input1" value="test1.fasta"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
80 <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
81 <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
82 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
83 <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
84 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
85 <has_text text="B.1.1" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
86 <has_text text="passed_qc" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
87 <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
88 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
89 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
90 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
91 <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
92 <param name="alignment" value="--alignment" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
93 <param name="input1" value="test1.fasta" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
94 <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
95 <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
96 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
97 <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
98 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
99 <has_text text="B.1.1" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
100 <has_text text="passed_qc" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
101 <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
102 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
103 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
104 <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
105 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
106 <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
107 <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
108 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
109 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
110 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
111 <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
112 <param name="input1" value="test1.fasta"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
113 <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
114 <param name="source" value="builtin" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
115 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
116 <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
117 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
118 <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
119 <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
120 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
121 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
122 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
123 <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
124 <param name="input1" value="multiple_alignment.fasta.gz"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
125 <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
126 <param name="source" value="builtin" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
127 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
128 <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
129 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
130 <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
131 <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
132 <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
133 <has_n_lines n="34" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
134 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
135 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
136 </test>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
137 <!-- 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
138 <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
139 <param name="input1" value="multiple_alignment.fasta.gz"/>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
140 <param name="include_header" value="true" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
141 <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
142 <param name="source" value="builtin" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
143 </conditional>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
144 <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
145 <assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
146 <has_text text="pangoLEARN_version" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
147 <has_text text="lineage" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
148 <has_text text="Serbia" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
149 <has_text text="Poland" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
150 <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
151 <has_n_lines n="35" />
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
152 </assert_contents>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
153 </output>
514a786baaa9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit e4e6f491964a162964882db4e53e36803ceaab9e"
iuc
parents: 1
diff changeset
154 </test>
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
155 </tests>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
156 <help><![CDATA[
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
157
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
158 .. class:: infomark
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
159
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
160 `Pangolin <https://cov-lineages.org/pangolin.html>`_ (Phylogenetic Assignment of Named Global Outbreak LINeages)
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
161 is used to assign a SARS-CoV-2 genome sequence the most likely lineage based on the PANGO nomenclature system.
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
162
1
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
163 Pangolin uses the `pangoLEARN <https://github.com/cov-lineages/pangoLEARN>`_ stored model for lineage assignment. This
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
164 model is updated more frequently than the pangolin tool is. In general one should use the most recent model for lineage
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
165 assignment, and the default option for this tool is to download the latest version of the model before the pangolin
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
166 tool runs. A pangoLEARN data manager exists so that the Galaxy admin can download specific versions of the pangoLEARN
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
167 model as required. Finally the pangolin tool can use its default built-in model, but this is **not recommended** as the
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
168 default model rapidly becomes out of date.
f557122d379e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit 1522bdb834ffab157d1ca25e6e74db21f62e3aae"
iuc
parents: 0
diff changeset
169
0
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
170 ]]></help>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
171 <citations>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
172 <citation type="bibtex">
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
173 @misc{githubpangolin,
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
174 author = {O'Toole, Áine},
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
175 year = {2020},
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
176 title = {pangolin},
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
177 publisher = {GitHub},
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
178 journal = {GitHub repository},
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
179 url = {https://github.com/cov-lineages/pangolin},
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
180 }</citation>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
181 </citations>
0ec813ad2910 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff changeset
182 </tool>