comparison macros.xml @ 0:373c1735d31f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
author iuc
date Thu, 11 Aug 2022 13:50:37 +0000
parents
children 9f1660129403
comparison
equal deleted inserted replaced
-1:000000000000 0:373c1735d31f
1 <?xml version="1.0"?>
2 <macros>
3 <token name="@TOOL_VERSION@">0.2</token>
4 <token name="@VERSION_SUFFIX@">0</token>
5 <token name="@PROFILE@">21.01</token>
6 <xml name="biotools">
7 <xrefs>
8 <xref type="bio.tools">cojac</xref>
9 </xrefs>
10 </xml>
11 <xml name="requirements">
12 <requirements>
13 <requirement type="package" version="@TOOL_VERSION@">cojac</requirement>
14 <yield/>
15 </requirements>
16 </xml>
17 <xml name="version">
18 <version_command>echo @TOOL_VERSION@</version_command>
19 </xml>
20 <xml name="vocdir_input">
21 <conditional name="vocdir_option">
22 <param name="choice" type="select"
23 label="Source of YAML files with definition of the variant of concerns"
24 help="Cojac ships with a directory with variant definitions yaml files (https://github.com/cbg-ethz/cojac/tree/master/voc), which the tool can access internally. You can also download the latest version of the yaml files from https://github.com/phe-genomics/variant_definitions and use it as a custom yamls defining the variant of concerns.">
25 <option value="cache">Definitions shipped with the tool (can be outdated)</option>
26 <option value="custom">From history</option>
27 </param>
28 <when value="cache"/>
29 <when value="custom">
30 <param name="voc_file" type="data" format="yaml" multiple="true"
31 label="YAML defining the variant of concern"/>
32 </when>
33 </conditional>
34 </xml>
35 <token name="@VOCDIR_COMMAND@"><![CDATA[
36 #if $vocdir_option.choice == 'custom'
37 #set vocdir = 'voc/'
38 #set file_paths1 = []
39 mkdir -p voc &&
40 #for $input_file in $voc_file
41 #set $file_path = $vocdir + $input_file.element_identifier
42 ln -s '$input_file' '$file_path' &&
43 $file_paths1.append($file_path)
44 #end for
45 #else
46 DB_PATH="\$(dirname "\$(dirname "\$(which cooc-mutbamscan)")")/share/cojac" &&
47 ln -s "\$DB_PATH" db &&
48 #set $vocdir = 'db/voc'
49 #end if
50 ]]></token>
51 <token name="@HELP_HEADER@"><![CDATA[
52 What it does
53 ============
54
55 The cojac package comprises a set of command-line tools to analyse co-occurrence of mutations on amplicons. It is useful, for example, for early detection of viral variants of concern (e.g. Alpha, Delta, Omicron) in environmental samples, and has been designed to scan for multiple SARS-CoV-2 variants in wastewater samples.
56 ]]></token>
57 <xml name="citations">
58 <citations>
59 <citation type="doi">10.1101/2021.01.08.21249379</citation>
60 </citations>
61 </xml>
62 </macros>