Code Monkey home page Code Monkey logo

Comments (4)

jpdna avatar jpdna commented on September 23, 2024

So one solution is to make
https://github.com/bigdatagenomics/bdg-formats/blob/master/src/main/resources/avro/bdg.avdl#L961
union { null, int} dbsnp = null
instead, so it acts as both a flag and a value. Is that a good solution?
Though that might be untrue to the reserved VCF key...

from bdg-formats.

jpdna avatar jpdna commented on September 23, 2024

Perhaps it is better to have an ID field in VariantAnnotation which is a string, that could capture whatever was in the ID field (3rd column) of the VCF field, and for dbSNP we would keep the "rs" prefix as that defines and accessioning space.

Or - are we sure this should be in VariantAnnotation rather than a String field in Variant?

from bdg-formats.

fnothaft avatar fnothaft commented on September 23, 2024

Perhaps it is better to have an ID field in VariantAnnotation which is a string, that could capture whatever was in the ID field (3rd column) of the VCF field, and for dbSNP we would keep the "rs" prefix as that defines and accessioning space.

I would +1 that.

Or - are we sure this should be in VariantAnnotation rather than a String field in Variant?

I personally like it more in VariantAnnotation but I can grok why it is a good fit in Variant. I'd love to hear other people's thoughts.

from bdg-formats.

heuermh avatar heuermh commented on September 23, 2024

from bdg-formats.

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.