filter_bam_by_name
(read_name_list
, bamfile
, output
, included
=True
)
Filter the bam by read name
:param str read_name_list: read name list, could be names include or exclude
:param str bamfile: bam
:param str output: output bam file
:param bool included: whether the read names in the read name list should be included in the output bamfile or excluded in the output bamfile