comparison pangolin.xml @ 6:437e28791761 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pangolin commit f53dc92d3cf6997da9ad21f01ad3fd3477aae068"
author iuc
date Wed, 07 Jul 2021 09:24:31 +0000
parents 42a174224817
children 7bb8726be37c
comparison
equal deleted inserted replaced
5:42a174224817 6:437e28791761
1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@+galaxy0" profile="20.01"> 1 <tool id="pangolin" name="Pangolin" version="@TOOL_VERSION@+galaxy1" profile="20.01">
2 <description>Phylogenetic Assignment of Outbreak Lineages</description> 2 <description>Phylogenetic Assignment of Outbreak Lineages</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">3.1.4</token> 4 <token name="@TOOL_VERSION@">3.1.4</token>
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
7 <requirement type="package" version="@TOOL_VERSION@">pangolin</requirement> 7 <requirement type="package" version="@TOOL_VERSION@">pangolin</requirement>
8 <requirement type="package" version="0.22.0">csvtk</requirement> 8 <requirement type="package" version="0.22.0">csvtk</requirement>
9 </requirements> 9 </requirements>
10 <command detect_errors="exit_code"><![CDATA[ 10 <command detect_errors="exit_code"><![CDATA[
11 #if str($db.source) == "download" 11 #if str($db.source) == "download"
12 python '$__tool_directory__/fetch_latest_pangolearn.py' && 12 python '$__tool_directory__/fetch_latest_pangolearn.py' --max_retries=$db.max_retries --timeout=$db.timeout &&
13 #else if str($db.source) == "builtin" 13 #else if str($db.source) == "builtin"
14 ln -s $db.db_release.fields.path datadir && 14 ln -s $db.db_release.fields.path datadir &&
15 #end if 15 #end if
16 pangolin 16 pangolin
17 --threads \${GALAXY_SLOTS:-1} 17 --threads \${GALAXY_SLOTS:-1}
49 <option value="download">Download latest from web</option> 49 <option value="download">Download latest from web</option>
50 <option value="builtin">Use database from Galaxy server</option> 50 <option value="builtin">Use database from Galaxy server</option>
51 <option value="default">Use default database built in to pangolin (not recommended)</option> 51 <option value="default">Use default database built in to pangolin (not recommended)</option>
52 </param> 52 </param>
53 <when value="download"> 53 <when value="download">
54 <param name="max_retries" label="Max download retries" help="How many times to retry downloading the pangoLEARN database" type="integer" value="5" />
55 <param name="timeout" label="Download timeout" help="How many seconds to wait when downloading the pangoLEARN database" type="float" value="60.0" />
54 </when> 56 </when>
55 <when value="builtin"> 57 <when value="builtin">
56 <param name="db_release" label="pangoLEARN release" type="select"> 58 <param name="db_release" label="pangoLEARN release" type="select">
57 <options from_data_table="pangolearn"> 59 <options from_data_table="pangolearn">
58 <column name="value" index="0" /> 60 <column name="value" index="0" />
169 <has_text text="USA" /> 171 <has_text text="USA" />
170 <has_n_lines n="35" /> 172 <has_n_lines n="35" />
171 </assert_contents> 173 </assert_contents>
172 </output> 174 </output>
173 </test> 175 </test>
176 <test expect_failure="true">
177 <param name="input1" value="test1.fasta" />
178 <conditional name="db">
179 <param name="source" value="download" />
180 <param name="timeout" value="0.00001" />
181 <param name="max_retries" value="1" />
182 </conditional>
183 <assert_stderr>
184 <has_text text="timed out" />
185 </assert_stderr>
186 </test>
174 </tests> 187 </tests>
175 <help><![CDATA[ 188 <help><![CDATA[
176 189
177 .. class:: infomark 190 .. class:: infomark
178 191