Embedding the NCBI Sequence View in Web Content
IntroductionThe NCBI Graphical Sequence Viewer (SV) is a general purpose tool for viewing biological sequence data. The Sequence Viewer has a very rich set of options and can display virtually any sequence. It can be embedded in a wide variety of web pages serving many different needs. This page has examples showing best practice for embedding Sequence Viewer with several different sets of options. The API Reference should be consulted for the full suite of options and parameters. Additional documentation can be found here: https://www.ncbi.nlm.nih.gov/tools/sviewer/ Questions should be addressed to: sviewer-service AT ncbi.nlm.nih.gov For users that want to embed the sequence viewer on their page, please pay attention to the cross-domain scripting section of the API Reference. Sequence Viewer makes use of AJAX and the EXTjs library and is tied to the infrastructure at NCBI; if you fail to adjust for cross-domain scripting, your embedding will not work. For examples of sequence coordinate reporting using markers, see Marker Demo page. Another example is HGVS and SNP Search Demo.
View of single sequence with full frame decoration
View of single sequence with initial tracks configuration and with external file upload
View of single sequence with minimal frame decoration
View in slim mode (tracks w/o title bars)
A few more examplesAn example demonstrating Sequence View with a permanent Configuration panel.
The next example illustrates techniques of Sequence Viewer event listening.