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

Return mutations and insertions as structured data #718

Closed
JonasKellerer opened this issue Mar 28, 2024 · 1 comment · Fixed by #723
Closed

Return mutations and insertions as structured data #718

JonasKellerer opened this issue Mar 28, 2024 · 1 comment · Fixed by #723
Assignees
Labels
LAPIS Tasks/PR related to LAPIS

Comments

@JonasKellerer
Copy link
Contributor

JonasKellerer commented Mar 28, 2024

SILO now returns structured data for insertions and mutations. This should now also be returned by LAPIS. The SILO PR on insertions GenSpectrum/LAPIS-SILO#373 waits on this issue to be merged. The mutations PR is already merged (GenSpectrum/LAPIS-SILO#357).

The data looks like this:
Mutations:

{
      "count": 37,
      "mutation": "T19R",
      "mutationFrom": "T",
      "mutationTo": "R",
      "position": 19,
      "proportion": 0.38144329896907214,
      "sequenceName": "S"
 }

Insertions:

{
      "count": 5,
      "inserted_symbols": "EPE",
      "insertion": "ins_S:214:EPE",
      "position": 214,
      "sequenceName": "S"
    },
@JonasKellerer JonasKellerer added the LAPIS Tasks/PR related to LAPIS label Mar 28, 2024
@fengelniederhammer fengelniederhammer self-assigned this Mar 28, 2024
@Taepper
Copy link

Taepper commented Mar 28, 2024

inserted_symbols change to insertedSymbols for js conformity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LAPIS Tasks/PR related to LAPIS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants