linearfold-unofficial


Namelinearfold-unofficial JSON
Version 0.1 PyPI version JSON
download
home_pagehttps://github.com/ChangLabSNU/python-linearfold
SummaryPython interface to LinearFold, a linear-time RNA secondary structure prediction tool
upload_time2023-08-04 15:02:42
maintainer
docs_urlNone
authorHyeshik Chang
requires_python
licenseMIT
keywords rna secondary structure rna structure
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-linearfold

Unofficial CPython binding to LinearFold

### Installation

Use `pip` to install the module.

```bash
pip install linearfold-unofficial
```

You may build from the source code for unsupported Python versions or platforms.

```bas
git clone --recursive https://github.com/ChangLabSNU/python-linearfold
cd python-linearfold
pip install .
```

### Usage

The module currently only has one function called `fold(seq)`, and
it doesn't have any customizable options other than the defaults.
The seq parameter should be an RNA sequence in *uppercase* letters,
and any `T` should be converted to `U` before passing it to the function.

```python
>>> import linearfold
>>> seq = 'UGUCGGGUAGCUUAUCAGACUGAUGUUGACUGUUGAAUCUCAUGGCAACACCAGUCGAUGGGCUGUCUGACA'
>>> linearfold.fold(seq)
('((((((((((((((((.(((((.(((((.(((.(((...))))))))))).)))))))))))))))))))))', -34.6)
```

The function returns a tuple with two elements. The first element
is the predicted MFE structure, and the second element is the free
energy of the structure in kcal/mol.

### Author

Hyeshik Chang <hyeshik@snu.ac.kr>

### License

