Skip to main content

Python wrapper around libclustalo

Project description

This is just a simple Python wrapper around Clustal Omega (http://www.clustal.org/omega/), used internally at Benchling but casually open source, if it helps anybody. Also available via:

pip install clustalo

Requires libclustalo installed, version 1.2.0. On Linux, it’s recommended you build and install it yourself:

cd clustal-omega-1.2.0
./configure --with-pic --with-openmp
make && sudo make install

before installing this package.

Support for OSX is not quite there yet, mainly because OpenMP isn’t supported on clang. Homebrew is still on 1.1.0, so you’ll need to compile and install clustalo 1.2.0 yourself (–without-openmp). You’ll also need to modify the setup.py file to leave out gomp and -fopenmp when installing.

Usage

from clustalo import clustalo
input = {
    'seq1': 'AAATCGGAAA',
    'seq2': 'CGGA'
}
aligned = clustalo(input)
# aligned is a dict of aligned sequences:
#   seq1: AAATCGGAAA
#   seq2: ----CGGA--

At the moment, input sequences are assumed to not be aligned (i.e. there is no dealign option). See clustalo.clustalo.__doc__ or file clustaslo/clustalo.c for documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clustalo-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clustalo-0.1.1.macosx-10.9-x86_64.tar.gz (260.0 kB view details)

Uploaded Source

File details

Details for the file clustalo-0.1.1.tar.gz.

File metadata

  • Download URL: clustalo-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for clustalo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f67429881c29c7bcb52e0cc6269c82a2e30d1d03e33d0fad843d94380e17c517
MD5 5779651ea85dd278d8afef89b4a88005
BLAKE2b-256 88f605689339186b64b7e7671ceac15c73a6e3846f4749077f8eeb29d3df09ff

See more details on using hashes here.

File details

Details for the file clustalo-0.1.1.macosx-10.9-x86_64.tar.gz.

File metadata

File hashes

Hashes for clustalo-0.1.1.macosx-10.9-x86_64.tar.gz
Algorithm Hash digest
SHA256 87dc8d80e2e090429f30b096fe0af187a227c26206734b0e39eea2fbf84fc217
MD5 ba07db367e765af57ffd1bea049e83ce
BLAKE2b-256 335b491d3340dece281bd6d62f617e12a688fee7d26ab45a48de9909cec18b08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page