Skip to content

sciguy/cgview-js

Repository files navigation

Note

This project was originally hosted under stothard-group/cgview-js and has been transferred with permission to sciguy/cgview-js.

Pages Status Tests Status Last Commit License Docs

npm version bundle size Min+Gzip jsDelivr hits

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.

About

CGView.js creates interactive circular and linear genome maps.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages