Mercurial > repos > iuc > pangolin
annotate pangolin.xml @ 0:0ec813ad2910 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
author | iuc |
---|---|
date | Mon, 12 Apr 2021 20:31:42 +0000 |
parents | |
children | f557122d379e |
rev | line source |
---|---|
0
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@" profile="20.01"> |
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[ |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
11 pangolin |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
12 --threads \${GALAXY_SLOTS:-1} |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
13 $alignment |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
14 --outfile report.csv |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
15 --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
|
16 --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
|
17 '$input1' |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
18 && csvtk csv2tab report.csv | tail -n-1 >'$output1' |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
19 #if $alignment |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
20 && 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
|
21 #end if |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
22 ]]></command> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
23 <inputs> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
24 <param type="data" name="input1" format="fasta" label="Input FASTA File(s)" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
25 <param name="alignment" type="boolean" label="Generate output alignment" |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
26 truevalue="--alignment" falsevalue="" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
27 <param argument="--max-ambig" type="float" label="Maximum proportion of Ns allowed" |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
28 value="0.5" min="0" max="1" help="Maximum proportion of Ns allowed for pangolin to attempt assignment" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
29 <param argument="--min-length" type="integer" label="Minimum query length allowed" |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
30 value="10000" min="0" help="Minimum query length allowed for pangolin to attempt assignment"/> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
31 </inputs> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
32 <outputs> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
33 <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
|
34 <actions> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
35 <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
|
36 </actions> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
37 </data> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
38 <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
|
39 <filter>alignment</filter> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
40 </data> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
41 </outputs> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
42 <tests> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
43 <test expect_num_outputs="1"> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
44 <param name="input1" value="test1.fasta"/> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
45 <output name="output1" file="result1.tsv" ftype="tabular" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
46 </test> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
47 <test expect_num_outputs="2"> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
48 <param name="alignment" value="--alignment" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
49 <param name="input1" value="test1.fasta" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
50 <output name="output1" file="result1.tsv" ftype="tabular" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
51 <output name="align1" file="aln1.fasta" ftype="fasta" /> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
52 </test> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
53 </tests> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
54 <help><![CDATA[ |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
55 |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
56 .. class:: infomark |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
57 |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
58 `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
|
59 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
|
60 |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
61 ]]></help> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
62 <citations> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
63 <citation type="bibtex"> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
64 @misc{githubpangolin, |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
65 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
|
66 year = {2020}, |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
67 title = {pangolin}, |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
68 publisher = {GitHub}, |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
69 journal = {GitHub repository}, |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
70 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
|
71 }</citation> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
72 </citations> |
0ec813ad2910
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit aca98a23e13f05dd076a203e73f43ca90e349e21"
iuc
parents:
diff
changeset
|
73 </tool> |