You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release includes several important improvements including
Lazily loading assembly refNames: previously when you had multiple assemblies
in your config, it would load all their refNames at browser startup. Now, it
only fetches refNames when you request to use an assembly.
Simplified "synteny track selector" on the dotplot and synteny import forms
Improved documentation! The entire jbrowse 2 documentation has been
overhauled, and the monolithic user guide, config guide, and developer guide
pages have been split into smaller pages. We also now auto-generate
documentation on our config and state tree models, and have a search bar
Improved speed on alignments tracks: a small optimization was made for
alignments tracks that can improve performance on alignments tracks by 30% or
so especially on short reads
Figure showing improved speed on short read alignments of the refactor (this
release) vs main (which was v2.1.7)
Note that the changes to allow lazy loading assemblies may have somewhat
changed the "contract", so if your code is using the assemblyManager directly
in any places, please be aware of this change. Proper usage of the
assemblyManager API uses either
use assemblyManager.get(assemblyName) which can return undefined initially,
but then this initiates the lazy load and can be caught by reactivity of
wrapping your components in observers
use assemblyManager.waitForAssembly(assemblyName) function, which is
asynchronous but returns a promise. this avoids the initial return undefined
behavior
avoid directly accessing e.g. assemblyManager.assemblies
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This release includes several important improvements including
in your config, it would load all their refNames at browser startup. Now, it
only fetches refNames when you request to use an assembly.
overhauled, and the monolithic user guide, config guide, and developer guide
pages have been split into smaller pages. We also now auto-generate
documentation on our config and state tree models, and have a search bar
alignments tracks that can improve performance on alignments tracks by 30% or
so especially on short reads
Figure showing improved speed on short read alignments of the refactor (this
release) vs main (which was v2.1.7)
Note that the changes to allow lazy loading assemblies may have somewhat
changed the "contract", so if your code is using the assemblyManager directly
in any places, please be aware of this change. Proper usage of the
assemblyManager API uses either
but then this initiates the lazy load and can be caught by reactivity of
wrapping your components in observers
asynchronous but returns a promise. this avoids the initial return undefined
behavior
🚀 Enhancement
core
🐛 Bug Fix
core
📝 Documentation
core
,text-indexing
🏠 Internal
Committers: 3
This discussion was created from the release Release v2.2.0.
Beta Was this translation helpful? Give feedback.
All reactions