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.
samtools tview [-p chr:pos] [-s STR] [-d display] <in.sorted.bam> [ref.fasta]
Options:
-d display
Output as (H)tml or (C)urses or (T)ext
-p chr:pos
Go directly to this position
-s STR
Display only alignments from this sample or read group