{ "info": { "author": "Matteo Manica", "author_email": "drugilsberg@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![Build Status](https://travis-ci.org/drugilsberg/uniprot_fasta_parser.svg?branch=master)](https://travis-ci.org/drugilsberg/uniprot_fasta_parser)\n[![codecov](https://codecov.io/gh/drugilsberg/uniprot_fasta_parser/branch/master/graph/badge.svg)](https://codecov.io/gh/drugilsberg/uniprot_fasta_parser)\n[![Updates](https://pyup.io/repos/github/drugilsberg/uniprot_fasta_parser/shield.svg)](https://pyup.io/repos/github/drugilsberg/uniprot_fasta_parser/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPI version](https://badge.fury.io/py/upfp.svg)](https://badge.fury.io/py/upfp)\n# uniprot_fasta_parser\n\nUniProt FASTA parser written in pure python.\n\n## Development setup\n\nCreate a `venv`:\n\n```sh\npython -m venv venv\n```\n\nActivate it:\n\n```sh\nsource venv/bin/activate\n```\n\nInstall dependencies:\n\n```sh\npip install -r requirements.txt\n```\n\nInstall the package in editable mode:\n\n```sh\npip install -e .\n```\n\nInstall `jupiter` playground:\n\n```sh\npip install jupyter\nipython kernel install --user --name=uniprot_fasta_parser\n```\n\n## Tutorial on converting FASTA sequences into CSV format\n\nGet the latest FASTA from UniProt SwissProt:\n\n```sh\nwget ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.fasta.gz\n```\n\nThe script `upfp-fasta-to-csv` (installed with `upfp`) can be used.\n\n```console\nuser@host $ upfp-fasta-to-csv -h\nusage: upfp-fasta-to-csv [-h] [-g] [-c CHUNK_SIZE] fasta_filepath csv_filepath\n\npositional arguments:\n fasta_filepath path to the FASTA file\n csv_filepath path where to store the CSV file\n\noptional arguments:\n -h, --help show this help message and exit\n -g, --gzipped flag to indicate whether the FASTA is gzipped.\n Defaults to False.\n -c CHUNK_SIZE, --chunk_size CHUNK_SIZE\n size of the chunks us\n```\n\nProvide as input the downloaded gzipped FASTA file and convert it to CSV:\n\n```sh\nupfp-fasta-to-csv uniprot_sprot.fasta.gz /path/to/file.csv -g\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/drugilsberg/uniprot_fasta_parser", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "upfp", "package_url": "https://pypi.org/project/upfp/", "platform": "", "project_url": "https://pypi.org/project/upfp/", "project_urls": { "Homepage": "https://github.com/drugilsberg/uniprot_fasta_parser" }, "release_url": "https://pypi.org/project/upfp/0.0.4/", "requires_dist": [ "pandas (>=0.24.2)" ], "requires_python": "", "summary": "UPFP, a package to parse UniProt FASTA files.", "version": "0.0.4" }, "last_serial": 5455289, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "1f24b7343786e683da3fa47e7a768a3b", "sha256": "c49a6f7043db1c85c15f48a890aa068a04288fcf4098e0b45b3dab5f4174b66c" }, "downloads": -1, "filename": "upfp-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1f24b7343786e683da3fa47e7a768a3b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7510, "upload_time": "2019-06-13T13:45:29", "url": "https://files.pythonhosted.org/packages/9c/53/095e775308b4fd607ad64a085850a9ac2d8556d9d83cc0417c14b43011bd/upfp-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9addcf3b2019ac1861421b5876e1071d", "sha256": "a0e205f3758906f2dd8006713684e5b55756d958f7e9c3d1d16a0a567812be3a" }, "downloads": -1, "filename": "upfp-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9addcf3b2019ac1861421b5876e1071d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5176, "upload_time": "2019-06-13T13:45:31", "url": "https://files.pythonhosted.org/packages/b0/5c/592db8d1e2e5720f05ec5a17bf0d268093b9da486793a03a507627f864fd/upfp-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "8e88b608becece2a00e7cfb5102da755", "sha256": "df6cbd31e771f0f61e3f4b45a0bd3b7253c74adf146d061ebb7b52bf70110b53" }, "downloads": -1, "filename": "upfp-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8e88b608becece2a00e7cfb5102da755", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7646, "upload_time": "2019-06-27T06:31:48", "url": "https://files.pythonhosted.org/packages/0f/27/d77a0daa2d95a5313498734ad582ff4d928373a4bbd6e39ffdb70d127d00/upfp-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4da95717c5e85cadd0b9af38c308cbc1", "sha256": "c19415753976c6118d70b292fd95a6593ee8cc45574cc483590f6468884eb0fe" }, "downloads": -1, "filename": "upfp-0.0.4.tar.gz", "has_sig": false, "md5_digest": "4da95717c5e85cadd0b9af38c308cbc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5327, "upload_time": "2019-06-27T06:31:49", "url": "https://files.pythonhosted.org/packages/87/5c/28f3d622d587c95328ea183e1fd10cade7053740c8a3331eb96c68230c92/upfp-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8e88b608becece2a00e7cfb5102da755", "sha256": "df6cbd31e771f0f61e3f4b45a0bd3b7253c74adf146d061ebb7b52bf70110b53" }, "downloads": -1, "filename": "upfp-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8e88b608becece2a00e7cfb5102da755", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7646, "upload_time": "2019-06-27T06:31:48", "url": "https://files.pythonhosted.org/packages/0f/27/d77a0daa2d95a5313498734ad582ff4d928373a4bbd6e39ffdb70d127d00/upfp-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4da95717c5e85cadd0b9af38c308cbc1", "sha256": "c19415753976c6118d70b292fd95a6593ee8cc45574cc483590f6468884eb0fe" }, "downloads": -1, "filename": "upfp-0.0.4.tar.gz", "has_sig": false, "md5_digest": "4da95717c5e85cadd0b9af38c308cbc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5327, "upload_time": "2019-06-27T06:31:49", "url": "https://files.pythonhosted.org/packages/87/5c/28f3d622d587c95328ea183e1fd10cade7053740c8a3331eb96c68230c92/upfp-0.0.4.tar.gz" } ] }