
# MacSyLib
MacSyLib is a python package library that allow to model and detect macromolecular systems, genetic pathways…
by similarity search in prokaryotes datasets.
[](https://github.com/gem-pasteur/macsylib/actions/workflows/testing.yml)
[](http://macsylib.readthedocs.org/en/latest/#)
[](https://pypi.org/project/macsylib/)
[](https://opensource.org/licenses/GPL-3.0)
[](https://pypi.org/project/macsylib/)
[](https://github.com/bioconda/bioconda-recipes/tree/master/recipes/macsylib)
[](https://archive.softwareheritage.org/browse/origin/?origin_url=https://github.com/gem-pasteur/macsylib)
[](https://archive.softwareheritage.org/swh:1:dir:cbb7c2e40ba02825297590edf6734ee64800d3e1;origin=https://github.com/gem-pasteur/macsylib;visit=swh:1:snp:c1e51a6ffb6ac45cae6aecde26217fa05003f225;anchor=swh:1:rev:5da144b39117f614543edfc5b06aba099d97f586)
[](https://www.bestpractices.dev/projects/10994)
[](https://fairsoftwarechecklist.net/v0.2?f=31&a=32113&i=32321&r=133)
## 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 [](https://opensource.org/licenses/GPL-3.0)
## 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](https://virtualenv.pypa.io/en/latest/)
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*
```bash
python -m pip install .[model]
```
For the *developpers*
```bash
python -m pip install -e .[dev]
```
For someone who is both *developper* and *modeler*
```bash
python -m pip install -e [dev,model]
```
For the developers:
Once you have installed macsylib do not forget to install pre-commit hooks
```bash
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](https://github.com/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](https://macsylib.readthedocs.io/en/latest/user_guide/installation.html#models-installation-with-macsydata)
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](CONTRIBUTING.md).
## Contributors
[List of all people who participated in the macsylib project](CONTRIBUTORS.md).
Raw data
{
"_id": null,
"home_page": null,
"name": "MacSyLib",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Bertrand Neron <bneron@pasteur.fr>",
"keywords": "science, research, bioinformatic, microbiology, genomic, prokaryote, functional gene annotation",
"author": null,
"author_email": "Sophie Abby <sophie.abby@univ-grenoble-alpes.fr>, Bertrand Neron <bneron@pasteur.fr>",
"download_url": "https://files.pythonhosted.org/packages/bd/d1/4754a9f04252c6d517d29854bc57162d82bfbc649ecff576477b4c2c379e/macsylib-1.0.2.tar.gz",
"platform": null,
"description": "\n\n\n# MacSyLib\n\nMacSyLib is a python package library that allow to model and detect macromolecular systems, genetic pathways\u2026\nby similarity search in prokaryotes datasets.\n\n[](https://github.com/gem-pasteur/macsylib/actions/workflows/testing.yml)\n\n[](http://macsylib.readthedocs.org/en/latest/#)\n\n[](https://pypi.org/project/macsylib/)\n\n[](https://opensource.org/licenses/GPL-3.0)\n\n[](https://pypi.org/project/macsylib/)\n[](https://github.com/bioconda/bioconda-recipes/tree/master/recipes/macsylib)\n\n[](https://archive.softwareheritage.org/browse/origin/?origin_url=https://github.com/gem-pasteur/macsylib)\n[](https://archive.softwareheritage.org/swh:1:dir:cbb7c2e40ba02825297590edf6734ee64800d3e1;origin=https://github.com/gem-pasteur/macsylib;visit=swh:1:snp:c1e51a6ffb6ac45cae6aecde26217fa05003f225;anchor=swh:1:rev:5da144b39117f614543edfc5b06aba099d97f586)\n\n[](https://www.bestpractices.dev/projects/10994)\n[](https://fairsoftwarechecklist.net/v0.2?f=31&a=32113&i=32321&r=133)\n\n## Citations\n\nMacSyFinder v2:\nN\u00e9ron, Bertrand; Denise, R\u00e9mi; Coluzzi, Charles; Touchon, Marie; Rocha, Eduardo P.C.; Abby, Sophie S.\nMacSyFinder v2: Improved modelling and search engine to identify molecular systems in genomes.\nPeer Community Journal, Volume 3 (2023), article no. e28. doi : 10.24072/pcjournal.250.\nhttps://peercommunityjournal.org/articles/10.24072/pcjournal.250/\n\n## Licence:\n\nMacSyLib is developed and released under [](https://opensource.org/licenses/GPL-3.0)\n\n## Installation\n\n> [!IMPORTANT]\n> MacSyLib requires hmmer >= 3.1 (http://hmmer.org/).\n> You need to install hmmer by yourself (except if you install macsylib via *conda/mamba*).\n> If you are a modeler, you will need also `git`\n> The other dependencies are managed by the python package manager *pip*.\n\n### Installation from distribution\n\nWe encourage to install macsylib in a [virtualenv](https://virtualenv.pypa.io/en/latest/)\n\nAfter creating a virtualenv dedicated to MacSyLib and activating it\n\n python3 -m venv my_project\n cd my_project\n source bin/activate\n\nyou can install macsylib as described below:\n\nWe distinguish 3 kind of MacSyLib users:\n\n- The **end user**, who want to analyse it's data with the library\n- The **modeler**, who want to modelize new macromolecular systems\n- The **developer** who want to add or fix methods in the macsylib code\n\nBy default the installation is for the end user, if you are modeler or developer there is a specific pip target.\n\nFor instance for the *modelers*\n```bash\npython -m pip install .[model]\n```\n\nFor the *developpers*\n```bash\npython -m pip install -e .[dev]\n```\n\nFor someone who is both *developper* and *modeler*\n\n```bash\npython -m pip install -e [dev,model]\n```\n\nFor the developers: \nOnce you have installed macsylib do not forget to install pre-commit hooks\n\n```bash\npre-commit install\n```\n\n## Models installation\n\nModels are no longer shipped along macsyfinder nor macsylib packages.\nTo install Models you can use `msl_data` (shipped with MacSyLib).\n*msl_data* (formely *macsydata*) allow to manage models stored in [macsy-models](https://github.com/macsy-models).\nBelow some most useful commands.\n\n * available: List Models available on macsy-models.\n * search: Discover new packages.\n * install: Install or upgarde packages.\n * uninstall: Uninstall packages.\n * cite: How to cite a package.\n * ...\n\nFor complete documentation see\n[macsydata section on readthedoc](https://macsylib.readthedocs.io/en/latest/user_guide/installation.html#models-installation-with-macsydata)\n\nFor models not stored in macsy-models the commands *available*, *search*, *installation from remote* or *upgrade from remote*\nare **NOT** available.\n\nFor models **Not** stored in *macsy-models*, you have to manage them semi-manually.\nDownload the archive (do not unarchive it), then use *msl_data* for the installation.\n\n## Use MacSyLib\n\n import macsylib\n\n\n## Contributing\n\nWe encourage contributions, bug report, enhancement ...\n\nBut before to do that, we encourage to read [the contributing guide](CONTRIBUTING.md).\n\n## Contributors\n\n[List of all people who participated in the macsylib project](CONTRIBUTORS.md).\n",
"bugtrack_url": null,
"license": null,
"summary": "MacSyLib: Python library that help to detect of macromolecular, systems genetic pathways\u2026 in prokaryotes protein datasets using systems modelling and similarity search.",
"version": "1.0.2",
"project_urls": {
"Changelog": "https://macsylib.readthedocs.io/en/latest/user_guide/new.html",
"Documentation": "https://macsylib.readthedocs.io/en/latest/",
"Homepage": "https://github.com/gem-pasteur/macsylib/",
"Issues": "https://github.com/gem-pasteur/macsylib/issues",
"Repository": "https://github.com/gem-pasteur/macsylib/"
},
"split_keywords": [
"science",
" research",
" bioinformatic",
" microbiology",
" genomic",
" prokaryote",
" functional gene annotation"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "9a3258431415f0dcd0af2fe3c35f02db9a2be1da74ef626bb19d596e8f956cae",
"md5": "34f7933d39a5b46b0b0597fe8075b2dc",
"sha256": "8ea82f14042c0b77ffd9c262f2274dff70a7a2286f18b7402f841e2cbccabb66"
},
"downloads": -1,
"filename": "macsylib-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "34f7933d39a5b46b0b0597fe8075b2dc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 136222,
"upload_time": "2025-08-18T14:34:00",
"upload_time_iso_8601": "2025-08-18T14:34:00.910321Z",
"url": "https://files.pythonhosted.org/packages/9a/32/58431415f0dcd0af2fe3c35f02db9a2be1da74ef626bb19d596e8f956cae/macsylib-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "bdd14754a9f04252c6d517d29854bc57162d82bfbc649ecff576477b4c2c379e",
"md5": "aafdb28576a9ec69ec3edbda7610e405",
"sha256": "1331352acf6dde94e7d758c2c6b44a32bcd8c34ecb556b57c27c69d174315f84"
},
"downloads": -1,
"filename": "macsylib-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "aafdb28576a9ec69ec3edbda7610e405",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 36446291,
"upload_time": "2025-08-18T14:34:03",
"upload_time_iso_8601": "2025-08-18T14:34:03.682597Z",
"url": "https://files.pythonhosted.org/packages/bd/d1/4754a9f04252c6d517d29854bc57162d82bfbc649ecff576477b4c2c379e/macsylib-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-18 14:34:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gem-pasteur",
"github_project": "macsylib",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "macsylib"
}