neXtProt ©

Sequence Viewer

This javascript tool will allow you to display your sequence of DNA, protein, or others, formatted FASTA-like, and apply some visual improvment for selection and coverage

Simple

This is the classic display of a sequence.
Before displaying the sequence you can adjust some rendering options :

  • showLineNumbers (boolean) : Display or not the line numbers
  • wrapAminoAcids (boolean) : Add or not the layout with break-line and blank separation
  • charsPerLine (integer) : Choose the number of letter per Line (must be a multiple of 10)
  • toolbar (boolean) : Add a toolbar allowing users to choose the number of letter per line
  • search (boolean) : Add an input in the header to search for pattern in the sequence. Regular expression is supported.

Selection

You can also select and bring to light a part of the sequence.
This sequence will be highlight by the color of your choice.

Coverage

A coverage with color codes can be apply to the sequence.
For this, you must provide a list, mapping all the sequence with some specific colors and labels.
With the coverage, it's also possible to give within the parameters an interval to highlight in the sequence.
An other array will be needed to display the legend of color codes.