comparison nextclade.xml @ 1:0f20ed06ed6c draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit fd2b9ee5fee733c61c5db0618de96d19261dcb79"
author iuc
date Tue, 27 Apr 2021 11:10:56 +0000
parents 615f484bdb4a
children 6cd62b6d2b5c
comparison
equal deleted inserted replaced
0:615f484bdb4a 1:0f20ed06ed6c
1 <tool id="nextclade" name="Nextclade" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT"> 1 <tool id="nextclade" name="Nextclade" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT">
2 <description></description> 2 <description></description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 <token name="@TOOL_VERSION@">0.14.2</token> 5 <token name="@TOOL_VERSION@">0.14.2</token>
6 <token name="@VERSION_SUFFIX@">0</token> 6 <token name="@VERSION_SUFFIX@">1</token>
7 </macros> 7 </macros>
8 <requirements> 8 <requirements>
9 <requirement type="package" version="@TOOL_VERSION@">nextclade_js</requirement> 9 <requirement type="package" version="@TOOL_VERSION@">nextclade_js</requirement>
10 </requirements> 10 </requirements>
11 <command detect_errors="exit_code"><![CDATA[ 11 <command detect_errors="exit_code"><![CDATA[
12 nextclade 12 nextclade
13 --input-fasta '${input_fasta}' 13 --input-fasta '${input_fasta}'
14 #if $outputs and "report_tsv" in $outputs 14 #if $outputs and "report_tsv" in $outputs
15 --output-tsv '${report_tsv}' 15 --output-tsv report.tsv
16 #end if 16 #end if
17 #if $outputs and "report_json" in $outputs 17 #if $outputs and "report_json" in $outputs
18 --output-json '${report_json}' 18 --output-json '${report_json}'
19 #end if 19 #end if
20 #if $outputs and "output_tree" in $outputs 20 #if $outputs and "output_tree" in $outputs
35 #end if 35 #end if
36 #if $adv.input_pcr_primers 36 #if $adv.input_pcr_primers
37 --input-pcr-primers '${adv.input_pcr_primers}' 37 --input-pcr-primers '${adv.input_pcr_primers}'
38 #end if 38 #end if
39 #end if 39 #end if
40 #if $outputs and "report_tsv" in $outputs
41 && tail -n-1 report.tsv >'$report_tsv'
42 #end if
40 ]]></command> 43 ]]></command>
41 <inputs> 44 <inputs>
42 <param argument="--input-fasta" name="input_fasta" type="data" format="fasta" label="SARS-CoV-2 consensus sequences (FASTA)" /> 45 <param argument="--input-fasta" name="input_fasta" type="data" format="fasta" label="SARS-CoV-2 consensus sequences (FASTA)" />
43 <param name="outputs" type="select" label="Output options" help="Output reports and optionally tree" multiple="true"> 46 <param name="outputs" type="select" label="Output options" help="Output reports and optionally tree" multiple="true">
44 <option value="report_json">JSON format report</option> 47 <option value="report_json">JSON format report</option>
60 <when value="no"> 63 <when value="no">
61 </when> 64 </when>
62 </conditional> 65 </conditional>
63 </inputs> 66 </inputs>
64 <outputs> 67 <outputs>
65 <data name="report_tsv" format="tabular" label="${tool.name} on ${on_string} (TSV report)"> 68 <data name="report_tsv" format="tabular" label="${tool.name} on ${on_string} (TSV report)">
66 <filter>outputs and "report_tsv" in outputs</filter> 69 <filter>outputs and "report_tsv" in outputs</filter>
70 <actions>
71 <action name="column_names" type="metadata" default="seqName,clade,qc.overallScore,qc.overallStatus,totalGaps,totalInsertions,totalMissing,totalMutations,totalNonACGTNs,totalPcrPrimerChanges,substitutions,deletions,insertionsmissing,nonACGTNs,pcrPrimerChanges,aaSubstitutions,totalAminoacidSubstitutions,aaDeletions,totalAminoacidDeletions,alignmentEnd,alignmentScore,alignmentStart,qc.missingData.miss
72 ingDataThreshold,qc.missingData.score,qc.missingData.status,qc.missingData.totalMissing,qc.mixedSites.mixedSitesThreshold,qc.mixedSites.score,qc.mixedSites.status,qc.mixedSit
73 es.totalMixedSites,qc.privateMutations.cutoff,qc.privateMutations.excess,qc.privateMutations.score,qc.privateMutations.status,qc.privateMutations.total,qc.snpClusters.clus
74 teredSNPs,qc.snpClusters.score,qc.snpClusters.status,qc.snpClusters.totalSNPs,errors" />
75 </actions>
67 </data> 76 </data>
68 <data name="report_json" format="json" label="${tool.name} on ${on_string} (JSON report)"> 77 <data name="report_json" format="json" label="${tool.name} on ${on_string} (JSON report)">
69 <filter>outputs and "report_json" in outputs</filter> 78 <filter>outputs and "report_json" in outputs</filter>
70 </data> 79 </data>
71 <data name="output_tree" format="json" label="${tool.name} on ${on_string} (Auspice v2 tree)"> 80 <data name="output_tree" format="json" label="${tool.name} on ${on_string} (Auspice v2 tree)">
76 <test expect_num_outputs="1"> 85 <test expect_num_outputs="1">
77 <param name="input_fasta" value="sarscov2_1.fasta" ftype="fasta" /> 86 <param name="input_fasta" value="sarscov2_1.fasta" ftype="fasta" />
78 <param name="outputs" value="report_tsv" /> 87 <param name="outputs" value="report_tsv" />
79 <output name="report_tsv"> 88 <output name="report_tsv">
80 <assert_contents> 89 <assert_contents>
90 <has_n_columns n="41" />
81 <has_text text="20A" /> 91 <has_text text="20A" />
82 </assert_contents> 92 </assert_contents>
83 </output> 93 </output>
84 </test> 94 </test>
85 <test expect_num_outputs="3"> 95 <test expect_num_outputs="3">
86 <param name="input_fasta" value="sarscov2_1.fasta" ftype="fasta" /> 96 <param name="input_fasta" value="sarscov2_1.fasta" ftype="fasta" />
87 <param name="outputs" value="report_tsv,report_json,output_tree" /> 97 <param name="outputs" value="report_tsv,report_json,output_tree" />
88 <output name="report_tsv"> 98 <output name="report_tsv">
89 <assert_contents> 99 <assert_contents>
100 <has_n_columns n="41" />
90 <has_text text="20A" /> 101 <has_text text="20A" />
91 </assert_contents> 102 </assert_contents>
92 </output> 103 </output>
93 <output name="report_json"> 104 <output name="report_json">
94 <assert_contents> 105 <assert_contents>
108 <param name="advanced_options" value="yes" /> 119 <param name="advanced_options" value="yes" />
109 <param name="input_qc_config" value="strict_qc.json" ftype="json" /> 120 <param name="input_qc_config" value="strict_qc.json" ftype="json" />
110 </conditional> 121 </conditional>
111 <output name="report_tsv"> 122 <output name="report_tsv">
112 <assert_contents> 123 <assert_contents>
124 <has_n_columns n="41" />
113 <has_text text="mediocre" /> 125 <has_text text="mediocre" />
114 </assert_contents> 126 </assert_contents>
115 </output> 127 </output>
116 </test> 128 </test>
117 </tests> 129 </tests>