Mercurial > repos > iuc > nextclade
changeset 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 |
files | nextclade.xml |
diffstat | 1 files changed, 15 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/nextclade.xml Mon Apr 26 19:10:28 2021 +0000 +++ b/nextclade.xml Tue Apr 27 11:10:56 2021 +0000 @@ -3,7 +3,7 @@ <macros> <import>macros.xml</import> <token name="@TOOL_VERSION@">0.14.2</token> - <token name="@VERSION_SUFFIX@">0</token> + <token name="@VERSION_SUFFIX@">1</token> </macros> <requirements> <requirement type="package" version="@TOOL_VERSION@">nextclade_js</requirement> @@ -12,7 +12,7 @@ nextclade --input-fasta '${input_fasta}' #if $outputs and "report_tsv" in $outputs - --output-tsv '${report_tsv}' + --output-tsv report.tsv #end if #if $outputs and "report_json" in $outputs --output-json '${report_json}' @@ -37,6 +37,9 @@ --input-pcr-primers '${adv.input_pcr_primers}' #end if #end if + #if $outputs and "report_tsv" in $outputs + && tail -n-1 report.tsv >'$report_tsv' + #end if ]]></command> <inputs> <param argument="--input-fasta" name="input_fasta" type="data" format="fasta" label="SARS-CoV-2 consensus sequences (FASTA)" /> @@ -62,8 +65,14 @@ </conditional> </inputs> <outputs> - <data name="report_tsv" format="tabular" label="${tool.name} on ${on_string} (TSV report)"> + <data name="report_tsv" format="tabular" label="${tool.name} on ${on_string} (TSV report)"> <filter>outputs and "report_tsv" in outputs</filter> + <actions> + <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 + ingDataThreshold,qc.missingData.score,qc.missingData.status,qc.missingData.totalMissing,qc.mixedSites.mixedSitesThreshold,qc.mixedSites.score,qc.mixedSites.status,qc.mixedSit + es.totalMixedSites,qc.privateMutations.cutoff,qc.privateMutations.excess,qc.privateMutations.score,qc.privateMutations.status,qc.privateMutations.total,qc.snpClusters.clus + teredSNPs,qc.snpClusters.score,qc.snpClusters.status,qc.snpClusters.totalSNPs,errors" /> + </actions> </data> <data name="report_json" format="json" label="${tool.name} on ${on_string} (JSON report)"> <filter>outputs and "report_json" in outputs</filter> @@ -78,6 +87,7 @@ <param name="outputs" value="report_tsv" /> <output name="report_tsv"> <assert_contents> + <has_n_columns n="41" /> <has_text text="20A" /> </assert_contents> </output> @@ -87,6 +97,7 @@ <param name="outputs" value="report_tsv,report_json,output_tree" /> <output name="report_tsv"> <assert_contents> + <has_n_columns n="41" /> <has_text text="20A" /> </assert_contents> </output> @@ -110,6 +121,7 @@ </conditional> <output name="report_tsv"> <assert_contents> + <has_n_columns n="41" /> <has_text text="mediocre" /> </assert_contents> </output>