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

Investigate JBrowse v2 #2038

Closed
kimrutherford opened this issue Apr 18, 2023 · 36 comments
Closed

Investigate JBrowse v2 #2038

kimrutherford opened this issue Apr 18, 2023 · 36 comments
Assignees

Comments

@kimrutherford
Copy link
Member

V2 has a bunch of new features compared to v1 but I don't think there's a huge hurry to upgrade.

When we add v2 to PomBase, I think we should run v1 and v2 in parallel for a while to give the community time to get used to it. (And time for us to fix any problems)

There's a bunch of demo instances here: https://jbrowse.org/jb2/demos/

It's now published which is what reminded me to make an issue: https://link.springer.com/article/10.1186/s13059-023-02914-z

@kimrutherford kimrutherford self-assigned this Apr 18, 2023
@kimrutherford
Copy link
Member Author

I'm taking the JBrowse v2 paper on the flight with me. :-)

@ValWood
Copy link
Member

ValWood commented Jun 28, 2023

What are the new features? Anything snazzy?

@ValWood
Copy link
Member

ValWood commented Jun 28, 2023

Can include in upcoming paper, if time

@ValWood
Copy link
Member

ValWood commented Jun 28, 2023

from
#1842
The inline JBrowse isn't always at the top when it's displayed on gene pages. We should check for the bug after the next update and report it if it's still there.

@kimrutherford
Copy link
Member Author

"Setting Up the JBrowse 2 Genome Browser":
https://currentprotocols.onlinelibrary.wiley.com/doi/pdf/10.1002/cpz1.1120

@kimrutherford
Copy link
Member Author

I've been looking at getting JBrowse V2 set up as pombase.org/jbrowse2/. It's not there yet. :-)

My aim is to get the gene tracks up and running first and then work on the other tracks and features.

I initially wasn't sure that V2 supported embedding in gene pages, but there's a nice tutorial for it:
https://jbrowse.org/jb2/docs/tutorials/embed_linear_genome_view/01_introduction/

The tutorial also covers how to set up a default session. That will be helpful to us for users who are used to using JBrowse V1. Without a default session we'll see a page like this: https://jbrowse.org/code/jb2/v2.18.0/

It looks like FlyBase, SGD, XenBase and RGD are still using JBrowse V1 so we're not the only ones.
The Alliance is using V2: https://www.alliancegenome.org/jbrowse2/

kimrutherford added a commit to pombase/pombase-legacy that referenced this issue Jan 28, 2025
@ValWood
Copy link
Member

ValWood commented Jan 28, 2025

Fantastic!

kimrutherford added a commit to pombase/pombase-legacy that referenced this issue Jan 28, 2025
kimrutherford added a commit to japonicusdb/japonicus-build that referenced this issue Jan 28, 2025
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 28, 2025
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 28, 2025
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 28, 2025
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 28, 2025
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 28, 2025
@kimrutherford
Copy link
Member Author

My aim is to get the gene tracks up and running first and then work on the other tracks and features.

First attempt:
https://desktop.kmr.nz/jbrowse2/?session=share-puR-5oWX0L&password=mfhN9
(I'm not sure that link will work)

Image

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 28, 2025
kimrutherford added a commit to pombase/pombase-legacy that referenced this issue Jan 29, 2025
@kimrutherford
Copy link
Member Author

JBrowse 2 is now updated each night with the rest of the site: https://www.pombase.org/jbrowse2/

It only has a gene track for now. The next thing I'll do is split the track into forward and reverse strands.

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 29, 2025
kimrutherford added a commit that referenced this issue Jan 29, 2025
PomBase: pombase-website/etc/setup_jbrowse2_in_container.sh
JaponicusDB: japonicus-build/setup_jbrowse2_in_container.sh

Refs #2038
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Jan 29, 2025
PomBase: pombase-website/etc/setup_jbrowse2_in_container.sh
JaponicusDB: japonicus-build/setup_jbrowse2_in_container.sh

Refs pombase/website#2038
@ValWood
Copy link
Member

ValWood commented Jan 31, 2025

OK, looks great though!

kimrutherford added a commit to pombase/pombase-chado-json that referenced this issue Feb 2, 2025
kimrutherford added a commit to pombase/pombase-chado-json that referenced this issue Feb 2, 2025
@kimrutherford
Copy link
Member Author

There are still a few bugs to fix.

I've fixed one of the problems: you can now type a gene name into the JBrowse 2 search box to go to that gene. It doesn't work for systematic IDs yet.

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 3, 2025
@kimrutherford
Copy link
Member Author

kimrutherford commented Feb 3, 2025

Jobs to do:

  • add links from feature in JBrowse to gene pages
  • colour features by type - use different colours for at least:
    • protein coding genes
    • pseudo-genes
    • RNA genes
    • other (LTR, centromeres, low_complexity_region, ...)

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 3, 2025
@kimrutherford
Copy link
Member Author

add links from feature in JBrowse to gene pages

That's done now. You need to click on the gene and then look in the details panel:

Image

kimrutherford added a commit that referenced this issue Feb 3, 2025
Contains code for colour, font size and height of GFF features.

Refs #2038
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 3, 2025
Contains code for colour, font size and height of GFF features.

Refs pombase/website#2038
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 3, 2025
kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 3, 2025
@kimrutherford
Copy link
Member Author

colour features by type

That's done too:

Image

@kimrutherford
Copy link
Member Author

you can now type a gene name into the JBrowse 2 search box to go to that gene.

That's broken again. I'll fix it tomorrow.

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 4, 2025
@kimrutherford
Copy link
Member Author

That's broken again. I'll fix it tomorrow.

I can't work out the problem so I'll report it as a bug.

@kimrutherford
Copy link
Member Author

I can't work out the problem so I'll report it as a bug.

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 5, 2025
Refs pombase/website#2038
Refs GMOD/jbrowse-components#4814
@kimrutherford
Copy link
Member Author

I can't work out the problem so I'll report it as a bug.

I've implemented a work-around so the search box works now, even for "wtf22".

There are two more things I'd like to sort out:

  • link directly to a chromosome position from gene pages
  • default to showing chromosome 1 and the gene tracks

kimrutherford added a commit to pombase/pombase-chado that referenced this issue Feb 5, 2025
kimrutherford added a commit to pombase/pombase-chado-json that referenced this issue Feb 5, 2025
We will use this field to colour the features in JBrowse 2.

Refs pombase/website#2038
kimrutherford added a commit that referenced this issue Feb 5, 2025
Also fix code for making RNA feature and labels smaller.

Refs #2038
kimrutherford added a commit that referenced this issue Feb 5, 2025
@kimrutherford
Copy link
Member Author

The genes are now coloured by characterisation status (I hope!). I've made the RNA genes grey. Let me know if you see anything that's the wrong colour.

Image

@ValWood
Copy link
Member

ValWood commented Feb 5, 2025

That looks correct!

@kimrutherford
Copy link
Member Author

There are two more things I'd like to sort out:

Any objections to me closing this issue and creating a new issue for the remaining JBrowse tasks/bugs?

@ValWood
Copy link
Member

ValWood commented Feb 5, 2025

Not from me. It's just you talking to yourself and me occasionally saying "fantastic" ;)

@kimrutherford
Copy link
Member Author

OK, moved to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants