Giter VIP home page Giter VIP logo

Comments (4)

carlomazzaferro avatar carlomazzaferro commented on May 30, 2024

Whenever using the function get_hgvs_from_vcf, variants with two entries as Alt allele (for instance https://samtools.github.io/hts-specs/VCFv4.2.pdf, 3rd and 5th variant on the vcf sample file) gain its own place in the list of variants extracted from the VCF file. This was noticed when running mv.getvariants(variant_list) and getting as output a few more variants than originally expected.

As a preview of what myvariant outputs in those instances:
{u'query': u'GTTT', u'notfound': True}
{u'query': u'CAAAAAAAAA', u'notfound': True}
{u'query': u'AGTGT', u'notfound': True}
...
{u'query': u'AGTTTT', u'notfound': True}

from myvariant.info.

newgene avatar newgene commented on May 30, 2024

Hi Mazzafish,

This should be an issue for myvariant.py repo. We have just solved this issue where an ALT column has multiple alleles. We also made some improvement on the handling of some other VCF edge cases.

from myvariant.info.

carlomazzaferro avatar carlomazzaferro commented on May 30, 2024

Awesome, I'll test it out. Thanks for the response.

from myvariant.info.

newgene avatar newgene commented on May 30, 2024

And just a note, you will need to test the latest code from myvariant.py repo, as we have not released a new version to PyPI yet.

from myvariant.info.

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.