By Benedikt Rauscher, Benjamen White – 12/07/2015.
Once you have installed npm you can use it to download biojs2galaxy with the following command:
sudo npm install -g biojs2galaxy
Once the installation was successful, typing biojs2galaxy into your terminal should produce the following result:
Now you are ready to use biojs2galaxy to import BioJS visualisation plugins into your Galaxy installation.
The following command will import the MSA viewer into your Galaxy installation:
biojs2galaxy msa -o <path2galaxy>/config/plugins/visualizations/
Note: This command will import the plugin into the standard Galaxy visualisation plugin folder. If you have changed the standard configuration, please adapt it accordingly.
In the end you should see the following in your terminal:
Now all you need to do is restart Galaxy and you are good to go! In Galaxy, upload a file in a MSA-suited file format, select it, and click the visualisation icon. Ta da!
Not all BioJS components support a Galaxy import yet, but many do. If you want to import all available BioJS components into your Galaxy installation with one command you can use:
We hope you found this short guide useful, please feel free to share it!