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

Problem parsing HGVS delins #491

Closed
markwoon opened this issue May 16, 2020 · 2 comments · Fixed by #518
Closed

Problem parsing HGVS delins #491

markwoon opened this issue May 16, 2020 · 2 comments · Fixed by #518

Comments

@markwoon
Copy link
Contributor

I'm attempting to parse NC_000007.14:g.32386323_32386325delGCins, which arguably is invalid because it's missing the inserted sequence, but the parser is seeing the GC as the inserted sequence.

Running:

HGVSParser hgvsParser = new HGVSParser();
SingleAlleleNucleotideVariant variant = (SingleAlleleNucleotideVariant)
  hgvsParser.parseHGVSString("NC_000007.14:g.32386323_32386325delGCins");
System.out.println(variant.getChange().toHGVSString());

Produces: 32386323_32386325delinsGC

Which is definitely wrong.

@holtgrewe
Copy link
Member

Thanks for reporting. I'll look into this, I don't expect a too complex fix.

@holtgrewe
Copy link
Member

That was an easy fix after all, cf. #518.

This issue was closed.
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 a pull request may close this issue.

2 participants