{ "info": { "author": "Zach Sailer", "author_email": "zachsailer@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# GPSeer\n*An opinionated approach to inferring missing data in sparsely measured genotype-phenotype maps.*\n\n## Basic Usage\n\nThe simplest use-case is to call `gpseer` on an input `.csv` file containing genotype-phenotype data.\n\nFor example:\n```bash\ngpseer -i phenotypes.csv \\\n --wildtype \"00000\" \\\n --threshold 1 \\\n --spline_order 2 \\\n --epistasis_order 2\n```\nOutput:\n```bash\n[GPSeer] Running GPSeer on phenotypes.csv. Look for a predictions.csv file with your results.\n\n[GPSeer] + Reading data...\n[GPSeer] \u2514\u2500\u2500 Done reading data.\n\n[GPSeer] + Fitting data...\n[GPSeer] \u2514\u2500\u2500 Done fitting data.\n\n[GPSeer] + Predicting missing data...\n[GPSeer] \u2514\u2500\u2500 Done predicting...\n\n[GPSeer] GPSeer finished!\n```\nwhich returns a set of phenotype predictions using a 2nd-order spline .\n\n## Command-line options\nTo see all configuration items, call `gpseer --help`:\n```\nA tool for predicting phenotypes in a sparsely sampled genotype-phenotype maps.\n\nOptions\n-------\n\n-i (GPSeer.infile)\n Default: 'test'\n Input file.\n-o (GPSeer.outfile)\n Default: 'predictions.csv'\n Output file\n--model_definition= (GPSeer.model_definition)\n Default: None\n An epistasis model definition written in Python.\n--wildtype= (GPSeer.wildtype)\n Default: ''\n The wildtype sequence\n--threshold= (GPSeer.threshold)\n Default: 0.0\n Experimental detection threshold, used by classifer.\n--spline_order= (GPSeer.spline_order)\n Default: 0.0\n Order of spline..\n--spline_smoothness= (GPSeer.spline_smoothness)\n Default: 10\n Smoothness of spline.\n--epistasis_order= (GPSeer.epistasis_order)\n Default: 1\n Order of epistasis in the model.\n--nreplicates= (GPSeer.nreplicates)\n Default: None\n Number of replicates for calculating uncertainty.\n--model_file= (GPSeer.model_file)\n Default: ''\n File containing epistasis model definition.\n```\n\n## Advanced epistasis models\n\nMore advanced models are possible by writing a short models file:\n```python\n# model.py\nfrom epistasis.models import (\n EpistasisPipeline,\n EpistasisLogisticRegression,\n EpistasisSpline,\n EpistasisLinearRegression\n)\n\nc.GPSeer.model_definition = EpistasisPipeline([\n EpistasisLogisticRegression(threshold=5),\n EpistasisSpline(k=3),\n EpistasisLinearRegression(order=3)\n])\n```\nthen call the `gpseer` command.\n```\ngpseer -i phenotypes.csv --model_file=model.py\n```\n\n\n## Install\n\nClone this repository and install with pip:\n\n```\npip install gpseer\n```\n\n## Dependencies\n\n1. gpmap : Python API for analyzing genotype phenotype maps.\n2. epistasis : Python API for extracting high-order epistasis in genotype-phenotype maps\n3. traitlets: static typing and configurable objects in Python\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/harmslab/gpseer", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gpseer", "package_url": "https://pypi.org/project/gpseer/", "platform": "", "project_url": "https://pypi.org/project/gpseer/", "project_urls": { "Homepage": "https://github.com/harmslab/gpseer" }, "release_url": "https://pypi.org/project/gpseer/0.0.1/", "requires_dist": null, "requires_python": ">=3.5.0", "summary": "Python API to infer missing data in sparsely sampled genotype-phenotype maps.", "version": "0.0.1" }, "last_serial": 5689834, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ab272c259b8fa2f97d38c391c8208c6e", "sha256": "73c8739619b05ba6073b0ae9cde1fa2b58ae1469eb64f77a2acad723a88fdaf2" }, "downloads": -1, "filename": "gpseer-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab272c259b8fa2f97d38c391c8208c6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 4074, "upload_time": "2019-08-16T22:22:55", "url": "https://files.pythonhosted.org/packages/d3/45/065bb7e8b3907bf76858be0274d175607ccb36f9e951ec1d3170b43ecd58/gpseer-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11c387fa63f308f8aa4ac765285bfb30", "sha256": "3e81106405ac84f770681a9050a87a2691ec204c3e35b1c4b85a27e9cc4c80b0" }, "downloads": -1, "filename": "gpseer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "11c387fa63f308f8aa4ac765285bfb30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 4927, "upload_time": "2019-08-16T22:22:57", "url": "https://files.pythonhosted.org/packages/ec/d8/eae73f7f0a61eaaa1f21397d3c3a2175188dfa99a22a752866d187fce33b/gpseer-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab272c259b8fa2f97d38c391c8208c6e", "sha256": "73c8739619b05ba6073b0ae9cde1fa2b58ae1469eb64f77a2acad723a88fdaf2" }, "downloads": -1, "filename": "gpseer-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab272c259b8fa2f97d38c391c8208c6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5.0", "size": 4074, "upload_time": "2019-08-16T22:22:55", "url": "https://files.pythonhosted.org/packages/d3/45/065bb7e8b3907bf76858be0274d175607ccb36f9e951ec1d3170b43ecd58/gpseer-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11c387fa63f308f8aa4ac765285bfb30", "sha256": "3e81106405ac84f770681a9050a87a2691ec204c3e35b1c4b85a27e9cc4c80b0" }, "downloads": -1, "filename": "gpseer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "11c387fa63f308f8aa4ac765285bfb30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.0", "size": 4927, "upload_time": "2019-08-16T22:22:57", "url": "https://files.pythonhosted.org/packages/ec/d8/eae73f7f0a61eaaa1f21397d3c3a2175188dfa99a22a752866d187fce33b/gpseer-0.0.1.tar.gz" } ] }