How to filter on CIGAR string or soft/hard clipping? · Issue #813 · samtools/samtools

Q1. I am looking for a way to remove SAM alignments that have too much soft or hard clipping. eg. a 150bp read with 30S80M40S I can't seem to find a way to do it with tools from the samtools toolki...