Hello,

I have some .bam files that I want to filter  to exclude reads from all but one 
library.
I do this via:

samtools view -bh -l <libary_to_keep> <input.bam> > <output.bam>

However, when I run Picard ValidateSamFile.jar the original files don't show 
any errors, but the resulting files show the error:

## HISTOGRAM    java.lang.String
Error Type      Count
ERROR:MATE_NOT_FOUND    106297180

Could anyone tell me why this is happening, whether this is a real problem and 
what I could to against it?

I am using SAMtools/1.3.1

Many thanks,
Hannes



-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to