R/AllGenerics.R
, R/demultiplexFASTQ.R
demultiplexFASTQ.Rd
Demultiplex and tag fastq files using sample barcodes
demultiplexFASTQ(CSobject, outdir, max_mismatch = 0, ncores = 1) # S4 method for CapSet demultiplexFASTQ(CSobject, outdir, max_mismatch = 0, ncores = 1)
CSobject | CapSet object created using |
---|---|
outdir | character. path to output directory |
max_mismatch | integer. maximum allowed mismatches in the sample barcode |
ncores | integrer. No. of cores/threads to use |
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
#>#>#>#># demultiplex allowing one mismatch in sample indexes dir.create("demult_fastq")#> Warning: 'demult_fastq' already existscs <- demultiplexFASTQ(cs, outdir = "demult_fastq", max_mismatch = 1)#>#> Warning: Output files already exist! Overwriting..#> Warning: Output files already exist! Overwriting..#> Warning: Output files already exist! Overwriting..#> Warning: Output files already exist! Overwriting..