This function takes a barcode list and snap file as input and quickly extract reads belonging to the given barcodes.
extractReads(barcodes, files, do.par = TRUE, num.cores = 1)
A vector contains the selected barcodes.
A vector contains the snap file that barcodes belong to.
A logic variable indicates weather to run this in parallel with multiple processors.
Number of processors to use.
Returns A GenomicRanges object that contains the reads