Entering edit mode
4.2 years ago
Juke34
8.9k
Hello everyone,
For fun I made this little online tool to visualise the alignment of a read in SAM format. It does not require to have the reference. It can maybe have some utility for some of you.
See here: https://juke34.github.io/SamReadViewer/sam2view.html
nice! maybe point out that you need the MD field to be correct. doesn't it?
Yes it mentioned on the tool page.
This utility makes it easy to visualise a read alignment against its reference without the reference. Indeed the reference is re-created based on the CIGAR string + the MD tag.
But maybe it is not clear enough.
The tool give also a warning if the MD tag is missing.
ah great! I only read your biostars post :-)
very useful little tool btw!
Thx, I was hoping so but I start to doubt according to the really few feedback I got (from twitter and here)
Thx, I was hoping so but I start to doubt according to the really few feedback I got (from twitter and here)
I have coded a subroutine to rebuild the ref. from the CIGAR+MD using htslib, never again! I reuse that code over and over. I would have loved your tool when I was developing my code, it would have saved me a lot of time. I am sure a programmer will enjoy it in the future ;-)
The code itself to build the ref from CIGAR+MD is from minimap2. So all the credits should go to the minimap2 developers ^^.