Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[I/O] Small fix when reading field::cigar and changing the alignment default fields. #1642

Merged
merged 3 commits into from
Apr 24, 2020

Commits on Apr 21, 2020

  1. [FIX] Enable too-large-cigar checks when reading field::cigar.

    If the cigar string matches ‘kSmN’ the cigar was larger then 65535 operations
    and was stored in the optional CG tag of the sam_tag_dictionary.
    Before this fix, the cigar string was only checked if the field::alignment was read.
    smehringer committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    3ed9d68 View commit details
    Browse the repository at this point in the history
  2. [FIX] I/O: Prefer CIGAR information over alignment information in SAM…

    …/BAM.
    
    The alignment cannot represent hard clipping, resulting in information
    loss when reading and writing SAM/BAM files if the alignment field is
    preferred over the cigar field.
    smehringer committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    61c42ea View commit details
    Browse the repository at this point in the history
  3. [FIX] I/O: Add seqan::field::cigar to the default fields.

    Set for seqan3::alignment_file_input and seqan3::alignment_file_output.
    smehringer committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    50b60aa View commit details
    Browse the repository at this point in the history