# HG changeset patch
# User matthias
# Date 1559060195 14400
# Node ID 2eaa365afe7b4641a7dafe19244e45010a4108f9
# Parent e09edc2b553ac0d6ae540a92997370d0196ffdf0
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/topic/dada2/tools/dada2 commit a54770771e567c7ad8a9dd75cc4689c3935ef11c
diff -r e09edc2b553a -r 2eaa365afe7b README.md
--- a/README.md Mon May 27 13:23:38 2019 -0400
+++ b/README.md Tue May 28 12:16:35 2019 -0400
@@ -11,7 +11,7 @@
Datatypes
=========
-The dada2 Galaxy wrappers use a few extra data types to ensure that only inputs of the correct type can be used.
+The dada2 Galaxy wrappers use a few extra data types to ensure that only inputs of the correct type can be used, these datatypes are available from Galaxy release 19.05, for earlier releases they need to be added manually.
For the outputs of derep, dada, learnErrors, and mergePairs the following datatypes are used that derive from Rdata (which contains the named list that is returned from the corresponding dada function):
@@ -35,5 +35,4 @@
TODOs
=====
-- implememt getUniques tool to view intermediate results?
-- implement tests for cached reference data
+- implement getUniques tool to view intermediate results?
diff -r e09edc2b553a -r 2eaa365afe7b dada2_filterAndTrim.xml
--- a/dada2_filterAndTrim.xml Mon May 27 13:23:38 2019 -0400
+++ b/dada2_filterAndTrim.xml Tue May 28 12:16:35 2019 -0400
@@ -53,13 +53,13 @@
filt.fwd <- NULL
filt.rev <- NULL
#if $paired_cond.paired_select == "paired"
- fwd <- c(fwd, '$paired_cond.paired_reads.forward')
- rev <- c(rev, '$paired_cond.paired_reads.reverse')
+ fwd <- c(fwd, '$paired_cond.reads.forward')
+ rev <- c(rev, '$paired_cond.reads.reverse')
filt.fwd <- c(filt.fwd, '$paired_output.forward')
filt.rev <- c(filt.rev, '$paired_output.reverse')
#else if $paired_cond.paired_select == "separate"
- fwd <- c(fwd, '$paired_cond.forward')
- rev <- c(rev, '$paired_cond.reverse')
+ fwd <- c(fwd, '$paired_cond.reads')
+ rev <- c(rev, '$paired_cond.sdaer')
filt.fwd <- c(filt.fwd, '$output_fwd')
filt.rev <- c(filt.rev, '$output_rev')
#else
@@ -73,34 +73,12 @@
truncQ = truncQ, truncLen = truncLen, trimLeft = trimLeft, trimRight = trimRight, maxLen = maxLen,
minLen = minLen, maxN = maxN, minQ = minQ, maxEE = maxEE, rm.phix = $rmPhiX, orient.fwd = '$orientFwd')
-#if $paired_cond.paired_select == "separate":
- rownames(ftout) <- c( '$paired_cond.forward.element_identifier' )
-#else if $paired_cond.paired_select == "paired"
- rownames(ftout) <- c( '$paired_cond.paired_reads.element_identifier' )
-#else:
- rownames(ftout) <- c( '$paired_cond.reads.element_identifier' )
-#end if
+rownames(ftout) <- c( '$paired_cond.reads.element_identifier' )
write.table(ftout, "$outtab", quote=F, sep="\t", col.names=NA)
]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -119,16 +97,16 @@
-
+ paired_cond['paired_select'] == "paired"paired_cond['paired_select'] == "single"
-
+
paired_cond['paired_select'] == "separate"
-
+
paired_cond['paired_select'] == "separate"
@@ -136,12 +114,12 @@
-
-
+
-
+
@@ -158,8 +136,8 @@
-
-
+
+
@@ -201,12 +179,12 @@
-
-
+
-
+
@@ -237,7 +215,7 @@
Usage
.....
-**Input** is a FASTQ dataset (or a pair in case of paired end data) containing all reads of a sample. It is suggested to organize them in a (paired) collection (in particular if you have multiple samples).
+**Input** is a FASTQ dataset (or a pair in case of paired end data) containing all reads of a sample. It is suggested to organize them in a (paired) collection (in particular if you have multiple samples).
**Output** is a (paired) collection of filtered and trimmed paired FASTQ datasets (again one data set or pair per sample).
diff -r e09edc2b553a -r 2eaa365afe7b macros.xml
--- a/macros.xml Mon May 27 13:23:38 2019 -0400
+++ b/macros.xml Tue May 28 12:16:35 2019 -0400
@@ -26,7 +26,7 @@
dada2_derep,dada2_dada,dada2_mergepairs
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -69,7 +89,7 @@
-
+
diff -r e09edc2b553a -r 2eaa365afe7b test-data/dada2_species.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/dada2_species.loc Tue May 28 12:16:35 2019 -0400
@@ -0,0 +1,10 @@
+# This is a sample file distributed with Galaxy that is used to define a
+# list of dada2 reference data sets for species assignment, using three
+# tab separated columns:
+#
+#
+#
+# Datasets can be retrieved from http://busco.ezlab.org/frame_wget.html
+#
+# Datasets can be retrieved from https://benjjneb.github.io/dada2/training.html
+test_buildid test_displayname ${__HERE__}/reference_species.fa
diff -r e09edc2b553a -r 2eaa365afe7b test-data/dada2_taxonomy.loc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/dada2_taxonomy.loc Tue May 28 12:16:35 2019 -0400
@@ -0,0 +1,10 @@
+# This is a sample file distributed with Galaxy that is used to define a
+# list of dada2 reference data sets for taxonomy assignment, using three
+# tab separated columns:
+#
+#
+#
+# Datasets can be retrieved from https://benjjneb.github.io/dada2/training.html
+#
+# taxlevels is a comma separated list of taxonomy levels
+test_buildid test_displayname ${__HERE__}/reference.fa Level1,Level2,Level3,Level4,Level5
diff -r e09edc2b553a -r 2eaa365afe7b test-data/qualityProfile.pdf
Binary file test-data/qualityProfile.pdf has changed
diff -r e09edc2b553a -r 2eaa365afe7b test-data/qualityProfileMultiple.pdf
Binary file test-data/qualityProfileMultiple.pdf has changed
diff -r e09edc2b553a -r 2eaa365afe7b test-data/qualityProfileMultiple_rev.pdf
Binary file test-data/qualityProfileMultiple_rev.pdf has changed
diff -r e09edc2b553a -r 2eaa365afe7b test-data/qualityProfileSmallSample.pdf
Binary file test-data/qualityProfileSmallSample.pdf has changed
diff -r e09edc2b553a -r 2eaa365afe7b test-data/qualityProfile_rev.pdf
Binary file test-data/qualityProfile_rev.pdf has changed
diff -r e09edc2b553a -r 2eaa365afe7b tool_data_table_conf.xml.test
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_data_table_conf.xml.test Tue May 28 12:16:35 2019 -0400
@@ -0,0 +1,11 @@
+
+
+