A plugin that can run command line tools to prepare data for JBrowse 2.
NOTE:
This plugin can only be run with the desktop distribution of JBrowse 2.
Ensure you have JBrowse desktop installed.
Ensure you have bcftools installed (brew install bcftools
or sudo apt install bcftools
).
Ensure you have tabix installed (brew install htslib
or sudo apt install htslib
).
Clone the git repo, yarn, and start:
git clone https://github.com/GMOD/jbrowse-plugin-desktop-tools.git
cd jbrowse-plugin-desktop-tools
yarn
yarn start
Add to the "plugins" of your JBrowse config (your .jbrowse
file):
"plugins": [
{
"name": "DesktopTools",
"url": "http://localhost:9000/dist/jbrowse-plugin-desktop-tools.umd.development.js"
}
],
or navigate to the Plugin Store within JBrowse desktop and click the "Add Custom Plugin" button at the top of the store.
Then enter in the same information as highlighted in the codeblock above.
This plugin adds a new add track workflow.
-
Navigate: Add > Linear genome view > Open > Open track selector > + icon button > Add track
-
In the topmost dropdown menu select "Raw variant track".
-
Choose a local
.vcf
file to process -
Change the name if relevant
-
Press "submit" and your VCF file will have been sorted, indexed, and zipped for usage within JBrowse
If your .vcf
file fails to process, ensure you have all necessary prerequisites and try again.