Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-LGV breakpoint detail view #224

Closed
rbuels opened this issue Mar 22, 2019 · 6 comments
Closed

multi-LGV breakpoint detail view #224

rbuels opened this issue Mar 22, 2019 · 6 comments
Labels
size XL lots of work

Comments

@rbuels
Copy link
Contributor

rbuels commented Mar 22, 2019

This is a detail view for looking at a single breakpoint.

  • draw a lineargenomeview for the reference for one end of it at the top
  • another lineargenomeview for the reference for the other end below that
  • draw a line from one to the other
chr1
====|===============
     \
      \
       \
chr13   \
=========|===========

depends on GMOD/vcf-js#9 (done now)

@rbuels rbuels added this to To do in JBrowse team board via automation Mar 22, 2019
@rbuels rbuels moved this from To do to Prioritized in JBrowse team board Mar 22, 2019
@cmdcolin
Copy link
Collaborator

Some notes

Breakends are pairwise. They associate two parts of the genome together. They can have a MATEID that says what the ID of the feature is on the other side of it. They can also have an EVENT that groups multiple breakends together

@rbuels rbuels changed the title breakpoint detail view non-synthesized-reference breakpoint detail view Apr 19, 2019
@cmdcolin
Copy link
Collaborator

The non-synthesized reference view breakpoint lines should have little "feet" that show the directionality of the breakends. This allows you to see

chr1:1:5000 ----> chr13:5000:Infinity

Or it could be that that it this break is reversed and you have

chr1:1:5000 ----> chr13:5000:1

@cmdcolin
Copy link
Collaborator

  • This involves creating a new view type that encapsulates 1 or more linear genome views
  • We will probably just feed the view a "breakpoint to look at" and then the view will create the relevant displayed regions on the top and the bottom
  • We need to have a good system for "navigating" to a specific locstring(and/or multi-locstring) in the view in order to enable this e.g. view.navigateTo(locstring). Currently options include the moveTo function on the linear genome view but this is somewhat clunky to use
  • There will be react component, it needs to receive events/or look at the mobx state tree for each view, so that whenever the genome view above or below it scrolls, and it draws a breakpoint line between the views
  • We need to make a sample dataset for this in vcf form, probably for volvox vs volvox genome
  • If there are other breakpoints in either view, then render them in the middle area too (could involve the the vcf breakend index, or just a global download of all the breakends. see VCF breakend indexing #304 )
  • If possible, make the breakend drawing actually connect to the feature inside the linear genome view. This has been shown to have been done in synteny things like the eupathdb, and it makes it clearer if it connects to the actual feature instead of just in between the views (stretch goal, possibly move into another issue)
  • We're going to need a configuration system to specify receive this type of data. In the VCF breakends, it can be similar to "FromConfig" (because I imagine our particular system of "clicking on a breakend->view breakend details" as then creating this specialized view and pushing the data about that breakend onto the view. Note that this could also be a synteny data store or similar, in which case we use a special data adapter
  • We're going to need to define what this feature object that the "breakend renderer" receives as it can also applies to synteny. One proposal: the breakend is an array with two objects e.g. [RegionWithAssembly,RegionWithAssembly] and then it can possibly extend to more than two elements (i.e. if you have multi-level synteny)

@cmdcolin
Copy link
Collaborator

Possible scenario for breakends crossing views and looping onto itself

looping_back_breakend

@garrettjstevens
Copy link
Collaborator

Here's a volvox VCF with breakends from the JBrowse-Rotunda integration at http://jbrowse.org/u24/:
http://jbrowse.org.s3.amazonaws.com/u24/jbrowse/sample_data/raw/volvox/volvox.dup.vcf.gz
http://jbrowse.org.s3.amazonaws.com/u24/jbrowse/sample_data/raw/volvox/volvox.dup.vcf.gz.tbi

We can use this as a start of a test data set.

@rbuels rbuels changed the title non-synthesized-reference breakpoint detail view multi-LGV breakpoint detail view Jun 2, 2019
@rbuels rbuels moved this from Prioritized to In progress in JBrowse team board Jun 3, 2019
@rbuels rbuels self-assigned this Jun 3, 2019
@rbuels rbuels added the size XL lots of work label Jun 3, 2019
@rbuels rbuels removed their assignment Jun 14, 2019
@rbuels rbuels moved this from In progress to Prioritized in JBrowse team board Jun 14, 2019
@rbuels
Copy link
Contributor Author

rbuels commented Sep 13, 2019

closing, duplicate of #475

@rbuels rbuels closed this as completed Sep 13, 2019
JBrowse team board automation moved this from Prioritized to Done Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size XL lots of work
Projects
Development

No branches or pull requests

3 participants