demultiplexFASTQ: Demultiplex and tag fastq files using sample barcodes

Description Usage Arguments Value Examples

Description

Demultiplex and tag fastq files using sample barcodes

Usage

1
2
3
4
demultiplexFASTQ(CSobject, outdir, max_mismatch = 0, ncores = 1)

## S4 method for signature 'CapSet'
demultiplexFASTQ(CSobject, outdir, max_mismatch = 0, ncores = 1)

Arguments

CSobject

CapSet object created using newCapSet function

outdir

character. path to output directory

max_mismatch

integer. maximum allowed mismatches in the sample barcode

ncores

integrer. No. of cores/threads to use

Value

de-multiplxed fastq files corresponding to each barcode. The files are written on disk with the corresponding sample names as specified in the CapSet object

Examples

1
2
3
4
5
6
# load a previously saved CapSet object
cs <- exampleCSobject()

# demultiplex allowing one mismatch in sample indexes
dir.create("demult_fastq")
cs <- demultiplexFASTQ(cs, outdir =  "demult_fastq", max_mismatch = 1)

icetea documentation built on Nov. 8, 2020, 6:57 p.m.