Skip to main content

Exact multiple sequence alignment via Synchronized Decision Diagrams

Project description

MSAMDD Version 1.0 - Exact Multiple Sequence Alignment by Synchronized Decision Diagrams

Copyright (C) 2019 Amin Hosseininasab This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

DESCRIPTION MSAMDD is an multiple sequence alignment algorithm designed to generate optimal sequence alignments.

REFERENCE Please cite the below paper when using MSAMDD. Technical and algorithm specifics may also be found in this paper. Hosseininasab, A. and van Hoeve, W.J., 2019. Exact Multiple Sequence Alignment by Synchronized Decision Diagrams. INFORMS Journal on Computing (to appear).

CONTACT amin.hosseininasab@warrington.ufl.edu

INSTALLATION Designed for Linux systems. Installation from Makefile. Simply execute make from the terminal at the MSAMDD directory. The output is two executables: msa_aff and msa_cnv.

EXTERNAL SOFTWARE REQUIREMENTS FOR INSTALLATION MSAMDD requires the installation of IBM ILOG CPLEX Optimization Studio to solve its mathematical programming models. CPLEX may be downloaded from https://www.ibm.com/products/ilog-cplex-optimization-studio CPLEX should be installed in the opt/ibm/ILOG directory at the root folder of the Linux system. MSAMDD automatically detects and uses the latest version at this directory. In case CPLEX is installed in a different directory, the user must change the default directory in the Makefile at line 5. MSAMDD further requires the MUSCLE program for its heuristic alignments. Although MSAMDD can be executed without MUSCLE, its solution time will be significantly slowed. MUSCLE may be downloaded from https://www.drive5.com/muscle/ All credit for the usage of the MUSCLE software goes to Robert C. Edgar, and should be properly cited as Edgar, R.C. (2004) MUSCLE: multiple sequence alignment with high accuracy and high throughput Nucleic Acids Res. 32(5):1792-1797 The MSAMDD package includes MUSCLE for convenience, but claims no right to its ownership.

DOWNLOAD MSAMDD can be downloaded from https://github.com/aminhn/MSAMDD

PENALTY FUNCTIONS MSAMDD supports linear, concave, and convex penalty functions for optimal sequence alignments through two programs: msa_aff and msa_cnv. msa_aff is intended for constant, linear, or affine gap penalty functions. The affine penalty function is of the form a + bx. Here, x is the gap length and a and b are constants specified by the user. In sequence alignment terminology, constant a corresponds to the opening gap penalty, and constant b corresponds to the extension gap penalty. Constant and linear penalty functions are a special case of the affine gap penalty. A constant penalty function is achieved when b=0, and a linear gap penalty function is achieved when a=0. msa_cnv is intended for convex gap penalty functions. The penalty functions are of the form a + bx + cSQRT(x) or a + bx + cLn(x), where c is a constant specified by the user SQRT(x) is the square root of the gap length, and Ln(x) is the natural logarithm of the gap length. In sequence alignment terminology, constant c corresponds to the convex gap penalty. Note that the affine gap penalty is a special case of the convex gap penalty with c=0. In that regard, although msa_cnv may be used to accommodate affine, linear or constant gap penalty functions the runtime of msa_cnv is significantly slower than msa_aff. Therefore, the user is advised to use msa_cnv only when convex gap penalty functions are required, and use msa_aff otherwise.

COMMAND LINE COMMANDS

-in		path of input .fa file containing the sequences to be aligned. The input file MUST be of the fasta .fa format
-out		path of output file containing the aligned sequences. This file may be of .fa or .txt format
-time		time limit (in seconds) for the algorithm to find the optimal solution. MSAMDD terminates after the time limit and outputs the best found solution (not necessarily optimal).
-start 		path of file containing a warm-start alignment of sequences. A high quality warm-start solution may help reduce the solution time of MSAMDD. This file may be of .fa or .txt format
-submat		path containing the substitution matrix for alignment rewards (default is ./Data/blosum.ncbi)	
-op 		opening gap penalty (double precision, default is 12 in msa_aff, and 8 in msa_cnv)
-ep 		extension gap penalty (double precision, default is 2.22 in msa_aff, and 2 in msa_cnv)
-cp 		convex gap penalty (double precision, default is 2 in msa_cnv) (available only for msa_cnv)
-cfun 		convex gap penalty function. 1: SQRT, or 2: Ln (default is 1 and SQRT) (available only for msa_cnv)

COMMAND LINE USAGE EXAMPLE The below command uses msa_cnv for an alignment of sequences in file BB11001.fa found at directory ./Data/bali3/ The algorithm uses a convex gap penalty function of 8 + 2x + 2SQRT(x), and substitution matrix of blosum.ncbi found at directory ./Data/ The algorithm terminates at most after 3600 seconds with the best found solution, which is outputted to file BB11001_opt.txt in directory ./Data/results/

./msa_cnv -in ./Data/bali4/BB11001.fa -out ./Data/results/BB11001_opt.txt -time 3600 -op 8 -ep 2 -cp 2 -cfun 1 -submat ./Data/blosum.ncbi

DATABASE The MSAMDD package includes sequences for the BAliBASE versions 1 (./Data/bali1/) and BAliBASE version 4 (./Data/bali4). These databases may be downloaded from http://www.lbgi.fr/balibase/ The MSAMDD package includes the BAliBASE databases for convenience, but claims no right to their ownership.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

msamdd-1.4.13-cp312-cp312-win_amd64.whl (667.5 kB view details)

Uploaded CPython 3.12Windows x86-64

msamdd-1.4.13-cp312-cp312-macosx_11_0_arm64.whl (17.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

msamdd-1.4.13-cp312-cp312-macosx_10_13_x86_64.whl (314.7 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

msamdd-1.4.13-cp311-cp311-win_amd64.whl (665.1 kB view details)

Uploaded CPython 3.11Windows x86-64

msamdd-1.4.13-cp311-cp311-macosx_11_0_arm64.whl (17.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

msamdd-1.4.13-cp311-cp311-macosx_10_9_x86_64.whl (312.1 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

msamdd-1.4.13-cp310-cp310-win_amd64.whl (664.0 kB view details)

Uploaded CPython 3.10Windows x86-64

msamdd-1.4.13-cp310-cp310-macosx_11_0_arm64.whl (17.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

msamdd-1.4.13-cp310-cp310-macosx_10_9_x86_64.whl (308.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file msamdd-1.4.13-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: msamdd-1.4.13-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 667.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for msamdd-1.4.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1ca2b5ab5b15af778a6ebed43d6185500bcfcc9e54809df4956a4f08281d0669
MD5 f3ebcbf6a498d354c86412f454f083d7
BLAKE2b-256 b9445de93980f1499a5dd12e0ff8b720439c2abe932b43d96f1b99ca9d0f1034

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for msamdd-1.4.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb8333106d6c88f143cf5281ff00158f9dbe1c363e17f86d84246b3c666d6568
MD5 2acc53f8b655c9b6e46e1eba4ad8fc9f
BLAKE2b-256 c3bd61a735834995055417f39d7259376eda24d113886f682da1b482818f40b9

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for msamdd-1.4.13-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 86ef2b6f63922595e9c387a873d4282aeceb28e191df898f2977a032439d2d6d
MD5 cd7ecb7d1c370d06a3f8174d44c304aa
BLAKE2b-256 1f0bdb103761058e01d106e940f1340ee8e52be9c3ae5f0197a4548b5040b100

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: msamdd-1.4.13-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 665.1 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for msamdd-1.4.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 be35207450c2fa0eee844356ed8c3354271d3a3498909377febdd0494e804fa5
MD5 0ffb2d14c19da84d2873fc7a88d9e1fc
BLAKE2b-256 525dd177c0f26b9fd832a71427f9133efac05c65f57cc936cadf46df0fecf0ae

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for msamdd-1.4.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d25be6dddd5f9f201a671fd2f5fbaa8a0ae7e5f0d85ef961c8c504afea062dcf
MD5 8926c765e953eda1ddd9ca149f9fa4ac
BLAKE2b-256 e3481a4c27c122a2671d724d8b534608435ae08fd59218bfc38e49cd61fe758e

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for msamdd-1.4.13-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a8558644885a91359dfb8e560ea4020aa15ddb8030bd8862cbaeee5efcecb4c7
MD5 adcc495e171f5e7fc691c7e72a1b61a3
BLAKE2b-256 64ee9bccfb5b2ab82ce0760fb27289ceed34aa1b35807f6115888cd974673809

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: msamdd-1.4.13-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 664.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for msamdd-1.4.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f8e182727436df88a93ded437fa20b2b0bd33e228abaae7a45e964ec3de32176
MD5 38426ffc49d8fb088897c6282e5d4f5d
BLAKE2b-256 73fc96d65a68d75e0bb019a6c5f5ec84d9e65ab1ba61b36ce61811b9ae6bf726

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for msamdd-1.4.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d9a631f0d2c422f542e7008d69e851c2a0494e062bd7e82a2fde34d3382f63e
MD5 f9407caf4898efa80738175ae3618d5b
BLAKE2b-256 03031ee750b825d4889d2a7ed98929346b6bc1ca62b16ea80e260e154adcc22a

See more details on using hashes here.

File details

Details for the file msamdd-1.4.13-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for msamdd-1.4.13-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ffe74caab00b4202741d8d9e8a98ff88c692fe24a447d3a30c615d7c9d322353
MD5 0c5f0378fbf3989d4b98fed95826b5bd
BLAKE2b-256 a1739135c72a9a2edb7fac65b86b8a6ba6a7422aee1030f5d84512e291e59f39

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