neXtProt - The knowledge resource on human proteins
This is a code repository for the SIB - Swiss Institute of Bioinformatics CALIPHO group neXtProt project
neXtProt sequence viewer
//BOWER// bower install sequence-viewer //NODE// npm install sequence-viewer
- Specify a div in your html
//For Node add before : var Sequence = require("sequence-viewer"); //var seq = 'MALWMRLLPLLALLALWGPGPGAGSLQPLALEGSLQKRGIVEQCCTSICSLYQLENYCN';// Render the sequence with or without rendering options// (Check the interactive documentation)seq;
- Et voila!
Check out this interactive page for a better understanding of how to use the sequence viewer and its possibilities :
- Show chars per line
- Wrap lines
- Toolbar (chars per line)
If you have any problem or suggestion please open an issue here.
git clone https://github.com/calipho-sib/sequence-viewer.git
npm install (will install the development dependencies)
bower install (will install the browser dependencies)
...make your changes and modifications...
npm run dist (will create the min & bundle versions in dist/)
npm run build (will create the bundle js & css in build/ for node)
grunt bump (will push and add a new release)
npm publish (will publish in npm)
This software is licensed under the GNU GPL v2 license, quoted below.
Copyright (c) 2015, SIB Swiss Institute of Bioinformatics