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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

msamdd-1.4.14-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.14-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: msamdd-1.4.14-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.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 202eed7aeaea5ea59d0c74f236a238e2a0ea661fe8625f0695034a5796a2d322
MD5 2941f4f5e0ff89cf94dcfaabac547266
BLAKE2b-256 4ac90f57eeacc6c30e2dd0c30d3f0641850161649f4a1c4e72424493f4a6705e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 805dc4f006b6a9f026f622418623867c5f8ed1f54f380709d29ac4d0acae1b76
MD5 77d0bc673f45124f8884c87c80209a6e
BLAKE2b-256 9a08cdd4b2a6c284521e350ef3b6824a8caf535fb579f06e6ea069c0652ca259

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.14-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0d78c91e64ee400bcf0833f3d479e018cea6dcf73770add8ca88d27fd26f1e88
MD5 74487180a526e2cdd03f352f7d9ccaf3
BLAKE2b-256 ce34548d0eb08d97d7f1d97ad128273cce06605aa599a2f960d724509d202e7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msamdd-1.4.14-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.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0e8867dc4a4faa23f749989c0927c57cd64c6c5ab84a47c54b67031803c8c1e4
MD5 9179fe3894333ad8f6143ee6676004b6
BLAKE2b-256 72e0d0d7ef46a5af0947dd929c6eef708db8af7c91838f089b6cacacbfd9c9fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93eaee45abbedc12122f05821a88307ff15f65a3175cc7735c5d3fc6c82b046a
MD5 36148d1fc65438bf6271eb1e2ff9ef73
BLAKE2b-256 34363942a7b28de96d7e72a00faa6fcdf62bbc8eaf3db84f9dfd447de36805c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.14-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 95fb5c42d2b3253bdb6f9ea7cd2795ce964a514c3086c20645aa33a3eef45a67
MD5 35d9f7210dabe572ea9993a12f6a4951
BLAKE2b-256 4b3f7189099b930087f018133849f6f9cf1d3d8c82c78396b4feca155afb9a8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: msamdd-1.4.14-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.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8346529ebcf3354adb43a357d235f490d23eec08a0a19dd0dfbdfa2dd5cc76e3
MD5 0bbe9966d6e7ae3a4b995674c9531171
BLAKE2b-256 44393f0b96e50fe4820b78eab21456e4e20f034acd25d74a798712a49ebd752c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f21da5f311aa9da87239787e878fd92fcf5da39f7b646606579861640d232dc
MD5 9bc12eef953984a5d63e74670067189d
BLAKE2b-256 e6f4bf96b207cb337a191a671b77caf7b73c623ae73664eecca187be3a02ca55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for msamdd-1.4.14-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d660f58f2192259b7e31a3ecd455c64c579a2576efaa1edb499ad55f6df89cb8
MD5 3ea7dd3135b9031072c03651f0458573
BLAKE2b-256 347dc0f71f93a93e84b369325fafc206ee2eb5ee19482bfd31fbe239f9b102d3

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