{ "info": { "author": "Ryan Raaum", "author_email": "code@raaum.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "oldowan.fasta is a small bioinformatic utility to read and write sequence data\nin the FASTA_ format. FASTA is the most commonly used simple file format for\nstoring multiple DNA, RNA, or protein sequences in a single file. It is a\ntext-based, human-readable format.\n\nInstallation Instructions\n=========================\n\nThis package is pure Python and has no dependencies outside of the standard\nlibrary. The easist way to install is using ``easy_install`` from the\nsetuptools_ package. This usually goes something like this::\n\n\t$ easy_install oldowan.fasta\n\nor on a unix-like system, assuming you are installing to the main Python\n``site-packages`` directory as a non-privileged user, this::\n\n\t$ sudo easy_install oldowan.fasta\n\nYou may also use the standard python distutils setup method. Download the\ncurrent source archive from the file list towards the bottom of this page,\nunarchive it, and install. On Mac OS X and many other unix-like systems, having\ndownloaded the archive and changed to the directory containing this archive in\nyour shell, this might go something like::\n\n\t$ tar xvzf oldowan.fasta*\n\t$ cd oldowan.fasta*\n\t$ python setup.py install\n\nQuick Start\n===========\n\noldowan.fasta has an interface based on the standard Python ``file``. Import\noldowan.fasta::\n\n >>> from oldowan.fasta import fasta\n\nRead a FASTA format file::\n\n >>> for entry in fasta('sequences.fasta', 'r'):\n ... print entry['name'], len(entry['sequence'])\n\nA more cumbersome, but equivalent way of doing the above::\n\n >>> fasta_file = fasta('sequences.fasta', 'r')\n >>> for entry in fasta_file:\n ... print entry['name'], len(entry['sequence'])\n >>> fasta_file.close()\n\nEven more cumbersome, and if the FASTA file is large, potentially\nmemory-draining version (the previous two methods only read one entry at a time\nfrom the file, this reads the whole file into memory at once)::\n\n >>> fasta_file = fasta('sequence.fasta', 'r')\n >>> entries = fasta_file.readentries()\n >>> fasta_file.close()\n >>> for entry in entries:\n ... print entry['name'], len(entry['sequence'])\n\nRead a string of FASTA format sequences::\n\n >>> fasta_string = open('sequences.fasta', 'r').read()\n >>> for entry in fasta(fasta_string, 's'):\n ... print entry['name'], len(entry['sequence'])\n\nRead a file object::\n\n >>> fasta_file = open('sequences.fasta', 'r')\n >>> for entry in fasta(fasta_file, 'f'):\n ... print entry['name'], len(entry['sequence'])\n\nWrite to a file::\n\n >>> fasta_file = open('sequences.fasta', 'w')\n >>> fasta_file.write({'name':'Sequence1', 'sequence':'AGCTAGCT'})\n >>> fasta_file.close()\n\nRelease History\n===============\n\n1.0.0 (August 16, 2008)\n initial release of module.\n\n1.0.1 (March 25, 2009)\n bug fix updates\n\n1.0.2 (March 26, 2009)\n update VERSION info\n\n1.0.4 (August 4, 2015)\n actually fix version loading problem this time\n\n.. _FASTA: http://en.wikipedia.org/wiki/Fasta_format \n.. _setuptools: http://peak.telecommunity.com/DevCenter/EasyInstall", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.raaum.org/software/oldowan", "keywords": "", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "oldowan.fasta", "package_url": "https://pypi.org/project/oldowan.fasta/", "platform": "Any", "project_url": "https://pypi.org/project/oldowan.fasta/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.raaum.org/software/oldowan" }, "release_url": "https://pypi.org/project/oldowan.fasta/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Read and write FASTA format.", "version": "1.0.4" }, "last_serial": 1664106, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "1ee1db75879cdca44b4c6056853b7a52", "sha256": "634378bc07c02f05a8f13ff38daf30ba26b9b683ec73f6ec58b366aa83e3ebbb" }, "downloads": -1, "filename": "oldowan.fasta-1.0.0-py2.5.egg", "has_sig": false, "md5_digest": "1ee1db75879cdca44b4c6056853b7a52", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 8807, "upload_time": "2008-08-17T02:05:55", "url": "https://files.pythonhosted.org/packages/38/93/4a204a9c2fe3d01c75b792590aeec0cbf18055f871c58828c3f30d65c959/oldowan.fasta-1.0.0-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "fc91439f31602a961e71098a03937937", "sha256": "7a56c23ea52f463babee2598c1f9402a15a11ebd3c57636b0843f1f2e96ff0a6" }, "downloads": -1, "filename": "oldowan.fasta-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fc91439f31602a961e71098a03937937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4745, "upload_time": "2008-08-17T02:05:54", "url": "https://files.pythonhosted.org/packages/c4/8f/b8632211cb6dc2da8e1125f22416c88a9686f5f3d01a4a6889f8a7bc745f/oldowan.fasta-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "21b7f141e79ff8c2820273e8c08cc14b", "sha256": "732952a11d3bd6a90df1241e769b912435bd6a956e4836576d897169e7e73384" }, "downloads": -1, "filename": "oldowan.fasta-1.0.1.tar.gz", "has_sig": false, "md5_digest": "21b7f141e79ff8c2820273e8c08cc14b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4892, "upload_time": "2009-03-25T16:59:28", "url": "https://files.pythonhosted.org/packages/ad/fa/7a43fe3c40d5cb6bc16b391c5612cf0ba9134c4e12321cb3d14cf9f8aab9/oldowan.fasta-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "e77187389a22a7aae0f97e60ff879101", "sha256": "626f05dc918b8a790a1780f381f8670d7cd3c1269fd4e6f4bb50921bfd138881" }, "downloads": -1, "filename": "oldowan.fasta-1.0.2.tar.gz", "has_sig": false, "md5_digest": "e77187389a22a7aae0f97e60ff879101", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5128, "upload_time": "2009-03-26T19:28:04", "url": "https://files.pythonhosted.org/packages/7e/33/a3a24deda7996b8eed5c267150cc14b66ae3904cb9eb630008bf32926aa1/oldowan.fasta-1.0.2.tar.gz" } ], "1.0.3a": [ { "comment_text": "", "digests": { "md5": "bb4820a8357aa5dce1cc1c6a108a7422", "sha256": "ee4cdd38ac6f7ed6a6e73e214c5a59a8057892f8b9ccd5c69220dc123860043a" }, "downloads": -1, "filename": "oldowan.fasta-1.0.3a.tar.gz", "has_sig": false, "md5_digest": "bb4820a8357aa5dce1cc1c6a108a7422", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5170, "upload_time": "2015-08-04T17:54:44", "url": "https://files.pythonhosted.org/packages/d7/5e/c048445d518411db8b8ed308b38c81769ca1f4eaf2523c0f8f42a55d0e3a/oldowan.fasta-1.0.3a.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "debc4cce2a8584f69f97022be898f5f3", "sha256": "65057c56c6a6f9bc9b5519b14a5c9c6fddd30c346a704c2c11782428560ab794" }, "downloads": -1, "filename": "oldowan.fasta-1.0.4.tar.gz", "has_sig": false, "md5_digest": "debc4cce2a8584f69f97022be898f5f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5163, "upload_time": "2015-08-04T18:11:07", "url": "https://files.pythonhosted.org/packages/b1/ec/c15342a1bcbf229d1fc7c2310d28182f43e01399df3261f58248e36f99f8/oldowan.fasta-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "debc4cce2a8584f69f97022be898f5f3", "sha256": "65057c56c6a6f9bc9b5519b14a5c9c6fddd30c346a704c2c11782428560ab794" }, "downloads": -1, "filename": "oldowan.fasta-1.0.4.tar.gz", "has_sig": false, "md5_digest": "debc4cce2a8584f69f97022be898f5f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5163, "upload_time": "2015-08-04T18:11:07", "url": "https://files.pythonhosted.org/packages/b1/ec/c15342a1bcbf229d1fc7c2310d28182f43e01399df3261f58248e36f99f8/oldowan.fasta-1.0.4.tar.gz" } ] }