Hi,
Does anyone know of a good way to filter reads from a Pacbio BAM file (the Sequel data format)? I have identified some contaminant reads which I would like to remove before mapping the BAM file to my draft assembly using pbalign. I want to use Arrow, so I think it is important to keep the original BAM format for mapping (or at least I'm getting errors with Arrow after converting to FASTA and mapping that with pbalign).
Picard FilterSamReads doesn't seem to work with the Pacbio format, neither does pysam.
Cheers!
Hello,
"doesn't work" is never a good description of the problem. Please give us more details.
fin swimmer