Skip to content

module nh_filter.py

Filter alignments in a SAM file by NH tag.

For each alignment, check its NH tag, and if the value is higher than the one specified in --max_nh, the aligned read is removed.


function parse_arguments

parse_arguments()

Parse command-line arguments.


function main

main(arguments)  None

Filter alignments by its NH tag value.