Closed melop closed 7 years ago
Sorry this slipped through the cracks. Yes, bwa aln only sets proper pair for FR direction. When I was at the Broad, we used to flip the reads of mate pair libs prior to alignment because of this. It is computing the insert size based only on the "proper pairs", which you can see from above is only ~1% of your mapped reads.
Hello,
I mapped my mate pairs with the old BWA algorithm (that is, first producing two sai files for each mate then combined into a sam). The reason is because BWA mem is not recommended for reads <70bp, which is the case for mate pair reads.
However it seems that BWA only sets the "properly paired" flag for the FR orientation, which are actually "improper" for MP libraries. I am wondering whether pilon is affected by this, and whether it will automatically detect the orientation of the library?
In the log is sounded like Pilon identified 100% of the reads to be in the FR direction, and the insert size was not correctly inferred, which doesn't seem to make sense:
Best Regards, Ray