# miRmap - Comprehensive prediction of microRNA target repression strength
The *miRmap* library is a Python library predicting the repression strength of microRNA (miRNA) targets. The model combines:
- **thermodynamic** features: *ΔG duplex*, *ΔG binding*, *ΔG seed duplex*, *ΔG seed binding*, *ΔG open* and *ΔG total*,
- **evolutionary** features: *BLS* and *PhyloP*,
- **probabilistic** features: *P.over binomial* and *P.over exact*, and
- **sequence-based** features: *AU content*, *UTR position* and *3' pairing*.
> **NOTE** This is a reimplementation by the same author of the miRmap library published in 2011 with most of the core algorithm unchanged. Please refer to the [miRmap1](https://git.sr.ht/~vejnar/miRmap1) repository for the old library.
## Online
*miRmap* is available [online](https://mirmap.ezlab.org).
## Download
See [refs](https://git.sr.ht/~vejnar/miRmap/refs) page.
## Citation
If you use miRmap for your research, please cite:
> Charles E. Vejnar and Evgeny M. Zdobnov<br>
> miRmap: Comprehensive prediction of microRNA target repression strength<br>
> Nucleic Acids Research 2012 Dec 1;40(22):11673-83. doi: [10.1093/nar/gks901](https://doi.org/10.1093/nar/gks901)
## Installation
### External dependencies
1. The [Spatt](https://nuel.perso.math.cnrs.fr/spatt) library is necessary for the *P.over exact* feature.
Download the latest [Spatt](https://nuel.perso.math.cnrs.fr/spatt) tarball (Version 2.1 was successfully tested), then do:
```bash
cd spatt-<version>
mkdir build
cd build
cmake -DWITH_SHARED_LIB=ON ..
make
```
To create the library at `libspatt2/libspatt2.so`.
2. [PHAST](http://compgen.bscb.cornell.edu/phast) is necessary for the evolutionary features. Compilation instructions of PHAST are available in this [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=phast).
### Using `pip`
After installing external dependencies, install *miRmap*:
```bash
pip3 install mirmap
```
Python dependencies [ViennaRNA](https://pypi.org/project/ViennaRNA) and [dendropy](https://pypi.org/project/DendroPy) will be installed from [PyPI](https://pypi.org/).
## Example
```python
import mirmap.target
utr_seq = "ATAGACTGTACATTATGAAGAATACCCAGGAAGACTTTGTGACTGTCACTTGCTGCTTTTTCTGCGCTTCAGTAACAAGT"
mirna_seq = "UAGCAGCACGUAAAUAUUGGCG".replace("U", "T")
targets = mirmap.target.find_targets_with_seed(utr_seq, mirna_seq)
print(targets[0].report())
``````
This will return:
```
36 57
| |
CAGGAAGACTTTGTGACTGTCACTTGCTGCTTTTTCTGCGCT
|||||||
GCGGTTATAAATGCACGACGAT
```
Then we can calculate the scores of the miRNA target:
```python
import mirmap.if_lib_spatt
import mirmap.scores
if_spatt = mirmap.if_lib_spatt.Spatt("bin/linux_x86_64/libspatt2.so")
scores = mirmap.scores.calc_scores(
targets[0],
if_spatt=if_spatt,
)
print(mirmap.scores.report_scores(scores))
```
This will return:
```
ΔG duplex (kcal/mol) -13.8
ΔG binding (kcal/mol) -11.95
ΔG open (kcal/mol) 14.03
ΔG total (kcal/mol) 0.2345
AU content 0.6574
UTR position 22.0
3' pairing 1.0
TargetScan score 23.66
Probability (Exact) 0.03813
Probability (Binomial) 0.006405
Conservation (BLS) 0.0
Conservation (PhyloP) 1.0
miRmap score -0.3122
```
## License
The *miRmap* library is distributed under the GNU GPL v3 (see /LICENSE).
Copyright © 2011-2024 Charles E. Vejnar
Raw data
{
"_id": null,
"home_page": "",
"name": "miRmap",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "",
"author": "Charles E. Vejnar",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/98/6d/5f2cf1899638f660f7171ea4aea4c78b705c63615384963721f7f2bd9c9c/miRmap-2.0.0.tar.gz",
"platform": null,
"description": "# miRmap - Comprehensive prediction of microRNA target repression strength\n\nThe *miRmap* library is a Python library predicting the repression strength of microRNA (miRNA) targets. The model combines:\n\n - **thermodynamic** features: *\u0394G duplex*, *\u0394G binding*, *\u0394G seed duplex*, *\u0394G seed binding*, *\u0394G open* and *\u0394G total*,\n - **evolutionary** features: *BLS* and *PhyloP*,\n - **probabilistic** features: *P.over binomial* and *P.over exact*, and\n - **sequence-based** features: *AU content*, *UTR position* and *3' pairing*.\n\n> **NOTE** This is a reimplementation by the same author of the miRmap library published in 2011 with most of the core algorithm unchanged. Please refer to the [miRmap1](https://git.sr.ht/~vejnar/miRmap1) repository for the old library.\n\n## Online\n\n*miRmap* is available [online](https://mirmap.ezlab.org).\n\n## Download\n\nSee [refs](https://git.sr.ht/~vejnar/miRmap/refs) page.\n\n## Citation\n\nIf you use miRmap for your research, please cite:\n\n> Charles E. Vejnar and Evgeny M. Zdobnov<br>\n> miRmap: Comprehensive prediction of microRNA target repression strength<br>\n> Nucleic Acids Research 2012 Dec 1;40(22):11673-83. doi: [10.1093/nar/gks901](https://doi.org/10.1093/nar/gks901)\n\n## Installation\n\n### External dependencies\n\n1. The [Spatt](https://nuel.perso.math.cnrs.fr/spatt) library is necessary for the *P.over exact* feature.\n\n Download the latest [Spatt](https://nuel.perso.math.cnrs.fr/spatt) tarball (Version 2.1 was successfully tested), then do:\n\n ```bash\n cd spatt-<version>\n mkdir build\n cd build\n cmake -DWITH_SHARED_LIB=ON ..\n make\n ```\n\n To create the library at `libspatt2/libspatt2.so`.\n\n2. [PHAST](http://compgen.bscb.cornell.edu/phast) is necessary for the evolutionary features. Compilation instructions of PHAST are available in this [PKGBUILD](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=phast).\n\n### Using `pip`\n\nAfter installing external dependencies, install *miRmap*:\n```bash\npip3 install mirmap\n```\n\nPython dependencies [ViennaRNA](https://pypi.org/project/ViennaRNA) and [dendropy](https://pypi.org/project/DendroPy) will be installed from [PyPI](https://pypi.org/).\n\n## Example\n\n```python\nimport mirmap.target\n\nutr_seq = \"ATAGACTGTACATTATGAAGAATACCCAGGAAGACTTTGTGACTGTCACTTGCTGCTTTTTCTGCGCTTCAGTAACAAGT\"\nmirna_seq = \"UAGCAGCACGUAAAUAUUGGCG\".replace(\"U\", \"T\")\n\ntargets = mirmap.target.find_targets_with_seed(utr_seq, mirna_seq)\nprint(targets[0].report())\n``````\nThis will return:\n```\n 36 57\n | |\nCAGGAAGACTTTGTGACTGTCACTTGCTGCTTTTTCTGCGCT\n |||||||\n GCGGTTATAAATGCACGACGAT\n```\nThen we can calculate the scores of the miRNA target:\n```python\nimport mirmap.if_lib_spatt\nimport mirmap.scores\n\nif_spatt = mirmap.if_lib_spatt.Spatt(\"bin/linux_x86_64/libspatt2.so\")\n\nscores = mirmap.scores.calc_scores(\n targets[0],\n if_spatt=if_spatt,\n)\nprint(mirmap.scores.report_scores(scores))\n```\nThis will return:\n```\n \u0394G duplex (kcal/mol) -13.8\n \u0394G binding (kcal/mol) -11.95\n \u0394G open (kcal/mol) 14.03\n \u0394G total (kcal/mol) 0.2345\n AU content 0.6574\n UTR position 22.0\n 3' pairing 1.0\n TargetScan score 23.66\n Probability (Exact) 0.03813\n Probability (Binomial) 0.006405\n Conservation (BLS) 0.0\n Conservation (PhyloP) 1.0\n miRmap score -0.3122\n```\n\n## License\n\nThe *miRmap* library is distributed under the GNU GPL v3 (see /LICENSE).\n\nCopyright \u00a9 2011-2024 Charles E. Vejnar\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "Comprehensive prediction of microRNA target repression strength",
"version": "2.0.0",
"project_urls": {
"homepage": "https://git.sr.ht/~vejnar/miRmap"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6ad7d7397a3d57d929bfbe42223013c60242a4d714d2e0f61f769aded2d1d949",
"md5": "4ea30e2d03e51f85959b642aff148c8c",
"sha256": "5d3bd491f6e66586051d3cf58970bce27cfd723c5c1aef3f028bd9e822924bf6"
},
"downloads": -1,
"filename": "miRmap-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4ea30e2d03e51f85959b642aff148c8c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 35504,
"upload_time": "2024-03-03T16:41:45",
"upload_time_iso_8601": "2024-03-03T16:41:45.114970Z",
"url": "https://files.pythonhosted.org/packages/6a/d7/d7397a3d57d929bfbe42223013c60242a4d714d2e0f61f769aded2d1d949/miRmap-2.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "986d5f2cf1899638f660f7171ea4aea4c78b705c63615384963721f7f2bd9c9c",
"md5": "fd13a7b3cf3fb27c6efe823cb9c47a3e",
"sha256": "d8cdcaa65d13456a342c297f55510d1d6f58a4ff3f94e5aee1959f3c01821b9c"
},
"downloads": -1,
"filename": "miRmap-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "fd13a7b3cf3fb27c6efe823cb9c47a3e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 1220074,
"upload_time": "2024-03-03T16:41:47",
"upload_time_iso_8601": "2024-03-03T16:41:47.493913Z",
"url": "https://files.pythonhosted.org/packages/98/6d/5f2cf1899638f660f7171ea4aea4c78b705c63615384963721f7f2bd9c9c/miRmap-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-03 16:41:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "mirmap"
}