Fork me on GitHub

samtools下tview命令详解

tview官方帮助文档

samtools   tview   [-p chr:pos]   [-s STR]   [-d display]   in.sorted.bam   [ref.fasta]

Text alignment viewer (based on the ncurses library). In the viewer, press ‘?’ for help and press ‘g’ to check the alignment start from a region in the format like ‘chr10:10,000,000’ or ‘=10,000,000’ when viewing the same reference sequence.

Options:

-ddisplayOutput as (H)tml or (C)urses or (T)ext
-pchr:posGo directly to this position
-s*STRDisplay only alignments from this sample or read group

示例

1
samtools tview -p chr1:10439 *.bam ucsc.hg19.fasta

samtools-tview

viewer参数

?This window
ArrowsSmall scroll movement
h,j,k,lSmall scroll movement
H,J,K,LLarge scroll movement
ctrl-HScroll 1k left
ctrl-LScroll 1k right
spaceScroll one screen
backspaceScroll back one screen
gGo to specific location
mColor for mapping qual
nColor for nucleotide
bColor for base quality
cColor for cs color
zColor for cs qual
.Toggle on/off dot view
sToggle on/off ref skip
rToggle on/off rd name
NTurn on nt view
CTurn on cs view
iToggle on/off ins
vInverse video
qExit

Underline: Secondary or orphan
Blue: 0-9 Green: 10-19
Yellow: 20-29 White: >=30

坚持原创技术分享,您的支持将鼓励我继续创作!