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
This is the classic display of a sequence.
Before displaying the sequence you can adjust some rendering options :
You can also select and bring to light a part of the sequence.
This sequence will be highlight by the color of your choice.
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 parameters :
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.
The sequence-viewer includes two listeners :
Those methods take a custom function in parameter to connect the sequence-viewer events to the rest of your application.