Giter Club home page Giter Club logo

Comments (3)

eweitz avatar eweitz commented on June 15, 2024 1

Option to draw brush with the initial position such as brush: "chr:start-stop"

This is implemented in the new v0.15.0 release. See Brush for an example.

from ideogram.

eweitz avatar eweitz commented on June 15, 2024

@6br, thanks for these feature requests. I'll give your proposals a closer look once I'm done expanding support for cytobands (#83), likely within a few weeks.

In the meantime, if you could describe use cases for these potential enhancements, that would help me prioritize my work. I also accept pull requests!

from ideogram.

6br avatar 6br commented on June 15, 2024

@eweitz, thanks for your reply!

My use cases are following.

  • To select genomic variations in human:

In this case, annotations mean genes, SNPs or SVs, which is shown on each track. Here, I have already selected some chromosomes by annotations of genes such as related to cancer or metabolic pathway.

  1. The karyotypes of selected chromosomes are shown and they should be aligned in the order of chosen because the order is related to the priority of genomic locus to select, I think.

  2. If I set the genomic coordinate in advance, the brush should have been moved there. The selectedRegion of brush should be consistent with the given coordinate in advance.

I am trying to do so (master...6br:master), but it does not seem to work well since it does not preserve the exact genomic coordinates.

  1. By selecting one region from multiple chromosomes with a brush, I can narrow down the SNPs and SVs that exist in the region selected. I will use ideogram.selectedRegion to narrow down the external SNPs table.

  2. Moreover, when I click the annotation of SNPs or SVs, details of these variants will be shown. Since I want to fetch what is clicked, it requires callbacks on annotations.

I think from 1 to 3 is the important part because it seems to be tightly coupled with library's implementation.

I would be pleased if it could help your work.

Regards,

from ideogram.

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.