Skip to content

Interesting failure when creating a protein description #818

Description

@ifokkema

Describe the bug
I ran into an interesting issue while handling a variant, which seems to be linked to the predicted protein change.

When handling NC_000022.10:g.19929250_19929251insCCCCGCC, first leaving checkonly to the tx value, not requesting a protein prediction (link), the output is as expected. However, when setting checkonly to False (link), the output becomes:

{
  "error": "NP_006431.2:p.(Val26_Lys158delinsGlyArgGlyAlaGlyArgGlyAlaGlyArgSerSerArgSerAlaGlyLeuTerSerProGlyGlyArgArgGlyIleTrpTrpProGlyLeuCysGlnGlyGlyArgProAlaGlyLysGluGlyGlyArgGlyGlyLeuArgGlyThrPheSerProArgHisProValGlyProArgArgHisLeuArgGlnArgGlyLeuHisProGlnGluAlaAspAlaProGlyGlyThrAlaGlyArgProAspProArgCysProGlnLeuTrpLeuGlyGlyGlyProAlaArgAlaAlaTerLeuGluGluAspGlyArgSerCysSerLysSerArgGluIleLeuGluLeuGlyProProCysProAlaSerGlyGlnLysSerGlnValLeuTer): char 87: expected the character ')'"
}

The error suggests a problem with the generated protein description. In fact, there is, since this should be regarded as a frameshift variant and not a deletion-insertion. Besides, the inserted sequence contains several stop codons, which may be causing the error. I'm curious if this is perhaps related to the recent changes regarding the selenoproteins?

To Reproduce
See links above.

Expected behavior
Besides that the variant should be a frameshift on protein level, I expect a full API output instead of this error.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions