Entering edit mode
4.4 years ago
liang795
▴
10
Hi Guys
Would bamcoverage only calculate read-pairs if any pair maps to unique locations? As I my bam files were generated with multiple mappings, but for visualization I only want unique mapping locations. Does bamcoverage have this option?
Thanks!
You can try the bamCoverage options
--minMappingQuality
,--samFlagInclude
or--samFlagExclude
to take into account only unique properly paired reads. How to set these parameters will probably depend on the program and arguments you used for mapping.How can i specify the SAM file flag NH=1 into option --samFlagInclude? what is the SAM flag code for this?