fqdecontamr filters fastq files to remove reads identified as potential contaminants by decontam.
You can install the development version of fqdecontamr from GitHub with:
devtools::install_github("wilkox/fqdecontamr")
fqdecontamr requires two input files:
*.xlsx
)The main function provided by fqdecontamr is called decontaminate()
.
It takes as arguments the paths to the two input files listed above (
decontam_file
and fastq_file
), a third argument index_dir
specifying a directory in which to cache downloaded genomes and bowtie2
index files, and a fourth argument out_file
specifying where to write
the filtered fastq file. decontaminate()
returns a
tibble listing the reads that were
removed and the contaminant species to which they aligned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.