Quantifying multiway (higher-order) alignment with mutual information
Project description
multiway-alignment
This repository implements an algorithm for quantifying multiway alignment or higher-order alignment, that is, the alignment across n different dimensions. You can refer to the slide deck for the original idea.
Structure of the repo
\multiway_alignment\
: source code\tests\
: tests for the source code
Installing the package
From PIP
This package can be installed directly from the Python Package Index (PyPI) using pip
from the command-line interface by executing the following command:
$ pip install multiway-alignment
Build from source
Alternatively, the package can be installed by first cloning the repository containing the source code and then installing the package locally in a chosen directory:
$ git clone git@github.com:letiziaia/multiway-alignment.git
$ cd multiway-alignment
$ pip install .
Setting up the development environment
You should have python >= 3.10 and pipenv installed.
# install dependencies (including dev)
$ pipenv install --dev
# activate environment
$ pipenv shell
Formatting
The project uses Black, flake8 and ruff code linting.
All the code can be formatted by running python3 -m black .
in root dir.
Additional issues can be found by running python3 -m flake8 .
and python3 -m ruff check .
in root dir.
Tests
This code is built and tested for python 3.10, 3.11, and 3.12.
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
File details
Details for the file multiway_alignment-0.0.1.tar.gz
.
File metadata
- Download URL: multiway_alignment-0.0.1.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f21dc1221b43b1f5acfcf6d8e850f9dca6e45eaa1ccc479f8a0d60418ce9dbc |
|
MD5 | d03c0b3544417d47e1e67f3e63acf3c0 |
|
BLAKE2b-256 | 7287f52c997756e4c146de41c622cce1006107a9c42f2e9e0ba49231f1f8437b |
File details
Details for the file multiway_alignment-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: multiway_alignment-0.0.1-py3-none-any.whl
- Upload date:
- Size: 33.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b27000b3ce53491a1056e57087cdcf086502bca13eb2845cb12abf20506620e |
|
MD5 | f47391ba9230a444286a5bc86770e133 |
|
BLAKE2b-256 | 47177acc95906c993f0a08315b9a8a5dd1c155c95555e880b09df0c3bab82c6e |