{ "info": { "author": "Eloy Adonis Colell", "author_email": "eloy.colell@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3" ], "description": "[![Stories in Ready](https://badge.waffle.io/ecolell/pfamserver.png?label=ready&title=Ready)](https://waffle.io/ecolell/pfamserver)\npfamserver\n==========\n\nThis is a PFAM server to deploy in an intranet.\n\n\nRequirements\n============\n\nIf you want to deploy this service on any GNU/Linux or OSX system you just need to execute:\n\n $ pip install pfamserver\n\nIf you want to improve this library, you should download the [github repository](https://github.com/ecolell/pfamserver) and execute:\n\n $ make deploy\n\nOn Ubuntu Desktop there are some other libraries not installed by default (zlibc curl libssl0.9.8 libbz2-dev libxslt-dev libxml-dev) which may need to be installed to use these library. Use the next command to automate the installation of the additional C libraries:\n\n $ make ubuntu deploy\n\nAlso, you need to have the **wget** package installed and access (username and password) to a mysql database.\n\nLast, if you cloned the repository and you want to create a boot script on Linux you should execute:\n\n $ sudo make create_boot_script\n\n\nTesting\n=======\n\nTo test all the project you should use the command:\n\n $ make test\n\nIf you want to help us or report an issue join to us through the [Github issue tracker](https://github.com/ecolell/pfamserver/issues).\n\n\nRunning\n=======\n\nTo run the server you need to execute:\n\n $ DEBUG=True DB=root:root@localhost:3306/pfamserver HOST=0.0.0.0 PORT=5001 python -m pfamserver\n\nAfter start, the server it is going to check for new updates at night in background. The update is composed of the download and deployment of the last version of the file *Pfam-A.full.gz* (approximately 13GB) and download and deployment of all the files inside the *database_files* folder (approximately 77GB), so be patient it can take a while.\n\nAt midnight, when the deploy of the last update is ready (because was runned on background) it should restart the machine. You should ensure the previous command is executed after the server boots up so it should stay update automatically without any human intervention.\n\n\nExample\n=======\n\nA json API is available through [http://localhost:5001/api/](http://localhost:5001/api/), or use the graphical interface to discover some pfams database tables and apply some filters (access to [http://localhost:5001/admin](http://localhost:5001/admin)).\n\nThere are some **special queries** that join multiple tables and accept some specific parameters. This queries respond with a json dictionary with the \"query\" and \"output\" keys.\n\nFirst, it is posible to obtain a list of **pfamA** registers from a **uniprot_id** (eg. [http://localhost:5001/api/query/pfam_uniprot/egfr_human](http://localhost:5001/api/query/pfam_uniprot/egfr_human)).\n\nAlso, it is available a way to recover a list of **PDB** registers from a \"**sequence description**\" (eg. [http://localhost:5001/api/query/pdb_sequencedescription/egfr_human,57,168](http://localhost:5001/api/query/pdb_sequencedescription/egfr_human,57,168)) where the 3 parameters are a **uniprot_id**, a **seq_start** and **seq_end** inside that uniprot register.\n\nThen, it is accesible an alternative to obtain a **small PDB image** (base 64 enconded after compressed) from an specific **pdb_id** (eg. [http://localhost:5001/api/query/pdbimage_pdb/1IVO](http://localhost:5001/api/query/pdbimage_pdb/1IVO)). \n\nLast, it is posible to obtain an MSA in stockholm format through a pfamA_acc or pfamA_id (eg. [http://localhost:5001/api/query/stockholm_pfam/piwi](http://localhost:5001/api/query/stockholm_pfam/piwi)). The **output** value is *zip compressed* and then *base 64 encoded*, to optimize transport over the network.\n\nPlease, check [http://localhost:5001/](http://localhost:5001/) for more updated examples.\n\n\nAbout\n=====\n\nThis software is developed by [LELOIR](http://leloir.org.ar/). You can contact us to [eloy.colell@gmail.com](mailto:eloy.colell@gmail.com).", "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/ecolell/pfamserver", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pfamserver", "package_url": "https://pypi.org/project/pfamserver/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pfamserver/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ecolell/pfamserver" }, "release_url": "https://pypi.org/project/pfamserver/0.0.15/", "requires_dist": null, "requires_python": null, "summary": "A python service to query the PFAM database through a JSON api.", "version": "0.0.15" }, "last_serial": 2089306, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7d6c2953099c1190da658b0dfd928670", "sha256": "d05ebb0393a7a55fddbc65f5a21850085b0eb4cd96e1e886c70ec5f473da7e84" }, "downloads": -1, "filename": "pfamserver-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7d6c2953099c1190da658b0dfd928670", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19076, "upload_time": "2015-11-05T17:55:00", "url": "https://files.pythonhosted.org/packages/9d/ec/5b8df26ba3b490e5c566354293ceddbb01a834f931766c34fb3bb3659afa/pfamserver-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "329894c97a9d211e0095fb4c54120874", "sha256": "c89b3749fee935fe5c88af6161b33e1232bb88a24132c012c2c5ea047ce62fae" }, "downloads": -1, "filename": "pfamserver-0.0.10.tar.gz", "has_sig": false, "md5_digest": "329894c97a9d211e0095fb4c54120874", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21566, "upload_time": "2015-12-27T20:06:56", "url": "https://files.pythonhosted.org/packages/b1/e6/a3c3f798c90b3debe102d19e6cd92d631de6183c3d651ee5ddec88f85036/pfamserver-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "4b3f0bf38128ba4f517395ebe89cefa6", "sha256": "15c36fea801e13ecc25d8c19046f45aa05c575f75aa03564c6213028a935f45a" }, "downloads": -1, "filename": "pfamserver-0.0.11.tar.gz", "has_sig": false, "md5_digest": "4b3f0bf38128ba4f517395ebe89cefa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21999, "upload_time": "2016-01-18T18:59:06", "url": "https://files.pythonhosted.org/packages/18/d3/6afdaf9d6ad3b5c9def4b5b2e4b563cd5fa62949bb1e38fef0e548b8918c/pfamserver-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "0bad5388982ff2fb1f95278751c9a115", "sha256": "c5121d0ffb0d0b125b2bb833d351552c0ce321e238a6d33676982244fc7a5b1a" }, "downloads": -1, "filename": "pfamserver-0.0.12.tar.gz", "has_sig": false, "md5_digest": "0bad5388982ff2fb1f95278751c9a115", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30398, "upload_time": "2016-04-10T05:17:34", "url": "https://files.pythonhosted.org/packages/56/d0/43ef4a0bae1ba59807d5586c6406144b0f0a83a6baab85c9fb15597face7/pfamserver-0.0.12.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "5624fd51762c8364de9186880a28b6e0", "sha256": "d7fce3d13f1dd5d9468edf0cbe9fcd240fb3bffcc9d506bdb711f3e36b1d6392" }, "downloads": -1, "filename": "pfamserver-0.0.13.tar.gz", "has_sig": false, "md5_digest": "5624fd51762c8364de9186880a28b6e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30486, "upload_time": "2016-04-10T23:58:37", "url": "https://files.pythonhosted.org/packages/86/6d/3900c483e15cc9061f697f194402ab901a41d1ca64c969644d7cf7915661/pfamserver-0.0.13.tar.gz" } ], "0.0.14": [ { "comment_text": "", "digests": { "md5": "eb40c8d12c7520fb14e7ce6edba01b09", "sha256": "40421e0c69cdf1b8d2e29d2e46915dedc87b9e508901fd127ac3479d0fc3d67d" }, "downloads": -1, "filename": "pfamserver-0.0.14.tar.gz", "has_sig": false, "md5_digest": "eb40c8d12c7520fb14e7ce6edba01b09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30770, "upload_time": "2016-04-26T22:49:04", "url": "https://files.pythonhosted.org/packages/4c/5a/d1588c9a7ec0f6d36d9b523a61a630e1d2da7e3d484c8fecf48ee5014001/pfamserver-0.0.14.tar.gz" } ], "0.0.15": [ { "comment_text": "", "digests": { "md5": "3f0d974bae764d5a864ee06553e0c831", "sha256": "8a7c359bf55856ec372b8e20b88c76007c2b634a4ae6538a71a818cc7090ba25" }, "downloads": -1, "filename": "pfamserver-0.0.15.tar.gz", "has_sig": false, "md5_digest": "3f0d974bae764d5a864ee06553e0c831", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30771, "upload_time": "2016-04-28T18:35:18", "url": "https://files.pythonhosted.org/packages/fc/8e/4dca7ad533b25dce4837471f30b787ffd13204f0cb2c17bd451eb9a5e1aa/pfamserver-0.0.15.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f2b93472374c8505367cdb29f017218c", "sha256": "25981d41f2da112b75a7fa47904941fe9642c6766ecc03fb548a70028fc5cbbe" }, "downloads": -1, "filename": "pfamserver-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f2b93472374c8505367cdb29f017218c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19078, "upload_time": "2015-11-05T18:06:05", "url": "https://files.pythonhosted.org/packages/93/41/7542efa40eb4c3a68008add32b3afc8a5aa5967b6abd3232a2c8b1b05add/pfamserver-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "23701fcad168812962678679a10274e8", "sha256": "beb44fb5a36e733a4ebe5d438b4152065b4a6e3cd59d5ec9978f71f0f4c4e969" }, "downloads": -1, "filename": "pfamserver-0.0.3.tar.gz", "has_sig": false, "md5_digest": "23701fcad168812962678679a10274e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19086, "upload_time": "2015-11-05T20:15:45", "url": "https://files.pythonhosted.org/packages/a2/6a/db3aeec61b9b575e7c7606e44f3283b3bc74b622f413ade17504d3dd8c24/pfamserver-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "fd8d18ad826e48b6784ca8f9e77e1bbc", "sha256": "f5f0a95cb444774a5c15d944c70140b1ab0d95b1b5a528eaa075b7712c146df7" }, "downloads": -1, "filename": "pfamserver-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fd8d18ad826e48b6784ca8f9e77e1bbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20058, "upload_time": "2015-11-05T21:29:17", "url": "https://files.pythonhosted.org/packages/af/ac/625d27655fdc4714cfa278fff7e23c3949c1f99a1fff7f08047b548460b8/pfamserver-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f3f0052a0f811d95df2d77081cd5359c", "sha256": "c2ac3fcf4eec1c6c2b5a7f8893109df38a6a99a15d9a76715d1ae69e5e6a6986" }, "downloads": -1, "filename": "pfamserver-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f3f0052a0f811d95df2d77081cd5359c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20183, "upload_time": "2015-11-13T04:15:40", "url": "https://files.pythonhosted.org/packages/b4/99/310d0573f3eb0c65607b8391b240fb4ce4884d1b0848c081933999b0b6da/pfamserver-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "54b61476c354b1ca10dcb124abc8f5a7", "sha256": "bbafbfa63f18dc7be15b9a197216db254389b70fcd656f4749a8ad15bcd2cc4b" }, "downloads": -1, "filename": "pfamserver-0.0.6.tar.gz", "has_sig": false, "md5_digest": "54b61476c354b1ca10dcb124abc8f5a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20185, "upload_time": "2015-11-14T02:50:12", "url": "https://files.pythonhosted.org/packages/98/75/8b5f102103a573b4b4ae5110c866b96ab51458a2e65f583655e862a5f4d4/pfamserver-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "349f6ef12aae340467a8d0410e34ceea", "sha256": "c88d095248467f19e67ecabef4883db74102b13666d2e768f84542cb8ed4403c" }, "downloads": -1, "filename": "pfamserver-0.0.7.tar.gz", "has_sig": false, "md5_digest": "349f6ef12aae340467a8d0410e34ceea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20776, "upload_time": "2015-12-14T14:25:39", "url": "https://files.pythonhosted.org/packages/76/03/3e307cf9ce5fa07fabbbc4f08cbde47aadcf7b3fd1e7fd319d8568c3f122/pfamserver-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "2b49db27dcb7aa17f18acea5bcc370a6", "sha256": "f6e128e8329c759addb65e9eb54212ae1f64536505bcb693f798ae32222bcca4" }, "downloads": -1, "filename": "pfamserver-0.0.8.tar.gz", "has_sig": false, "md5_digest": "2b49db27dcb7aa17f18acea5bcc370a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20791, "upload_time": "2015-12-17T16:37:55", "url": "https://files.pythonhosted.org/packages/e9/93/36e11e97f2152ee1b4799ef50b1394eb6bdf95e54c828196e4161f159230/pfamserver-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "83f299dd7954d4b1fafb67310e18093c", "sha256": "3b888c09b09e2f2d7a3c2532a4a44b0526f13ff2f994f6aa015ff50d87145e26" }, "downloads": -1, "filename": "pfamserver-0.0.9.tar.gz", "has_sig": false, "md5_digest": "83f299dd7954d4b1fafb67310e18093c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21562, "upload_time": "2015-12-27T19:40:27", "url": "https://files.pythonhosted.org/packages/92/06/6a26ac0e5e6c32416e14b252c584e534c0a5be13ce57e3fa98a1220b7115/pfamserver-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f0d974bae764d5a864ee06553e0c831", "sha256": "8a7c359bf55856ec372b8e20b88c76007c2b634a4ae6538a71a818cc7090ba25" }, "downloads": -1, "filename": "pfamserver-0.0.15.tar.gz", "has_sig": false, "md5_digest": "3f0d974bae764d5a864ee06553e0c831", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30771, "upload_time": "2016-04-28T18:35:18", "url": "https://files.pythonhosted.org/packages/fc/8e/4dca7ad533b25dce4837471f30b787ffd13204f0cb2c17bd451eb9a5e1aa/pfamserver-0.0.15.tar.gz" } ] }