This Python binding is licensed under [the MIT-style license](LICENSE).
However, the compiled binary includes code from the LinearFold
package, which is licensed for non-commercial use.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ChangLabSNU/python-linearfold",
    "name": "linearfold-unofficial",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "RNA,secondary structure,RNA structure",
    "author": "Hyeshik Chang",
    "author_email": "hyeshik@snu.ac.kr",
    "download_url": "https://files.pythonhosted.org/packages/7e/96/0e96a3aba7b6b2a4585a57dcbc89010ffa7f635d3f6747f199bd73c825bd/linearfold-unofficial-0.1.tar.gz",
    "platform": null,
    "description": "# python-linearfold\n\nUnofficial CPython binding to LinearFold\n\n### Installation\n\nUse `pip` to install the module.\n\n```bash\npip install linearfold-unofficial\n```\n\nYou may build from the source code for unsupported Python versions or platforms.\n\n```bas\ngit clone --recursive https://github.com/ChangLabSNU/python-linearfold\ncd python-linearfold\npip install .\n```\n\n### Usage\n\nThe module currently only has one function called `fold(seq)`, and\nit doesn't have any customizable options other than the defaults.\nThe seq parameter should be an RNA sequence in *uppercase* letters,\nand any `T` should be converted to `U` before passing it to the function.\n\n```python\n>>> import linearfold\n>>> seq = 'UGUCGGGUAGCUUAUCAGACUGAUGUUGACUGUUGAAUCUCAUGGCAACACCAGUCGAUGGGCUGUCUGACA'\n>>> linearfold.fold(seq)\n('((((((((((((((((.(((((.(((((.(((.(((...))))))))))).)))))))))))))))))))))', -34.6)\n```\n\nThe function returns a tuple with two elements. The first element\nis the predicted MFE structure, and the second element is the free\nenergy of the structure in kcal/mol.\n\n### Author\n\nHyeshik Chang <hyeshik@snu.ac.kr>\n\n### License\n\nThis Python binding is licensed under [the MIT-style license](LICENSE).\nHowever, the compiled binary includes code from the LinearFold\npackage, which is licensed for non-commercial use.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python interface to LinearFold, a linear-time RNA secondary structure prediction tool",
    "version": "0.1",
    "project_urls": {
        "Download": "https://github.com/ChangLabSNU/python-linearfold/releases",
        "Homepage": "https://github.com/ChangLabSNU/python-linearfold"
    },
    "split_keywords": [
        "rna",
        "secondary structure",
        "rna structure"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7080064d01b91659a277d49cfdf046edc9735aaeec75a5545f2c136c0effef75",
                "md5": "012cd86dafbad1b74fdd8854bfcfa3ef",
                "sha256": "77cd58bdfc1d114f115fd3a4020f7079d2495ba1fba8cd0de4250a070bd9ecbb"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "012cd86dafbad1b74fdd8854bfcfa3ef",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 1036658,
            "upload_time": "2023-08-04T15:02:16",
            "upload_time_iso_8601": "2023-08-04T15:02:16.874681Z",
            "url": "https://files.pythonhosted.org/packages/70/80/064d01b91659a277d49cfdf046edc9735aaeec75a5545f2c136c0effef75/linearfold_unofficial-0.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "92a8cb615b91ee332fc3979fc0935663445447585d543c29b23289e08542077d",
                "md5": "1eb6280a7430ab59a027abbb05ce435a",
                "sha256": "31a6c9e0ab08e7db1fa1e7ba3a932372374bfdeae90e5c7f48698561c185c8d1"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "1eb6280a7430ab59a027abbb05ce435a",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1037127,
            "upload_time": "2023-08-04T15:02:19",
            "upload_time_iso_8601": "2023-08-04T15:02:19.828802Z",
            "url": "https://files.pythonhosted.org/packages/92/a8/cb615b91ee332fc3979fc0935663445447585d543c29b23289e08542077d/linearfold_unofficial-0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "395fae76df3876e3ff25bda8266c13d8c71c7406d13146e016467bb58d117f23",
                "md5": "a36a44891fcd6e8213f39b84a9d787a6",
                "sha256": "f91ce324ab556c3cf1727664558311332b73be0ca53f486826df28457fdfe786"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a36a44891fcd6e8213f39b84a9d787a6",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 1038032,
            "upload_time": "2023-08-04T15:02:22",
            "upload_time_iso_8601": "2023-08-04T15:02:22.671997Z",
            "url": "https://files.pythonhosted.org/packages/39/5f/ae76df3876e3ff25bda8266c13d8c71c7406d13146e016467bb58d117f23/linearfold_unofficial-0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca6f1b2d3328e7090e94421f0c2437fd0733cec7923d8fb1fb6a3bfdbeca6c40",
                "md5": "df7775655ad0fd5bf7f2ca10915d5933",
                "sha256": "ee631fa1f288eba54f659572f70d0c5bd1b491c76d069fcf70cafbed6737508c"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp36-cp36m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "df7775655ad0fd5bf7f2ca10915d5933",
            "packagetype": "bdist_wheel",
            "python_version": "cp36",
            "requires_python": null,
            "size": 1036411,
            "upload_time": "2023-08-04T15:02:25",
            "upload_time_iso_8601": "2023-08-04T15:02:25.660619Z",
            "url": "https://files.pythonhosted.org/packages/ca/6f/1b2d3328e7090e94421f0c2437fd0733cec7923d8fb1fb6a3bfdbeca6c40/linearfold_unofficial-0.1-cp36-cp36m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dcd27b0689eea0bb333070a4f7b0c2efba9ef806067c691d082717d370418dad",
                "md5": "cd2ac64d18369c3baef758a17a5f25b5",
                "sha256": "b3b38072fa8bd840c64bdd59f80ebf749d2e0e4c30b57a8cc01669710411afc1"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp37-cp37m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cd2ac64d18369c3baef758a17a5f25b5",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1037979,
            "upload_time": "2023-08-04T15:02:28",
            "upload_time_iso_8601": "2023-08-04T15:02:28.105232Z",
            "url": "https://files.pythonhosted.org/packages/dc/d2/7b0689eea0bb333070a4f7b0c2efba9ef806067c691d082717d370418dad/linearfold_unofficial-0.1-cp37-cp37m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80edef6ed34f9836b64abbfb1837138910bc3115a0a1946c7ad65e8fbb27b972",
                "md5": "ed9489a5e05a8f56c7af9555b9a6a139",
                "sha256": "8d93f08ae0c3f6a89a9e9fac017031b35f80e010094479cf952c2d6eb3a268b6"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ed9489a5e05a8f56c7af9555b9a6a139",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 1036470,
            "upload_time": "2023-08-04T15:02:29",
            "upload_time_iso_8601": "2023-08-04T15:02:29.954203Z",
            "url": "https://files.pythonhosted.org/packages/80/ed/ef6ed34f9836b64abbfb1837138910bc3115a0a1946c7ad65e8fbb27b972/linearfold_unofficial-0.1-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1838fd6e42db61fcc40f7dbc989d8b53ea41f9ec67943f01d46282804f14741",
                "md5": "009c4a8b3e18822f23b284a8e563e6c0",
                "sha256": "2990ce774439b9782616bfd2d58c888fef0701bb9b4edd6504374173ca953331"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "009c4a8b3e18822f23b284a8e563e6c0",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 1036453,
            "upload_time": "2023-08-04T15:02:32",
            "upload_time_iso_8601": "2023-08-04T15:02:32.738442Z",
            "url": "https://files.pythonhosted.org/packages/d1/83/8fd6e42db61fcc40f7dbc989d8b53ea41f9ec67943f01d46282804f14741/linearfold_unofficial-0.1-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7edfca793c8a8ca2db35b03dd8ed00c5c9788645e76241f79cf613521d3d03e3",
                "md5": "a8b0083143d1a82cac645c69a578708f",
                "sha256": "c58ced60c27438e7f0bd72d759b3e3b1282463cdb8b10235abd7e2466da9d357"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-pp310-pypy310_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a8b0083143d1a82cac645c69a578708f",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": null,
            "size": 95028,
            "upload_time": "2023-08-04T15:02:35",
            "upload_time_iso_8601": "2023-08-04T15:02:35.116021Z",
            "url": "https://files.pythonhosted.org/packages/7e/df/ca793c8a8ca2db35b03dd8ed00c5c9788645e76241f79cf613521d3d03e3/linearfold_unofficial-0.1-pp310-pypy310_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4cbed9370a710c317c2a07c39685ce4f088378e3e11c78e2a51376bbfd7cac07",
                "md5": "a6ed96993ce528c501803d19a6c10c4c",
                "sha256": "54cec27d10bda9acaba11ef37fadadcd1aeff22b8e7420b659d531f06a344a11"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a6ed96993ce528c501803d19a6c10c4c",
            "packagetype": "bdist_wheel",
            "python_version": "pp37",
            "requires_python": null,
            "size": 96175,
            "upload_time": "2023-08-04T15:02:36",
            "upload_time_iso_8601": "2023-08-04T15:02:36.719324Z",
            "url": "https://files.pythonhosted.org/packages/4c/be/d9370a710c317c2a07c39685ce4f088378e3e11c78e2a51376bbfd7cac07/linearfold_unofficial-0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "39ffd3b60bd777cb0cbb8a3d9ddb13dda394c23257daa8f27fd94fee83c027e9",
                "md5": "35df40ec79225201de71d1768104d15d",
                "sha256": "f47d9cb6cb79a01918e23361aa3437b2c8ddf4ebeb68982388e29eb2a6f123ae"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "35df40ec79225201de71d1768104d15d",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": null,
            "size": 95020,
            "upload_time": "2023-08-04T15:02:39",
            "upload_time_iso_8601": "2023-08-04T15:02:39.099459Z",
            "url": "https://files.pythonhosted.org/packages/39/ff/d3b60bd777cb0cbb8a3d9ddb13dda394c23257daa8f27fd94fee83c027e9/linearfold_unofficial-0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ec99bb2e55329085f3dacffafa09d58ca2cb7b4fb06a0ea6c1fb81ae7aef40a0",
                "md5": "13d7a788e69c9a855cf9ea0e293e2c8a",
                "sha256": "55aa40f5dc36a9e0e6a16dd1b4a10b4ad10ad4b4df0a0dad4bf61435072591f8"
            },
            "downloads": -1,
            "filename": "linearfold_unofficial-0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "13d7a788e69c9a855cf9ea0e293e2c8a",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": null,
            "size": 95022,
            "upload_time": "2023-08-04T15:02:41",
            "upload_time_iso_8601": "2023-08-04T15:02:41.587828Z",
            "url": "https://files.pythonhosted.org/packages/ec/99/bb2e55329085f3dacffafa09d58ca2cb7b4fb06a0ea6c1fb81ae7aef40a0/linearfold_unofficial-0.1-pp39-pypy39_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e960e96a3aba7b6b2a4585a57dcbc89010ffa7f635d3f6747f199bd73c825bd",
                "md5": "47697ec678dfd0c283473c247e883ecb",
                "sha256": "7e3e7faf08f9a79fb068a1a7460f59d644d53778e9d1fa173cafb442bb568723"
            },
            "downloads": -1,
            "filename": "linearfold-unofficial-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "47697ec678dfd0c283473c247e883ecb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4912,
            "upload_time": "2023-08-04T15:02:42",
            "upload_time_iso_8601": "2023-08-04T15:02:42.751615Z",
            "url": "https://files.pythonhosted.org/packages/7e/96/0e96a3aba7b6b2a4585a57dcbc89010ffa7f635d3f6747f199bd73c825bd/linearfold-unofficial-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-04 15:02:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ChangLabSNU",
    "github_project": "python-linearfold",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "linearfold-unofficial"
}
        
Elapsed time: 0.15787s