Open mmiladi opened 5 years ago
Are you using a minimap2 with -ax map-ont settings? And did you remove the secondary and supplementary alignments?
marginStats presently works with primary alignments only (and with -ax map-ont setting). If you do use chaining within marginStats it does the cleaning up of the sam file itself.
Hope this is useful.
Thanks much for pointing this out. No I had not excluded the secondary alignments as default was -N=5. About the minimap2 I used -x splice -k 14 -uf
, wouldn't -x map-ont
run a splice-unaware alignment?
If you do use chaining within marginStats it does the cleaning up of the sam file itself.
Is the chaining an option of the marginStats binary?
Yes, marginAlign can chain the alignments to the most contiguous alignment per read. Presently, this only works with the splice unaware alignments (-ax map-ont). Chaining and realignment are enabled by default. You can use --noChain and --noRealign to turn one or both of them off independently.
When measuring stats for splice-aware alignments, I instead use a trancriptome reference at this point and use that along with splice unaware alignments.
The ability to compute stats in splice aware alignments is under development atm.
Hello,
I am trying to use marginStats to collect alignment stats from minimap2 aligned data of a direct RNA sample, this error is reported: