diff dada2_removeBimeraDenovo.xml @ 7:7136e9ab70db draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dada2 commit c2f6071f729b74540354f4a9e7084c9ac468a135
author iuc
date Mon, 07 Aug 2023 01:33:57 +0000
parents 1bc3657cd694
children
line wrap: on
line diff
--- a/dada2_removeBimeraDenovo.xml	Fri Jun 30 07:55:53 2023 +0000
+++ b/dada2_removeBimeraDenovo.xml	Mon Aug 07 01:33:57 2023 +0000
@@ -33,15 +33,7 @@
     write.data( seqtab.nochim, '$stable_mergepairs', "dada2_mergepairs" )
 #end if
 
-## dada input
-if(class(unqs)=="list"){
-    unqssum<-lapply(lapply(unqs, getUniques),sum)
-    outsum<-lapply(seqtab.nochim,sum)
-    mapply(function(X,Y) { 100*X/Y }, X=nonchimsum, Y=unqssum)
-    cat("remaining nonchimeric: ", mapply(function(X,Y) { 100*X/Y }, X=nonchimsum, Y=unqssum), "%")
-}else{
-    cat("remaining nonchimeric: ", 100*sum(getUniques(seqtab.nochim))/sum(getUniques(unqs)), "%")
-}
+cat("remaining nonchimeric: ", 100*sum(getUniques(seqtab.nochim))/sum(getUniques(unqs)), "%")
     ]]></configfile>
     </configfiles>
     <inputs>