[BioC] Subsampling of BAM/SAM alignments

Julian Gehring julian.gehring at embl.de
Tue Mar 12 21:32:03 CET 2013


Hi,

Is there an efficient function to randomly subsample alignments from a 
BAM/SAM within R?  In the best case, an equivalent to 'FastqSampler' in 
'ShortRead'.  If not, what would be a clever way of doing this with the 
bioc framework, without having to read the whole file first?

Best wishes
Julian



More information about the Bioconductor mailing list