cgview

1.6.0 • Public • Published

CGView.js

CGView.js is a Circular Genome Viewing tool for visualizing and interacting with small genomes.

Resources

Install

npm install --save cgview

See Installation Instructions for additional ways to setup CGView.js.

Usage

import CGV from from 'cgview';

cgv = new CGV.Viewer('#my-viewer', {
  height: 500,
  width: 500,
  sequence: {
    // The length of the sequence
    length: 1000
    // Or, you can provide a sequence
    // seq: 'ATGTAGCATGCATCAGTAGCTA...'
  }
});

// Draw the map
cgv.draw()

See the tutorials for how to add features and plots.

License

CGView.js is distrubuted under the Apache Version 2.0 License.

Dependencies (2)

Dev Dependencies (6)

Package Sidebar

Install

npm i cgview

Homepage

js.cgview.ca

Weekly Downloads

37

Version

1.6.0

License

Apache-2.0

Unpacked Size

1.79 MB

Total Files

9

Last publish

Collaborators

  • sciguy