Description Usage Arguments Author(s)
View source: R/functions_bioinformatics.R
This function executes QC (fastp), merges paired reads (pear), and maps the reads to the reference (BWA). This external software needs to be installed manually and needs to be addressable from the terminal.
1 2 3 | AlleleProfileR.preprocess(files, index, method.qc = "fastp",
params.qc = "", method.merge = "pear", params.merge = "-v 10",
method.map = "bwa", subset = NULL)
|
files |
Vector with files. Output of AlleleProfileR.read.folders |
index |
Path to the .fa file containing the reference genome. |
method.qc |
Method for conducting QC on raw reads. Currently only fastp is implemented. Use 'none' to skip this step. |
params.qc |
Additional parameters for conducting QC on raw reads. |
method.merge |
Method for merging paired reads. Currently only pear and fastq-join are implemented. |
params.merge |
Additional parameters for merging paired reads |
method.map |
Method for mapping reads to reference. Currently only BWA is implemented. |
subset |
Vector with the indices of the entries that should be processed. Default is NULL, all entries will be analyzed. |
Arne Bruyneel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.