The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

GenOO::Data::File::SAM::CigarAndMDZ - Role that combines SAM CIGAR string with MD:Z tag

SYNOPSIS

This role when consumed requires specific attributes and provides
methods to extract information from the CIGAR string in combination
with the MD:Z tag.

DESCRIPTION

The cigar string does not usually contain information regarding the deletions.
For this the MD:Z tag is usually provided. Combining the CIGAR information with
the MD:Z tag we can extract information such as for example the deletion positions
on the query sequence.

EXAMPLES

# Get the location information on the reference sequence
$obj_with_role->mismatch_positions_on_query_calculated_from_mdz;   # (10, 19)