havana-apollo-plugin
v0.0.20
Published
Havana plugin for Apollo 3
Readme
havana-apollo-plugin
This plugin provides custom Havana related components/features for Apollo3.
- Biotypes Component: Updates the feature type, biotype and creates/deletes CDS based on the biotype
- Remark and Hidden remark for gene/transcript: Adds a remark and hidden remark field to the transcript widget
- Havana Save Component: Save button which syncs data from Apollo3 to Havana
Development
To develop against JBrowse Web and Apollo3:
- Start a development version of JBrowse Web (see here)
- Start a development version of Apollo3
- In this project, run
yarn start(ornpm run start) - Add the following to your Apollo3 config:
plugins: [
{
name: 'HavanaApolloPlugin',
url: 'http://localhost:9001/dist/havana-apollo-plugin.umd.development.js'
}
],- When you make changes to your plugin, it will automatically be re-built. You can then refresh JBrowse Web to see the changes.
Publishing to NPM
Once you have developed your plugin, you can publish it to NPM. Remember to
remove "private": true from package.json before doing so.
