Skip to main content

MacSyLib: Python library that help to detect of macromolecular, systems genetic pathways… in prokaryotes protein datasets using systems modelling and similarity search.

Project description

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.

Project details


Download files

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

Source Distribution

macsylib-1.0.1.tar.gz (36.4 MB view details)

Uploaded Source

Built Distribution

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

macsylib-1.0.1-py3-none-any.whl (136.2 kB view details)

Uploaded Python 3

File details

Details for the file macsylib-1.0.1.tar.gz.

File metadata

  • Download URL: macsylib-1.0.1.tar.gz
  • Upload date:
  • Size: 36.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for macsylib-1.0.1.tar.gz
Algorithm Hash digest
SHA256 52ce2ac8fa4d66978577ae668a392f0c4401c9ac59b7c65224099ad97f57a738
MD5 98cfbc6744694a2b627f94d77a1055b5
BLAKE2b-256 7125d243bcb36a575f042618fc4f7d655db3127c5ab3b57e8577880e7ea63cfc

See more details on using hashes here.

File details

Details for the file macsylib-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: macsylib-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 136.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for macsylib-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21b1a4a2f80829f48361c495225d004b612b93282954fca52676174604d0d056
MD5 3138a492b77ed88a62ef4f7603c2dc2a
BLAKE2b-256 eaa85bf273dbdf6d87dcc96fc60cf5066a06ba65b0559c8553f98db18ee0663a

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