{ "info": { "author": "Konstantin Tretyakov", "author_email": "kt@ut.ee", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "=====================================================================================\nSQLAlchemy-based interface to the oPOSSUM3 transcription factor binding site database\n=====================================================================================\n\n.. image:: https://travis-ci.org/konstantint/pyopossum3.png?branch=master :target: https://travis-ci.org/konstantint/pyopossum3\n\nThe package provides an object-oriented access interface to the `oPOSSUM3 `_ raw database tables.\n\nInstallation\n------------\n\nThe simplest way to install the package is via ``easy_install`` or ``pip``::\n\n $ easy_install pyopossum3\n\nDependencies\n------------\n\n- ``SQLAlchemy``\n- ``PyMySQL`` or any other `SQLAlchemy-compatible MySQL connector `_.\n\nUsage\n-----\nA usage example is the following::\n\n >>> from pyopossum3 import Opossum\n >>> o = Opossum(\"mysql+pymysql://opossum_r:@opossum.cmmt.ubc.ca/oPOSSUM3_human\")\n >>> o.ConservedTfbs.query.first().gene\n >>> o.ExternalGeneId.query.filter(o.ExternalGeneId.external_id.in_(['TSPAN6'])).filter(o.ExternalGeneId.gene.has(chr='X')).first().gene\n ... etc ...\n\nThe second line creates a connection to the oPOSSUM server, and the third/fourth query the ``conserved_tfbss`` and ``external_gene_ids`` tables using SQLAlchemy syntax.\n\nNaturally, for heavy analyses, you are suggested to set up your own copy of the database.\nSee `here `_ for instructions on how to download the data.\n\nYou can get a feeling for the structure of the database by running the following::\n\n >>> for cls in o.all_orm_classes:\n >>> print cls.query.first()\n\nThe main table you should probably care about is ``ConservedTfbs``, which contains matches in the vicinity of each gene, annotated with match score and conservation level.\n\nAn example using the ``ucscgenome`` package to verify that TFBS sequences are indeed correct::\n \n >>> c = o.ConservedTfbs.query.filter(o.ConservedTfbs.strand==1).first()\n >>> c.gene.chr, c.absolute_start, c.absolute_end, c.seq\n ('X', 99890235L, 99890253L, 'AGAAACATTGCATACTGC')\n >>> from ucscgenome import Genome\n >>> g = Genome('hg19')\n >>> g['chrX'][99890235:99890253]\n 'AGAAACATTGCATACTGC'\n\nNote\n----\nThe author of this package is not associated with the creators and maintainers of the oPOSSUM3 tool.\n\nSee also\n--------\n\n* Report issues and submit fixes at Github: https://github.com/konstantint/pyopossum3", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/konstantint/pyopossum3", "keywords": "bioinformatics oPOSSUM3 data-access transcription tfbs", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyopossum3", "package_url": "https://pypi.org/project/pyopossum3/", "platform": "Platform Independent", "project_url": "https://pypi.org/project/pyopossum3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/konstantint/pyopossum3" }, "release_url": "https://pypi.org/project/pyopossum3/0.2/", "requires_dist": null, "requires_python": null, "summary": "SQLAlchemy-based interface to the oPOSSUM3 transcription factor binding database.", "version": "0.2" }, "last_serial": 1030971, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9c3a4d0a4a37a8dcfcc798563e1d1c00", "sha256": "ac30c27a85a0684d501b84af25084d612c8ab67168e530faf3faa531f8d2eb13" }, "downloads": -1, "filename": "pyopossum3-0.1.zip", "has_sig": false, "md5_digest": "9c3a4d0a4a37a8dcfcc798563e1d1c00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9274, "upload_time": "2013-06-12T21:45:32", "url": "https://files.pythonhosted.org/packages/e3/f6/e5e092924566a9da2aa23868a139604db50fada550ac519d761c570cf41c/pyopossum3-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "1131e9bf0015f4e0ee073fef9dda64a9", "sha256": "97830990fface5150751cd1208e582aa62d56f23b0076cda047842584b86052c" }, "downloads": -1, "filename": "pyopossum3-0.2.zip", "has_sig": false, "md5_digest": "1131e9bf0015f4e0ee073fef9dda64a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9637, "upload_time": "2014-03-15T23:51:35", "url": "https://files.pythonhosted.org/packages/25/37/4ba73149f008157dbca3f8e00a74cc22e6a5cc57f46e2c0f795583230cf0/pyopossum3-0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1131e9bf0015f4e0ee073fef9dda64a9", "sha256": "97830990fface5150751cd1208e582aa62d56f23b0076cda047842584b86052c" }, "downloads": -1, "filename": "pyopossum3-0.2.zip", "has_sig": false, "md5_digest": "1131e9bf0015f4e0ee073fef9dda64a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9637, "upload_time": "2014-03-15T23:51:35", "url": "https://files.pythonhosted.org/packages/25/37/4ba73149f008157dbca3f8e00a74cc22e6a5cc57f46e2c0f795583230cf0/pyopossum3-0.2.zip" } ] }