Is There A Simple Sam Viewer, That Can View Copy/Pasted Sam Formatted Alignment Info?
2
0
Entering edit mode
9.5 years ago
jnfass ▴ 30

I've got some very deep (at particular locations) BAM files, which always tends to cripple alignment viewers like IGV, tview, etc. Sometimes I want to see what a particular read's alignments look like, and while it's easy to grep those lines out of a SAM file, it's problematic to find them among the alignments in a viewer. For example, IGV allows you to search by QNAME (read ID), but it'll only find the alignments if they're displayed, which they're often not in very deep locations (because it's necessary to set a reasonable max depth in order to have decent performance).

I can grep the header and appropriate SAM lines out, convert to sorted BAM, index, then load a new track, but that gets tedious. Why shouldn't I be able to paste in a couple lines of SAM and see the alignments in the browser / viewer, immediately? Does anyone know of a viewer that has this capability?

sam bam viewer visualization • 2.8k views
ADD COMMENT
0
Entering edit mode

To clarify, I'm familiar with all of the suggested alignment viewers. What I want is to be able to paste some SAM-formatted text into an input field, and immediately see the alignment features encoded by that text.

ADD REPLY
2
Entering edit mode
9.5 years ago
SES 8.5k

Have you tried Tablet? The only negative thing I can say about Tablet is that it's difficult to google, but it will detect updates automatically and install them so you don't have go searching for it online. Two other solutions you might want to try are BamView and Samscope.

ADD COMMENT
0
Entering edit mode
9.5 years ago
madkitty ▴ 620

you can just call samtools and add view | more at the end of your code .. I think it should work

ADD COMMENT
0
Entering edit mode

I think you would want "tview" to view the alignment, "view" is for conversion, if I'm not mistaken.

ADD REPLY

Login before adding your answer.

Traffic: 2174 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6