Skip to main content

Consensus Multiple Alignment format, using Biopython alignments.

I/O support and relevant functionality for the Consensus Alignment Format (CMA). This format represents protein sequence alignments. It is used by a few tools by Dr. Andrew F. Neuwald, notably CHAIN and MAPGAPS.

Biopython objects and conventions are used where possible.

Installation

This is an ordinary Python package. You can install it from source with the setup.py script:

python setup.py build
python setup.py install

Stable releases are uploaded to PyPI as well, so you can install BioFrills with Python package managers:

pip install biofrills

Or:

easy_install biofrills

Some scripts that I find useful are in the scripts/ directory. By default these are not installed, but you can include them by uncommenting the line in setup.py that starts with scripts=glob…

Alternatively, you can just copy those scripts into another directory in your $PATH.

What can the CMA format do for me?

  • Like the A2M and Stockholm formats, alignments are shown with insertions as lowercase characters and deletions are dashes

  • Like the A3M format, alignments are pairwise versus a profile (or “consensus” sequence), which also dictates which sites are indels. By compressing the insert columns, a large of alignment of many divergent (but related) sequences can be shown without filling it will mostly gap characters, as Stockholm can.

  • Like Stockholm, but unlike A2M and A3M, more than one alignment can be contained in a single file.

  • Typically, an ungapped consensus sequence will be included as the first sequence.

  • A FASTA-like header contains additional, optional fields for the number of leading and trailing sites and NBCI taxonomy codes

Who uses CMA?

The CMA format appears to have been invented by Dr. Andrew Neuwald at the University of Maryland, and is used in these programs:

Should I use CMA in my own work?

Unless you’re working with MAPGAPS or CHAIN, no.

Metadata

Release files for biocma 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biocma 0.2.1
File Size Uploaded
biocma-0.2.1.tar.gz 13.4 kB Details

Release files / biocma-0.2.1.tar.gz

Download URL biocma-0.2.1.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6680644f424e9dfaf6c407c45eafc1bc081dada06dced63197827c61f3d0a728
BLAKE2b-256 checksum
How to use checksums
22fac3c4bb98691b44c3e6be1768f7f8b13c403a51d9b53e7636e8052fecfcd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2

4 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page