Giter Site home page Giter Site logo

Comments (10)

northwestwitch avatar northwestwitch commented on August 16, 2024 1

The issue seems to be that that key simply say which of the sub-populations had the highest frequency. And then gnomADg_AF_popmax specify the frequency for that sub group.

I see, but then let's fix it so it grabs the value only if it's a number! I'll open a PR!

from scout.

northwestwitch avatar northwestwitch commented on August 16, 2024

nfe as non-finnish europeans? And why does it take the place of a number? I'm going to look to their repo 🤔

from scout.

Jakob37 avatar Jakob37 commented on August 16, 2024

nfe as non-finnish europeans? And why does it take the place of a number? I'm going to look to their repo 🤔

I think "nfe" refers to a subgroup within gnomad (afr is another I have seen - african). You are probably right - non-finnish europeans. The issue seems to be that that key simply say which of the sub-populations had the highest frequency. And then gnomADg_AF_popmax specify the frequency for that sub group.

from scout.

northwestwitch avatar northwestwitch commented on August 16, 2024

I was wondering which values gave error for instance in the demo app, so I've added a warning message for debugging and I saw this:

image

Perhaps we should try to collect numbers present within parenthesis

from scout.

Jakob37 avatar Jakob37 commented on August 16, 2024

Perhaps we should try to collect numbers present within parenthesis

Hmm. I guess it depends on where that deleterious(0) value is produced. Often better to error than ending up with unexpected and unwanted values, if not part of the "standard format". Do you know how your Gnomad values are inserted into the VCF? I don't think we have these values (i.e. deleterious(0)) in our data.

In our case we (long before I started working at CMD) have prepared the Gnomad data in an indexed file. This is inserted directly on matching variants using VEP's -custom flag.

1       10108   rs62651026      CAACCCT C       46514.3 RF      AF=0.00100908;nhomalt=0;popmax=afr;AF_popmax=0.0035461
1       10109   rs376007522     AACCCT  A       89837.3 RF      AF=0.0641892;nhomalt=0;popmax=amr;AF_popmax=0.1

from scout.

Jakob37 avatar Jakob37 commented on August 16, 2024

I think the keys "popmax" and "AF_popmax" are selected by us here. Would be nice to be able to continue using them for a bit longer though.

Soon we will transition to Gnomad 4 where they call things "grpmax" though instead of "popmax". That is probably something you will see / already have seen as well.

from scout.

northwestwitch avatar northwestwitch commented on August 16, 2024

Do you know how your Gnomad values are inserted into the VCF? I don't think we have these values (i.e. deleterious(0)) in our data.

I have no idea, it's very old data and perhaps current cases don't have that format any more. You see those error warnings only with a recent scout version because of this relatively new change in transcript parsing. I'm still not sure it's a bug, but all those error message are annoying for sure..

from scout.

northwestwitch avatar northwestwitch commented on August 16, 2024

Soon we will transition to Gnomad 4 where they call things "grpmax" though instead of "popmax". That is probably something you will see / already have seen as well.

No problem, we can add the keys!

from scout.

Jakob37 avatar Jakob37 commented on August 16, 2024

I have no idea, it's very old data and perhaps current cases don't have that format any more. You see those error warnings only with a recent scout version because of this relatively new #4456 in transcript parsing. I'm still not sure it's a bug, but all those error message are annoying for sure..

OK, I'll have to look a bit more that the code to understand what is going on I think.

It seems to me that Scout is picking the wrong value to try getting the max population frequency, which means we end up with no value there. If so, just skipping them would not fix the issue.

I'll check a bit closer. Will be back ...

from scout.

Jakob37 avatar Jakob37 commented on August 16, 2024

Aha, or I see, it is perhaps just trying to add the group name in addition to the frequencies. Then the change makes sense. I'll test the PR!

from scout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.