Skip to content

Performing searches within a react nextjs framework #4552

Closed Answered by cmdcolin
nhartwic asked this question in Q&A
Discussion options

You must be logged in to vote

hi there,
this is a bit of a tricky one. the jbrowse-web app has some 'magic sauce' that it uses to load data from the url and make a linear genome view

you can see the docs for that here
https://jbrowse.org/jb2/docs/urlparams/

the caveat though is that these url params are NOT available in the embedded components. I have considered trying to make an easy to use way to expose this functionality though (see issue #3722)

but, in the meantime, you can try to copy and paste some code the jbrowse-web does to replicate this functionality. i made an example that calls the LaunchView-LinearGenomeView 'extension point' which is what jbrowse-web uses. we use this because it is actually quite tricky…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nhartwic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants