Skip to content
Raymond Chung edited this page Jul 16, 2019 · 5 revisions

This package aims to provide basic sequence viewing in a simple, open-source way, for use anywhere that supports running javascript. It currently provides:

  • Imports: For formats that can be displayed by this viewer see viewer options part input

  • Circular Plasmid viewer (viewer = circular):

    • Shows annotations with names and colors
    • Shows name of sequence
    • Shows base pair length of sequence
  • Linear Sequence viewer (viewer = linear):

    • Shows annotations with names and colors
    • Shows sequence and complement nucleotide bases
    • Shows Index line with base pair numbers
    • Shows enzyme cut sites
    • Shows highlighted subsequences from search
  • Selections:

    • On both Circular and Linear viewers clicking on an annotation or dragging over a section of the viewer will create a selection
    • Information about this selection will be available through the onSelection() option (see viewer options)
  • Off-line Viewing: While the library is intended to be used with web applications on the internet it does support use without an internet connection. Offline viewing requires that you load the library source code from a local copy.

    • Auto-annotation is not available while off-line
    • Sequences loaded as objects or strings will be available for viewing while off-line
    • Once a part has been fetched from NCBI or iGem it will be cached in your browser in a cookie with the accession id as the name. As long as you have that cookie, the part will be available for viewing off-line (see Caching for more details).
Clone this wiki locally