annotate macros.xml @ 18:feb40665d7cd draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit e72bef3964ce9d0c52ef2713d177684dfbee4cfb
author iuc
date Wed, 31 Aug 2022 16:40:29 +0000
parents 07ab9bd68a02
children 128ba8da994f
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 -->
17
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
3 <token name="@TOOL_VERSION@">2.4.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
17
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
28 <token name="@QUERY_FASTA@"><![CDATA[
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
29 #if $input_fasta.is_of_type('fasta.gz')
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
30 #set $query = 'query.fa.gz'
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
31 #else
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
32 #set $query = 'query.fa'
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
33 #end if
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
34 ln -s '$input_fasta' $query &&
07ab9bd68a02 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents: 16
diff changeset
35 ]]></token>
0
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
36 <!--
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
37 inputs
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
38 -->
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
39
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
40 <xml name="reference">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
41 <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
42 <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
43 <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
44 <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
45 </param>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
46 <when value="cached">
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="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
48 <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
49 <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
50 </options>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
51 <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
52 </param>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
53 </when>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
54 <when value="history">
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
55 <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
56 </when>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
57 </conditional>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
58 </xml>
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 <!--
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
61 help
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
62 -->
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
63 <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
64 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
65 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
66 ]]></token>
615f484bdb4a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff changeset
67
7
f6db3ce6ed1c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c033be45890203e175aa92a26da0d1510f1d1472"
iuc
parents: 5
diff changeset
68 </macros>