Skip to content

Conversation

@hannespetur
Copy link
Member

Fixes a rare bug encountered in graphtyper genotype. Happens if an ambigous IUPAC base (R/W/...) occurs on the reference genome and is followed by series of SNPs are the very next base. In this case Variant::add_base_in_front() returns false and an N is added to the SNP series, but by mistake the position isn't adjusted.

}
}
var.add_base_in_front(true); // Add N

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual bugfix, rest is some clang-tidy warnings.

@hannespetur hannespetur merged commit fb97028 into DecodeGenetics:v2.7.2 Jun 1, 2021
@hannespetur hannespetur mentioned this pull request Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant