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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for clustalo-0.1.1.macosx-10.9-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87dc8d80e2e090429f30b096fe0af187a227c26206734b0e39eea2fbf84fc217 |
|
MD5 | ba07db367e765af57ffd1bea049e83ce |
|
BLAKE2b-256 | 335b491d3340dece281bd6d62f617e12a688fee7d26ab45a48de9909cec18b08 |