{ "info": { "author": "Haibao Tang, Smriti Ramakrishnan", "author_email": "htang@humanlongevity.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "TREDPARSE: HLI Short Tandem Repeat (STR) caller\n===============================================\n\n|Latest PyPI version| |Travis-CI|\n\n+-----------+---------------------------------------------------------------+\n| Author | Haibao Tang (`tanghaibao `__) |\n+-----------+---------------------------------------------------------------+\n| | Smriti Ramakrishnan (`smr18 `__) |\n+-----------+---------------------------------------------------------------+\n| Email | htang@humanlongevity.com |\n+-----------+---------------------------------------------------------------+\n| License | See included LICENSE |\n+-----------+---------------------------------------------------------------+\n\nDescription\n-----------\n\nProcess a list of TRED (trinucleotide repeats disease) loci, and infer\nthe most likely genotype.\n\nInstallation\n------------\n\nMake sure your Python version >= 2.7 (tested in ubuntu, Python 3 not yet\nsupported):\n\n.. code:: bash\n\n pip install --user -U git+git://github.com/humanlongevity/tredparse.git\n\nFor accessing BAMs that are located on S3, please refer to\n``docker/tredparse.dockerfile`` for installation of SAMTOOLS/pysam with\nS3 support.\n\nOr, you can simply build and use the docker image:\n\n.. code:: bash\n\n docker pull humanlongevity/tredparse\n docker run -v `pwd`:`pwd` -w `pwd` humanlongevity/tredparse \\\n tred.py --tred HD test.bam\n\nExample\n-------\n\nFirst specify the input bam paths and sample keys in a CSV file, like\n``tests/samples.csv``. This file is comma separated:\n\n::\n\n #SampleKey,BAM,TRED\n t001,tests/t001.bam,HD\n t002,tests/t002.bam,DM1\n\nIf third column is omitted, then all 30 TREDs are scanned. For example:\n\n::\n\n #SampleKey,BAM\n t001,tests/t001.bam\n t002,tests/t002.bam\n\nPlease also note that the BAM path can start with ``http://`` or\n``s3://``, provided that the corresponding BAM index can be found.\n\nRun ``tred.py`` on sample CSV file and generate TSV file with the\ngenotype:\n\n.. code:: bash\n\n tred.py tests/samples.csv --workdir work\n\nHighlight the potential risk individuals:\n\n.. code:: bash\n\n tredreport.py work/*.json --tsv work.tsv\n\nThe inferred \"at-risk\" individuals show up in results:\n\n.. code:: bash\n\n [DM1] - Myotonic dystrophy 1\n rep=CAG inherit=AD cutoff=50 n_risk=1 n_carrier=0 loc=chr19:45770205-45770264\n SampleKey inferredGender Calls DM1.FR DM1.PR DM1.RR DM1.PP\n t002 Unknown 5|62 5|24 ...|1;39|1;40|1;42|1;43|1;46|2 49|3;50|8 1\n\n [HD] - Huntington disease\n rep=CAG inherit=AD cutoff=40 n_risk=1 n_carrier=0 loc=chr4:3074877-3074933\n SampleKey inferredGender Calls HD.FR HD.PR HD.RR HD.PP\n t001 Unknown 15|41 15|4 ...|1;21|1;24|2;29|1;34|1;41|1 1\n\nOne particular individual ``t001`` appears to have ``15/41`` call (one\nallele at ``15`` CAGs and the other at ``41`` CAGs) at Huntington\ndisease locus (HD). Since the risk cutoff is ``40``, we have inferred it\nto be at-risk.\n\nA ``.report.txt`` file will also be generated that contains a summary of\nnumber of people affected by over-expanded TREDs as well as population\nallele frequency.\n\nTo better understand the uncertainties in the prediction, we can plot\nthe likelihood surface based on the model. Using the same example as\nabove at the Huntington disease case, we can run a command on the JSON\noutput, with option ``--tred HD`` to specify the locus.\n\n.. code:: bash\n\n tredplot.py likelihood work/t001.json --tred HD\n\nThis generates the following plot:\n\n.. figure:: https://www.dropbox.com/s/2mmfjjpnmcl4jlo/likelihood2.png?raw=1\n :alt: \n\nServer demo\n-----------\n\nThe server/client allows ``tredparse`` to be run as a service, also\nshowing the detailed debug information for the detailed computation.\n\n.. figure:: https://www.dropbox.com/s/23tmoy0wtb3alwh/screencast.gif?raw=1\n :alt: \n\nInstall ``meteor`` if you don't have it yet.\n\n.. code:: bash\n\n curl https://install.meteor.com/ | sh\n\nThen build the docker image to run the command, then run the server.\n\n.. code:: bash\n\n cd docker\n make build\n cd ../server\n meteor npm install\n meteor\n\n.. |Latest PyPI version| image:: https://img.shields.io/pypi/v/tredparse.svg\n :target: https://pypi.python.org/pypi/tredparse\n.. |Travis-CI| image:: https://travis-ci.org/humanlongevity/tredparse.svg?branch=master\n :target: https://travis-ci.org/humanlongevity/tredparse\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tanghaibao/tredparse", "keywords": "", "license": "HLI open source license", "maintainer": "", "maintainer_email": "", "name": "tredparse", "package_url": "https://pypi.org/project/tredparse/", "platform": "", "project_url": "https://pypi.org/project/tredparse/", "project_urls": { "Homepage": "https://github.com/tanghaibao/tredparse" }, "release_url": "https://pypi.org/project/tredparse/0.7.8/", "requires_dist": null, "requires_python": "", "summary": "Short Tandem Repeat (STR) genotyper", "version": "0.7.8" }, "last_serial": 3250875, "releases": { "0.7.4": [], "0.7.5": [ { "comment_text": "", "digests": { "md5": "7fc8af93727e306d1e09e3730d150820", "sha256": "bdff54fe29641100d6cadc4f82f765de98447c53bce117bd27626a420b5b04a5" }, "downloads": -1, "filename": "tredparse-0.7.5.tar.gz", "has_sig": false, "md5_digest": "7fc8af93727e306d1e09e3730d150820", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58637, "upload_time": "2017-08-23T19:20:10", "url": "https://files.pythonhosted.org/packages/27/ce/05332b56a32fa249b226f606bca1b6ad4c0292a8a26541a10f23cea87234/tredparse-0.7.5.tar.gz" } ], "0.7.6": [ { "comment_text": "", "digests": { "md5": "e984ba42fe29283d91e35de27a03cec1", "sha256": "6b86e1537404b62acf063d0e6c7cac173094d4d5a549a9430346b5671dfba514" }, "downloads": -1, "filename": "tredparse-0.7.6.tar.gz", "has_sig": false, "md5_digest": "e984ba42fe29283d91e35de27a03cec1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 245498, "upload_time": "2017-09-17T05:23:11", "url": "https://files.pythonhosted.org/packages/1d/5d/560a1d2764bbb1ab47c1928ed611e130b3ac09ec97e47a35ddf33eb1fd95/tredparse-0.7.6.tar.gz" } ], "0.7.7": [ { "comment_text": "", "digests": { "md5": "244d8026ca5ffbf8154be42875513cb0", "sha256": "1aa435d1679ccc2d821e33c2a38fc626bba88178961dd2c8ab8ef761cd3846fc" }, "downloads": -1, "filename": "tredparse-0.7.7.tar.gz", "has_sig": false, "md5_digest": "244d8026ca5ffbf8154be42875513cb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 245526, "upload_time": "2017-10-07T15:42:34", "url": "https://files.pythonhosted.org/packages/76/1c/2729e46ac407eb52816cbbac94b06d0f3669dc8a7c2ef4cb8976ab071bdc/tredparse-0.7.7.tar.gz" } ], "0.7.8": [ { "comment_text": "", "digests": { "md5": "d4dabc4a946e94cf79e74d3dae5fa50d", "sha256": "140aa85f1cb2a5e204c9a4f36c4d78afc8f0a54a1336579d507e9decdbf883bd" }, "downloads": -1, "filename": "tredparse-0.7.8.tar.gz", "has_sig": false, "md5_digest": "d4dabc4a946e94cf79e74d3dae5fa50d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 247263, "upload_time": "2017-10-15T01:40:35", "url": "https://files.pythonhosted.org/packages/c0/37/e706aade86900143a0c6c83ad022a4feac9f1d8fa3573265806033d4395b/tredparse-0.7.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d4dabc4a946e94cf79e74d3dae5fa50d", "sha256": "140aa85f1cb2a5e204c9a4f36c4d78afc8f0a54a1336579d507e9decdbf883bd" }, "downloads": -1, "filename": "tredparse-0.7.8.tar.gz", "has_sig": false, "md5_digest": "d4dabc4a946e94cf79e74d3dae5fa50d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 247263, "upload_time": "2017-10-15T01:40:35", "url": "https://files.pythonhosted.org/packages/c0/37/e706aade86900143a0c6c83ad022a4feac9f1d8fa3573265806033d4395b/tredparse-0.7.8.tar.gz" } ] }