Repository 'nextclade'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/nextclade

Changeset 1:0f20ed06ed6c (2021-04-27)
Previous changeset 0:615f484bdb4a (2021-04-26) Next changeset 2:6cd62b6d2b5c (2021-05-20)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nextclade commit fd2b9ee5fee733c61c5db0618de96d19261dcb79"
modified:
nextclade.xml
b
diff -r 615f484bdb4a -r 0f20ed06ed6c nextclade.xml
--- a/nextclade.xml Mon Apr 26 19:10:28 2021 +0000
+++ b/nextclade.xml Tue Apr 27 11:10:56 2021 +0000
b
@@ -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>