Mercurial > repos > iuc > nextclade
annotate macros.xml @ 20:4f6349228462 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
author | iuc |
---|---|
date | Thu, 14 Mar 2024 13:26:08 +0000 |
parents | 128ba8da994f |
children |
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 --> |
19
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
3 <token name="@TOOL_VERSION@">2.7.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> |
19
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
13 <yield/> |
0
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 command |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
18 --> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
19 <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
|
20 #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
|
21 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
|
22 #else: |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
23 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
|
24 #end if |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
25 ]]></token> |
17
07ab9bd68a02
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
16
diff
changeset
|
26 <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
|
27 #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
|
28 #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
|
29 #else |
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' |
07ab9bd68a02
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
16
diff
changeset
|
31 #end if |
07ab9bd68a02
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
16
diff
changeset
|
32 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
|
33 ]]></token> |
0
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
34 <!-- |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
35 inputs |
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 <xml name="reference"> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
38 <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
|
39 <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
|
40 <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
|
41 <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
|
42 </param> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
43 <when value="cached"> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
44 <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
|
45 <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
|
46 <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
|
47 </options> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
48 <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
|
49 </param> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
50 </when> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
51 <when value="history"> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
52 <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
|
53 </when> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
54 </conditional> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
55 </xml> |
20
4f6349228462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
19
diff
changeset
|
56 <xml name="xrefs"> |
4f6349228462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
19
diff
changeset
|
57 <xrefs> |
4f6349228462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
19
diff
changeset
|
58 <xref type="bio.tools">nextclade</xref> |
4f6349228462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
19
diff
changeset
|
59 </xrefs> |
4f6349228462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
19
diff
changeset
|
60 </xml> |
0
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
61 <!-- |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
62 help |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
63 --> |
615f484bdb4a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 52ba8fbf88f6c92b2811ace30ebd091b0800057a"
iuc
parents:
diff
changeset
|
64 <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
|
65 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
|
66 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
|
67 ]]></token> |
19
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
68 <xml name="column_metadata" tokens="dataset_name" token_extra_columns=""> |
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
69 <!-- the columns in use are dependent on the dataset (i.e. database) - and extra columns seem to always be added in the same place --> |
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
70 <!-- note that the tool is assuming that the dataset columns remain static: this might be an incorrect assumption in the future --> |
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
71 <when value="@DATASET_NAME@"> |
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
72 <action name="column_names" type="metadata" default="seqName,clade,@EXTRA_COLUMNS@qc.overallScore,qc.overallStatus,totalSubstitutions,totalDeletions,totalInsertions,totalFrameShifts,totalAminoacidSubstitutions,totalAminoacidDeletions,totalAminoacidInsertions,totalMissing,totalNonACGTNs,totalPcrPrimerChanges,substitutions,deletions,insertions,privateNucMutations.reversionSubstitutions,privateNucMutations.labeledSubstitutions,privateNucMutations.unlabeledSubstitutions,privateNucMutations.totalReversionSubstitutions,privateNucMutations.totalLabeledSubstitutions,privateNucMutations.totalUnlabeledSubstitutions,privateNucMutations.totalPrivateSubstitutions,frameShifts,aaSubstitutions,aaDeletions,aaInsertions,missing,nonACGTNs,pcrPrimerChanges,alignmentScore,alignmentStart,alignmentEnd,coverage,qc.missingData.missingDataThreshold,qc.missingData.score,qc.missingData.status,qc.missingData.totalMissing,qc.mixedSites.mixedSitesThreshold,qc.mixedSites.score,qc.mixedSites.status,qc.mixedSites.totalMixedSites,qc.privateMutations.cutoff,qc.privateMutations.excess,qc.privateMutations.score,qc.privateMutations.status,qc.privateMutations.total,qc.snpClusters.clusteredSNPs,qc.snpClusters.score,qc.snpClusters.status,qc.snpClusters.totalSNPs,qc.frameShifts.frameShifts,qc.frameShifts.totalFrameShifts,qc.frameShifts.frameShiftsIgnored,qc.frameShifts.totalFrameShiftsIgnored,qc.frameShifts.score,qc.frameShifts.status,qc.stopCodons.stopCodons,qc.stopCodons.totalStopCodons,qc.stopCodons.score,qc.stopCodons.status,isReverseComplement,failedGenes,warnings,errors"/> |
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
73 </when> |
128ba8da994f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
17
diff
changeset
|
74 </xml> |
7
f6db3ce6ed1c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c033be45890203e175aa92a26da0d1510f1d1472"
iuc
parents:
5
diff
changeset
|
75 </macros> |