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.15-cp312-cp312-win_amd64.whl (667.5 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

msamdd-1.4.15-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.15-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: msamdd-1.4.15-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.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e0f45a8c0aa370cf00d4141504200b6d717ee598a5bc9d837486c3e9cf6d6950
MD5 f96529ca5ca1e744e9d47cf994f5b338
BLAKE2b-256 f37fc7eb77ee891ac01499472be7463a014921b24951c9f126b24240c6a16c18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f4dc590e5739362bab48f1ae671859b529a2ed55035fcf6e48184d2717da346
MD5 6bf5a754f25909419e1ce2c3f0496e20
BLAKE2b-256 e05d88b821652c41de31db68b3ad0b9ee90fa4493704fb0aad108860c2eebc6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.15-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ff6fa72cdc9d1e0ede2cddc5d4694eaf16872cff4db731ebd92a058acf4a1372
MD5 9cc80e13f61e22728cc5fb17336e6129
BLAKE2b-256 b9743271b99520db7a9a955cd9bed0cfcdf954a1040f6eeaf3d449ccf887ac97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msamdd-1.4.15-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.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5293f1596f7eff7847d6df991e5e7f3613f3af133a6d3fc51d38b7720025e270
MD5 3c741daa4138bb8c81f9cc3adf44c9ca
BLAKE2b-256 5fbbe004637c021b623fd11e5324ecf0fce672fa3b357c8a8d1d3215a7099241

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34c2f553ec0d2dfda0b60fb851b767aaabd7bdd44662f3fe68e9fb6618556c9e
MD5 2e0e06e8e2bb8303cda75620c35c4d0e
BLAKE2b-256 e61b5796016988ac8c7d75ac81db29a9fe2582c3daafc155081b39c0d19f92ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.15-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 51b43d42f0049c0af3e0159349fb31cea500bc0bbfebe71cc8474b9145b21e29
MD5 47847e08ba4080f40a01221fef4213fc
BLAKE2b-256 767dc2616d0ab78626d55674a0bbc9cca09285b1464bfb1e9fb5cb353a2720cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msamdd-1.4.15-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.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cbf790f0200b1e1bb22d73d3e546c57a58a0f70cae858f6731e28e8ec4a0c26e
MD5 afc438f2e9dadf5b66cb1314666c7af5
BLAKE2b-256 30a35473f084cb8172a76abf180bba1450924aed0b3dfbab4242a3686b5bf8f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9edafd01e83553ed7d1a55256126ade2361429f02ab266bd07a59bfdbb4857d2
MD5 00d85fd2cb61df01c36415bb2dab660d
BLAKE2b-256 1eff0880f0d9172d4d86b21d140d9beb36272394e944888ae485f0aa46cbb9ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.15-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7eda099273cf638509c7229bb55ec0eede7a478efef53c64ea7bd4ba0dd98ff3
MD5 b129ef26ec850ef4499eddecf36beaa0
BLAKE2b-256 0fddeaf586ff4d86d9e70d1971c8c799900014c12360e3a8add2270fef423913

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