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

Fix cram_dependent_data_series when FN is used. #1314

Closed

Commits on Aug 5, 2021

  1. Fix cram_dependent_data_series when FN is used.

    If we get into the primary loop of cram_decode_seq, iterating over
    feature (count FN) then we have unguarded code that always checks for
    sequence overlapping the reference.  To do this, seq_pos must be set.
    Some data series we know how seq_pos is adjusted irrespective of
    whether we decode, eg BS is always +1, but others are strings and the
    only way we know how to update seq_pos is to decode them.
    
    Hence added FN as having a dependency on SC, IN and BB.
    
    Fixes samtools/samtools#1475
    jkbonfield committed Aug 5, 2021
    Configuration menu
    Copy the full SHA
    81cb0dd View commit details
    Browse the repository at this point in the history