samtools view description
Samtools view extract or print all or sub alignments in SAM or BAM format. If no region is specified, all the alignments will be printed; otherwise only alignments overlapping the specified regions will be output. An alignment may be given multiple times if it is overlapping several regions.
Parent program: samtools
SAMTools provide various utilities for manipulating alignments in the SAM format, including sorting, merging, indexing and generating alignments in a per-position format. It is very convinient for handling reads mapped to reference genome. Normally SAMtools is used in intermediate step between raw read mapping and SNP or variants callingm, because it allows to effeciently store mapped reads.