annotate macros.xml @ 6:1e0234b87809 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 475d00042b5ec4216fa1e5f52e3ec0cf25c67707"
author iuc
date Sat, 25 Sep 2021 18:18:54 +0000
parents 0c46b95d60c3
children f6db3ce6ed1c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
1 <macros>
5
0c46b95d60c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit b565283c946796dfb3f613f52db6008d234ecedb"
iuc
parents: 0
diff changeset
2 <!-- same version number is used for nextclade and nextalign releases, even though they are distinct tools -->
0c46b95d60c3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit b565283c946796dfb3f613f52db6008d234ecedb"
iuc
parents: 0
diff changeset
3 <token name="@TOOL_VERSION@">1.3.0</token>
0
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
4 <xml name="citations">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
5 <citations>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
6 <citation type="bibtex">@online{nextclade,
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
7 title={nextclade},
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
8 year = 2021,
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
9 url = {https://github.com/nextstrain/nextclade},
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
10 urldate = {2021-03-26}
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
11 }
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
12 </citation>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
13 <yield />
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
14 </citations>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
15 </xml>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
16
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
17 <!--
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
18 command
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
19 -->
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
20 <token name="@REF_FASTA@"><![CDATA[
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
21 #if $reference_source.reference_source_selector == 'history':
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
22 ln -f -s '$reference_source.ref_file' reference.fa &&
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
23 #else:
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
24 ln -f -s '$reference_source.ref_file.fields.path' reference.fa &&
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
25 #end if
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
26 ]]></token>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
27
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
28 <!--
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
29 inputs
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
30 -->
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
31
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
32 <xml name="reference">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
33 <conditional name="reference_source">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
34 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
35 <option value="cached">Use a built-in genome</option>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
36 <option value="history">Use a genome from history</option>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
37 </param>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
38 <when value="cached">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
39 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
40 <options from_data_table="all_fasta">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
41 <filter type="sort_by" column="2"/>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
42 </options>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
43 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
44 </param>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
45 </when>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
46 <when value="history">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
47 <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"/>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
48 </when>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
49 </conditional>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
50 </xml>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
51
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
52 <!--
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
53 help
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
54 -->
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
55 <token name="@NEXTCLADE@"><![CDATA[
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
56 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.
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
57 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.
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
58 ]]></token>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
59
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
60 </macros>