comparison macros.xml @ 0:d1dd7d1b07f6 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
author iuc
date Thu, 08 Apr 2021 07:52:26 +0000
parents
children 74d1e42a87e0
comparison
equal deleted inserted replaced
-1:000000000000 0:d1dd7d1b07f6
1 <macros>
2 <token name="@TOOL_VERSION@">0.1.6</token>
3 <xml name="requirements">
4 <requirements>
5 <yield/>
6 </requirements>
7 </xml>
8 <xml name="citations">
9 <citations>
10 <citation type="bibtex">@online{nextclade,
11 title={nextclade},
12 year = 2021,
13 url = {https://github.com/nextstrain/nextclade},
14 urldate = {2021-03-26}
15 }
16 </citation>
17 <yield />
18 </citations>
19 </xml>
20
21 <!--
22 command
23 -->
24 <token name="@REF_FASTA@"><![CDATA[
25 #if $reference_source.reference_source_selector == 'history':
26 ln -f -s '$reference_source.ref_file' reference.fa &&
27 #else:
28 ln -f -s '$reference_source.ref_file.fields.path' reference.fa &&
29 #end if
30 ]]></token>
31
32 <!--
33 inputs
34 -->
35
36 <xml name="reference">
37 <conditional name="reference_source">
38 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
39 <option value="cached">Use a built-in genome</option>
40 <option value="history">Use a genome from history</option>
41 </param>
42 <when value="cached">
43 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
44 <options from_data_table="all_fasta">
45 <filter type="sort_by" column="2"/>
46 </options>
47 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
48 </param>
49 </when>
50 <when value="history">
51 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence" help="You can upload a FASTA sequence to the history and use it as reference"/>
52 </when>
53 </conditional>
54 </xml>
55
56 <!--
57 help
58 -->
59 <token name="@NEXTCLADE@"><![CDATA[
60 Nextclade is a tool that identifies differences between your sequences and a reference sequence, uses these differences to assign your sequences to clades, and reports potential sequence quality issues in your data.
61 You can use the tool to analyze sequences before you upload them to a database, or if you want to assign Nextstrain clades to a set of sequences.
62 ]]></token>
63
64 </macros>