Skip to main content

MacSyLib banner

MacSyLib

MacSyLib is a python package library that allow to model and detect macromolecular systems, genetic pathways… by similarity search in prokaryotes datasets.

Build Status

Doc

PyPI - Python Version

Open Source License: GPL v3

PyPI Conda

SWH SWH

OpenSSF Best Practices FAIR checklist badge

Citations

MacSyFinder v2: Néron, Bertrand; Denise, Rémi; Coluzzi, Charles; Touchon, Marie; Rocha, Eduardo P.C.; Abby, Sophie S. MacSyFinder v2: Improved modelling and search engine to identify molecular systems in genomes. Peer Community Journal, Volume 3 (2023), article no. e28. doi : 10.24072/pcjournal.250. https://peercommunityjournal.org/articles/10.24072/pcjournal.250/

Licence:

MacSyLib is developed and released under Open Source License: GPL v3

Installation

[!IMPORTANT] MacSyLib requires hmmer >= 3.1 (http://hmmer.org/). You need to install hmmer by yourself (except if you install macsylib via conda/mamba). If you are a modeler, you will need also git The other dependencies are managed by the python package manager pip.

Installation from distribution

We encourage to install macsylib in a virtualenv

After creating a virtualenv dedicated to MacSyLib and activating it

python3 -m venv my_project
cd my_project
source bin/activate

you can install macsylib as described below:

We distinguish 3 kind of MacSyLib users:

  • The end user, who want to analyse it's data with the library
  • The modeler, who want to modelize new macromolecular systems
  • The developer who want to add or fix methods in the macsylib code

By default the installation is for the end user, if you are modeler or developer there is a specific pip target.

For instance for the modelers

python -m pip install .[model]

For the developpers

python -m pip install -e .[dev]

For someone who is both developper and modeler

python -m pip install -e [dev,model]

For the developers:
Once you have installed macsylib do not forget to install pre-commit hooks

pre-commit install

Models installation

Models are no longer shipped along macsyfinder nor macsylib packages. To install Models you can use msl_data (shipped with MacSyLib). msl_data (formely macsydata) allow to manage models stored in macsy-models. Below some most useful commands.

  • available: List Models available on macsy-models.
  • search: Discover new packages.
  • install: Install or upgarde packages.
  • uninstall: Uninstall packages.
  • cite: How to cite a package.
  • ...

For complete documentation see macsydata section on readthedoc

For models not stored in macsy-models the commands available, search, installation from remote or upgrade from remote are NOT available.

For models Not stored in macsy-models, you have to manage them semi-manually. Download the archive (do not unarchive it), then use msl_data for the installation.

Use MacSyLib

import macsylib

Contributing

We encourage contributions, bug report, enhancement ...

But before to do that, we encourage to read the contributing guide.

Contributors

List of all people who participated in the macsylib project.

Release files for MacSyLib 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MacSyLib 1.0.4
File Size Uploaded
macsylib-1.0.4.tar.gz 36.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for MacSyLib 1.0.4
File Interpreter ABI Platform
macsylib-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 36.6 MB

Release files / macsylib-1.0.4.tar.gz

Download URL macsylib-1.0.4.tar.gz
Size 36.5 MB
Tags Source
SHA-256 checksum
How to use checksums
084cf0ff7c89642d925bd1457f6ed32089d0be50b8ad726c5d75026efa438abb
BLAKE2b-256 checksum
How to use checksums
6d75e6231d7b16e195f23b19596d6a5c10d7b416fc82a215bed5e627500211ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / macsylib-1.0.4-py3-none-any.whl

Download URL macsylib-1.0.4-py3-none-any.whl
Size 139.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0137818d64da2c55a204eebcff576397ef3ac8cb6eb2008036a37e586aa499b
BLAKE2b-256 checksum
How to use checksums
1dcefea96c80aa0e8f75f05eb480b9846a9efeb6c7ab920157542f688cf83286
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page