GA4GH Refget API #3412
-
Hi, I would like to create a custom sequence adapter that consumes the refget api to retrieve the assembly's sequence. My idea is to use a text file containing the sequences INSDC accessions and then trigger the call to API based on the user interactions. Is it possible to implement something like this with just a custom sequence adapter? I am using the LGV react component in my VueJs application, how can I pass the custom adapter to the LGV component? Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes, JBrowse is designed to support this. You would want to make a plugin that registers a new Adapter, and then you would just want to publish it to the JBrowse plugin store. How to do it
|
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you so much for your response, I just PR the plugin-list repo. |
Beta Was this translation helpful? Give feedback.
-
hello everyone can someone help me out with getting a proper API with this file name and content USER=Ashutosh |
Beta Was this translation helpful? Give feedback.
Yes, JBrowse is designed to support this. You would want to make a plugin that registers a new Adapter, and then you would just want to publish it to the JBrowse plugin store.
How to do it
start with the JBrowse plugin template, and then add the code for your new adapter.
write your adapter like the ones in the JBrowse core code. The JBrowse code is mostly plugins. The code for the core "Sequence" plugin, which contains most of the existing reference sequence adapters, is at https://github.com/GMOD/jbrowse-components/tree/main/plugins/sequence
publish it to the plugin store, you would submit a pull request to https://github.com/GMOD/jbrowse-plugin-list