Hi, all. I am using `samtools view .bam  [region]` to extract all reads overlapping the region. I find some reads with INDEL and I want to filter them, only getting the reads with no INDEL. Which samtools options I should use? 
Isn't it enough to keep reads without I or D operator in the cigar? For this you can use awk like:

    samtools view -h in.bam chr1:12340-200000 \
    | awk '$1 ~ "^@" || $6 !~ "I|D"' \
    | samtools view -b - > out.bam 