bl_sam_buff_alignment_ok(3)

NAME
bl_sam_buff_alignment_ok() - Verify alignment quality

LIBRARY
#include <biolibc/sam-buff.h>
-lbiolibc -lxtend

SYNOPSIS
bool    bl_sam_buff_alignment_ok(bl_sam_buff_t *sam_buff,
bl_sam_t *sam_alignment)

ARGUMENTS
sam_buff    Pointer to bl_sam_buff_t structure with quality specs
sam_alignment   Pointer to new alignment

DESCRIPTION
Verify that an alignment meets the quality requirements for the given SAM buffer. Each bl_sam_buff_t structure contains specifications for minimum quality scores as well as statistics on alignments checked, including the number of discarded alignments and a sum of the alignment scores (for calculating the average score of discarded alignments).

RETURN VALUES
true if the alignment meets the quality requirements false otherwise

SEE ALSO
bl_sam_buff_check_order(3)