GithubHelp home page GithubHelp logo

Comments (7)

simonbrent avatar simonbrent commented on May 28, 2024

I don't really understand what you're trying to do.

from genoverse.

alisha2468 avatar alisha2468 commented on May 28, 2024

from genoverse.

simonbrent avatar simonbrent commented on May 28, 2024

I'm afraid that isn't really possible at this time. I would recommend creating a back-end process that reads the VCF and outputs data as required by Genoverse.Track.Graph.Bar, but that won't really help with the drag and drop use case.

from genoverse.

alisha2468 avatar alisha2468 commented on May 28, 2024

from genoverse.

simonbrent avatar simonbrent commented on May 28, 2024

Not really...you'll need a VCF parser (like bcftools), a web server written in the language of your choice which
a) can accept VCF uploads/extract data from URLs where VCFs are stored
b) has an endpoint that extracts data from a VCF for a region it and returns a JSON array where each entry is in the form { chr: 1, start: 100, end: 100, height: 5 } // height = the number of variants found at that location

from genoverse.

alisha2468 avatar alisha2468 commented on May 28, 2024

Hi Simon,
I tried parsing the VCF but it does not work when extended from Graph.Bar or Graph.Line but works otherwise. Any idea why that is happening?

from genoverse.

alisha2468 avatar alisha2468 commented on May 28, 2024

Hi Simon, its working now and i am able to view the histograms as well. Any tips on smoothening the histograms? i am currently trying d3.js. Any inputs would be appreciated!

from genoverse.

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.