Mercurial > repos > iuc > nextalign
annotate macros.xml @ 16:aadc5d8099e2 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:25:55 +0000 |
parents | 41102a84e387 |
children |
rev | line source |
---|---|
0
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
1 <macros> |
2
74d1e42a87e0
"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 --> |
15
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
3 <token name="@TOOL_VERSION@">2.7.0</token> |
0
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
4 <xml name="citations"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
5 <citations> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
6 <citation type="bibtex">@online{nextclade, |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
7 title={nextclade}, |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
8 year = 2021, |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
9 url = {https://github.com/nextstrain/nextclade}, |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
10 urldate = {2021-03-26} |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
11 } |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
12 </citation> |
15
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
13 <yield/> |
0
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
14 </citations> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
15 </xml> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
16 <!-- |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
17 command |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
18 --> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
19 <token name="@REF_FASTA@"><![CDATA[ |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
20 #if $reference_source.reference_source_selector == 'history': |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
21 ln -f -s '$reference_source.ref_file' reference.fa && |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
22 #else: |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
23 ln -f -s '$reference_source.ref_file.fields.path' reference.fa && |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
24 #end if |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
25 ]]></token> |
14
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
26 <token name="@QUERY_FASTA@"><![CDATA[ |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
27 #if $input_fasta.is_of_type('fasta.gz') |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
28 #set $query = 'query.fa.gz' |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
29 #else |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
30 #set $query = 'query.fa' |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
31 #end if |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
32 ln -s '$input_fasta' $query && |
4d93e708218c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 2c63aeec74c260ccd9b2cdbbe1869bef2f3d5cda
iuc
parents:
13
diff
changeset
|
33 ]]></token> |
0
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
34 <!-- |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
35 inputs |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
36 --> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
37 <xml name="reference"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
38 <conditional name="reference_source"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
39 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
40 <option value="cached">Use a built-in genome</option> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
41 <option value="history">Use a genome from history</option> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
42 </param> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
43 <when value="cached"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
44 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
45 <options from_data_table="all_fasta"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
46 <filter type="sort_by" column="2"/> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
47 </options> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
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"/> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
49 </param> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
50 </when> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
51 <when value="history"> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
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"/> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
53 </when> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
54 </conditional> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
55 </xml> |
16
aadc5d8099e2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
15
diff
changeset
|
56 <xml name="xrefs"> |
aadc5d8099e2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
15
diff
changeset
|
57 <xrefs> |
aadc5d8099e2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
15
diff
changeset
|
58 <xref type="bio.tools">nextclade</xref> |
aadc5d8099e2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
15
diff
changeset
|
59 </xrefs> |
aadc5d8099e2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit bc6ba57599c6516bd728e7311ba0a53188622edf
iuc
parents:
15
diff
changeset
|
60 </xml> |
0
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
61 <!-- |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
62 help |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
63 --> |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
64 <token name="@NEXTCLADE@"><![CDATA[ |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
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. |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
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. |
d1dd7d1b07f6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit 66df2726d24d9f37eaaa31fea967a0553cc5c3e6"
iuc
parents:
diff
changeset
|
67 ]]></token> |
15
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
68 <xml name="column_metadata" tokens="dataset_name" token_extra_columns=""> |
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
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 --> |
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
70 <!-- note that the tool is assuming that the dataset columns remain static: this might be an incorrect assumption in the future --> |
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
71 <when value="@DATASET_NAME@"> |
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
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"/> |
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
73 </when> |
41102a84e387
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c41319b6593caa0a11835f5e8bc48b1f1e316ff8
iuc
parents:
14
diff
changeset
|
74 </xml> |
4
d82fc956ab4d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit c033be45890203e175aa92a26da0d1510f1d1472"
iuc
parents:
2
diff
changeset
|
75 </macros> |