diff dada2_makeSequenceTable.xml @ 1:9ccec6ed8e82 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dada2 commit a82e4981dac025c909244acd7127c215bdb519a7"
author iuc
date Thu, 05 Dec 2019 18:00:38 -0500
parents 6e0946238688
children 99c6929236fa
line wrap: on
line diff
--- a/dada2_makeSequenceTable.xml	Fri Nov 08 18:49:57 2019 -0500
+++ b/dada2_makeSequenceTable.xml	Thu Dec 05 18:00:38 2019 -0500
@@ -15,7 +15,7 @@
 @WRITE_FOO@
 
 library(dada2, quietly=T)
-#if $plot == "yes"
+#if $plot
 library(ggplot2, quietly=T)
 #end if
 
@@ -29,7 +29,7 @@
 reads.per.seqlen <- tapply(colSums(seqtab), factor(nchar(getSequences(seqtab))), sum)
 df <- data.frame(length=as.numeric(names(reads.per.seqlen)), count=reads.per.seqlen)
 
-#if $plot == "yes"
+#if $plot
 pdf( '$plot_output' )
 ggplot(data=df, aes(x=length, y=count)) +
     geom_col() +
@@ -75,8 +75,8 @@
     <tests>
         <test expect_num_outputs="2">
             <param name="samples" ftype="dada2_mergepairs" value="mergePairs_F3D0.Rdata"/>
-            <output name="stable" value="makeSequenceTable_F3D0.tab" ftype="dada2_sequencetable" lines_diff="2"/>
-            <output name="plot_output" value="makeSequenceTable_F3D0.pdf" ftype="pdf" />
+			<output name="stable" value="makeSequenceTable_F3D0.tab" ftype="dada2_sequencetable" lines_diff="2"/>
+            <output name="plot_output" value="makeSequenceTable_F3D0.pdf" ftype="pdf" compare="sim_size" delta="3000" />
         </test>
         <test expect_num_outputs="1">
             <param name="samples" ftype="dada2_mergepairs" value="mergePairs_F3D0.Rdata"/>