Need information on how filterAndTrim function from the DADA2 pipeline was developed
1
0
Entering edit mode
7 months ago
George • 0

Hi Everyone,

I am looking for the basic code that was compiled to build the function "filterAndTrim" from the DADA2 pipeline (https://benjjneb.github.io/dada2/tutorial.html). In the documentation for the filterAndTrim function (https://rdrr.io/bioc/dada2/man/filterAndTrim.html), it was mentioned that filterAndTrim is a multithreaded convenience interface for the fastqFilter and fastqPairedFilter filtering functions.

But, I am looking for more basic answers like

1) In what language is the basic code of this function (C++ or R)?

2) Secondly, what is the basic code of this function? I want to see how it is programmed.

Thank you.

filterAndTrim dada2 • 694 views
ADD COMMENT
0
Entering edit mode

Thank you GenoMax AND Philipp Bayer

ADD REPLY
0
Entering edit mode

I had a follow-up question, how to I redefine the same function, so that instead of giving each argument a value, I can input a iterative list of values.

for example: instead of truncLen=c(240,160), I want to input truncLen=c(forward_param,reverse_param), in which forward_param is a loop of 180, 200, 220, 240, 260 and reverse_param is also a loop of 180, 200, 220, 240, 260.

or instead of maxEE=c(2,2), I want to input maxEE=c(x,y), in which x is a loop of 1, 2, 3, 4, 5 and y is also a loop of 1, 2, 3, 4, 5.

.... so and so for each argument.

ADD REPLY
0
Entering edit mode

Please ask a separate question since this is not directly related to the original thread.

ADD REPLY
1
Entering edit mode
7 months ago
GenoMax 147k

You can find the source code links on https://www.bioconductor.org/packages/release/bioc/html/dada2.html. Scroll down to "Package archive" section.

ADD COMMENT

Login before adding your answer.

Traffic: 1870 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6