This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
protvista-sequence with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
This custom element displays the sequence in the selected region if the zoom level allows it, otherwise it displays the axis legend of the selected region. As it inherits from
<protvista-sequence length="456" />
const protvistaSequence = document.querySelectAll('#my-protvista-sequence-id'); protvistaSequence.sequence = proteinSequence;
<protvista-sequence length="456" sequence="RFQAEGSLKK..." />
The sequence to display
The protein or nucleic acid sequence length.