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!
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 leavingcheckonlyto thetxvalue, not requesting a protein prediction (link), the output is as expected. However, when settingcheckonlytoFalse(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!