def check_header(in_bam, rgnames, ref_file, config):
    """Ensure passed in BAM header matches reference file and read groups names.
    """
    _check_bam_contigs(in_bam, ref_file, config)
    _check_sample(in_bam, rgnames)
def check_header ( in_bam , rgnames , ref_file , config ) : _check_bam_contigs ( in_bam , ref_file , config ) _check_sample ( in_bam , rgnames )
Ensure passed in BAM header matches reference file and read groups names.