Open Frank1219 opened 3 years ago
have you try samtools fixmate?
Sorry for the late reply. I had tried but it does not work. This problem can be solved by the MergeBamAlignment command of picard software, it is used for merge uBAM and BAM file. I think if there is some other parameter like it, this problem also will be solved.
BWA-MEM command not set proper pair flag,perhaps because BWA not infer insert size characteristics. Is there some ways or tools to revise the flag value , for example revise 81 to 83, mate revise 161 to 163 ? or is there any empirical value of bwa-mem -I parameter when mapping? Thanks so much.