Gecos
Generated color schemes for sequence alignment visualizations
Install / Use
/learn @biotite-dev/GecosREADME
Gecos - Generated Color Schemes for sequence alignment visualizations
Multiple sequence alignments are often visualized by coloring the symbols according to some kind of properties. For example a color scheme for amino acids could use one color for hydrophobic residues, another color for positively charged residues and so forth. Usually, such color schemes are manually created by experienced people who have knowledge about the characteristics of the e.g. amino acids, so they can assign equal or similar colors to amino acids that share similar properties.
The Gecos software follows a different approach: Instead of looking at specific, sometimes subjective properties, it uses another source for estimating the similarity of symbols: the substitution matrix itself. Similar colors are assigned to high scoring pairs of symbols, low scoring pairs get distant colors - in a completely automatic manner. As a result the distance of two symbols in the substitution matrix corresponds to the perceptual differences in the color scheme.
How about an example? The following command line invocation creates a light color scheme. An example alignment using the newly generated color scheme is displayed below.
.. code-block:: console
$ gecos --matrix BLOSUM62 --lmin 60 --lmax 75 -f awesome_colors.json
.. image:: https://raw.githubusercontent.com/biotite-dev/gecos/master/doc/static/assets/figures/main_example_alignment.png
Installation
In order to use Gecos you need to have Python (at least 3.6) installed. Furthermore, the following Python packages are required:
- biotite
- numpy
- matplotlib
- scikit-image
If these prerequisites are met, Gecos is simply installed via
.. code-block:: console
$ pip install gecos
Alternatively, Gecos can be installed via Conda:
.. code-block:: console
$ conda install -c conda-forge gecos
Citation
If you use Gecos in a scientific publication, please cite:
|
P. Kunzmann, B. E. Mayer, K. Hamacher,
"Substitution matrix based color schemes for sequence alignment visualization,"
BMC Bioinformatics, vol. 21, pp. 209, 2020.
doi: 10.1186/s12859-020-3526-6 <https://doi.org/10.1186/s12859-020-3526-6>_
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate 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
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
