SequenceLogoVis
A better sequence logo visualization
Install / Use
/learn @ISA-tools/SequenceLogoVisREADME
Last Updated 14 May 2014
Using the Sequence Logo
To use the sequence logo, include the 'assets' found in the repository in your code base. This means a link to css/popup.css, js/lib/*, and SequenceLogo.js. Then, to run, include this JavaScript to generate the sequence logo with 1 or more files.
SequenceLogo.rendering.createSequenceLogo(
{
files: ["data/panel-a.txt", "data/panel-b.txt"],
placement: "visualization",
width: 1000,
height: 500,
glyph_strategy: "only_differences",
height_algorithm: "frequency",
type:"amino_acids",
highlight_conserved: false,
draw_consensus: true
}
);
Protein Support
<div align="center"> <img src="http://isatools.files.wordpress.com/2014/05/screen-shot-2014-05-14-at-11-47-05.png" width="600px"/> </div>Display by frequency rather than entropy
This example also shows the detail on demand view to give the actual number of samples found with a particular residue at that position.
<div align="center"> <img src="http://isatools.files.wordpress.com/2014/05/screen-shot-2014-05-14-at-11-49-17.png" width="600px"/> </div>DNA Support
<div align="center"> <img src="http://isatools.files.wordpress.com/2014/05/screen-shot-2014-05-14-at-11-43-15.png" width="600px"/> </div>Configurability
Highlight Conserved Regions
SequenceLogo.rendering.createSequenceLogo(
{
files: ["data/panel-a.txt", "data/panel-b.txt"],
placement: "visualization",
width: 1000,
height: 500,
glyph_strategy: "only_differences",
height_algorithm: "entropy",
type:"amino_acids",
highlight_conserved: true,
draw_consensus: false
}
);
<div align="center">
<img src="http://isatools.files.wordpress.com/2014/05/screen-shot-2014-05-14-at-11-46-52.png" width="600px"/>
</div>
Show Consensus Sequence
SequenceLogo.rendering.createSequenceLogo(
{
files: ["data/panel-a.txt", "data/panel-b.txt"],
placement: "visualization",
width: 1000,
height: 500,
glyph_strategy: "only_differences",
height_algorithm: "entropy",
type:"amino_acids",
highlight_conserved: false,
draw_consensus: true
}
);
<div align="center">
<img src="http://isatools.files.wordpress.com/2014/05/screen-shot-2014-05-14-at-11-48-11.png" width="600px"/>
</div>
Show Glyphs Only when Differences Occur
SequenceLogo.rendering.createSequenceLogo(
{
files: ["data/panel-a.txt", "data/panel-b.txt"],
placement: "visualization",
width: 1000,
height: 500,
glyph_strategy: "only_differences", or "all"
height_algorithm: "entropy",
type:"amino_acids",
highlight_conserved: false,
draw_consensus: true
}
);
Cite this work
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
