{ "info": { "author": "Ben Francis", "author_email": "b.r.francis@liverpool.ac.uk", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "\n![](https://i.imgur.com/wWIRzgA.png)\n\n[![Coverage Status](https://coveralls.io/repos/github/brfrancis/CompetingRisksAnalysisGW/badge.svg?branch=master)](https://coveralls.io/github/brfrancis/CompetingRisksAnalysisGW?branch=master)\n[![Join the chat at https://gitter.im/CompetingRisksAnalysisGW/Lobby](https://badges.gitter.im/CompetingRisksAnalysisGW/Lobby.svg)](https://gitter.im/CompetingRisksAnalysisGW/Lobby)\n[![DOI](https://zenodo.org/badge/110241944.svg)](https://zenodo.org/badge/latestdoi/110241944)\n\n### What can *CRAG* do for you? \n\nSurvival analysis is the study of \"time-to-event\" (TTE) outcomes, taking the focus off *if* an event will occur and instead looking at *when* an event will occur. Often, the when question is answered by a combination of factors, such as age or sex, survival analysis tests whether these associations are clear from data collected. So, if I'm asking *when will I respond to a medication?*, survival analysis can help to answer this question. Further information can be found on this great page by Cam Davidson-Pilon (author of lifelines) [here](http://lifelines.readthedocs.org/en/latest/Survival%20Analysis%20intro.html).\n\nA genome-wide association study (GWAS), is a study of a genetic variants across the genome. Whether we are faced with a *when* or *if*, GWAS allows us to consider whether genetic factors are part of the combination of factors that answer these questions. \n\n*CRAG* is a novel software that performs survival analysis genome-wide and goes one step further: handling a particular type of TTE outcomes that occur for different reasons, such as drug withdrawal occuring due to either the drug not working or causing a bad reaction, appropriately modelling via \u201ccompeting risks\u201d. \n\n*CRAG* is an easy to use software implemented using Python, and is compatible with Linux, Mac OS X & Windows operating systems. *CRAG* can handle large-scale genome-wide data including imputed genotypes. Analyses can be undertaken with a cause-specific or sub-distribution model. The software can adjust for multiple covariates and incorporate SNP-covariate interaction effects.\n\nThe main use of CRAG is expected to be in pharmacogenetic studies to identify genetic biomarkers of patient response to treatment, with the ultimate goal of personalising therapeutic intervention for an array of diseases.\n\n### Installation:\n#### Dependencies:\n\nPlease install the following Python packages prior to use of *CRAG* (some may be installed with Python): subprocess, sys, math, lifelines, csv, numpy, pandas, gzip, time, argparse and warnings.\n\n#### Installing\n\nType the following command in the terminal/command line to intall *CRAG*\n\n pip install --upgrade --no-deps git+https://github.com/brfrancis/CompetingRisksAnalysisGW.git\n\nfrom the command line.\n\n#### Testing CRAG\n\n\n### CRAG guide\n\nIf you are new to survival analysis, wondering why it is useful, or are interested in *lifelines* examples and syntax,\nplease check out the [Documentation and Tutorials page](http://lifelines.readthedocs.org/en/latest/index.html)\n\n\n### Contacting\nPlease chat with author Ben Francis @ [Gitter](https://gitter.im/CompetingRisksAnalysisGW/Lobby). Email is also possible but likely to not be as timely!\n\n\n### CRAG citation\n\nIf you find CRAG useful, the best way to show your appreciation is through citing, click the badge below to generate a DOI that can be put into most citation managers. A manuscript for CRAG is currently in production...\n\n [![DOI](https://zenodo.org/badge/110241944.svg)](https://zenodo.org/badge/latestdoi/110241944)\n\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/brfrancis/CompetingRisksAnalysisGW", "keywords": "competing risks survival analysis statistics data analysis", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "crag", "package_url": "https://pypi.org/project/crag/", "platform": "", "project_url": "https://pypi.org/project/crag/", "project_urls": { "Homepage": "https://github.com/brfrancis/CompetingRisksAnalysisGW" }, "release_url": "https://pypi.org/project/crag/1.0.4/", "requires_dist": [ "pandas", "argparse", "numpy", "lifelines" ], "requires_python": "", "summary": "Competing Risk Analysis Genome-wide", "version": "1.0.4" }, "last_serial": 4015600, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "a205cf25d2380e359c80fe10faac2b7d", "sha256": "2147537689a12f354b490f4a05d44c3248913d9028d654b70aa28a352b033a4f" }, "downloads": -1, "filename": "crag-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a205cf25d2380e359c80fe10faac2b7d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 34923, "upload_time": "2018-06-29T13:04:56", "url": "https://files.pythonhosted.org/packages/66/e2/c4abf7936aebb2e31e26950042e36e1566d515871fc0d94cfcab0db925b5/crag-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aae862c3f72b3094a9e7e8de77d27618", "sha256": "3cc89b00a01d12f73394b7d74c5a8a23762da9a05e3d969688d24182dad1fd59" }, "downloads": -1, "filename": "crag-1.0.2.tar.gz", "has_sig": false, "md5_digest": "aae862c3f72b3094a9e7e8de77d27618", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36098, "upload_time": "2018-06-29T13:04:57", "url": "https://files.pythonhosted.org/packages/07/cb/92f0f55a6c445c53edf8aa77bfeca434082c14631c657604a16b1d017866/crag-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "98b211f9b6c677207d9a2e1b1f0eec2c", "sha256": "345d22bf5eab6b1f55ab82c2e59182acc2b0a0f522dab835652eb89963f5348a" }, "downloads": -1, "filename": "crag-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "98b211f9b6c677207d9a2e1b1f0eec2c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 39642, "upload_time": "2018-06-29T13:42:35", "url": "https://files.pythonhosted.org/packages/85/26/e7618de49d941fc0d4884b2345a4727254d24b470992bce82194131061ca/crag-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7231ccd5d472bb2982ed252575c033e", "sha256": "90433ce34edd89825b21ee34b9ce4a2a3a7ac2634a3e6dcffa5b65162f6ebdf4" }, "downloads": -1, "filename": "crag-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b7231ccd5d472bb2982ed252575c033e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40804, "upload_time": "2018-06-29T13:42:36", "url": "https://files.pythonhosted.org/packages/30/57/7229d4d8e65000a7ce45a421673f6487a1e38d6595d914eff104ad0a1bf0/crag-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "fa66318e980f98ad434a57b3b1dad760", "sha256": "af435dd55af845a7034649d1e639593cc5394dd574198d5186a722f38af27308" }, "downloads": -1, "filename": "crag-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "fa66318e980f98ad434a57b3b1dad760", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40122, "upload_time": "2018-06-29T14:42:27", "url": "https://files.pythonhosted.org/packages/cb/1c/0d5f1faf823d9dba073358f545061e9405de1192c3b51efa09809af33097/crag-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a9da678ecd6faed69c765748d8bd4f95", "sha256": "92e02f0020ddb0eb20d2444392b73bb7e0ffe8eafdc0e534dcd3db07cc0e6f5e" }, "downloads": -1, "filename": "crag-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a9da678ecd6faed69c765748d8bd4f95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41206, "upload_time": "2018-06-29T14:42:29", "url": "https://files.pythonhosted.org/packages/d7/d8/735e60a70e40e8bc06c3b83ac39b15e60e6ae90e875737126a77c64f010c/crag-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fa66318e980f98ad434a57b3b1dad760", "sha256": "af435dd55af845a7034649d1e639593cc5394dd574198d5186a722f38af27308" }, "downloads": -1, "filename": "crag-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "fa66318e980f98ad434a57b3b1dad760", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40122, "upload_time": "2018-06-29T14:42:27", "url": "https://files.pythonhosted.org/packages/cb/1c/0d5f1faf823d9dba073358f545061e9405de1192c3b51efa09809af33097/crag-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a9da678ecd6faed69c765748d8bd4f95", "sha256": "92e02f0020ddb0eb20d2444392b73bb7e0ffe8eafdc0e534dcd3db07cc0e6f5e" }, "downloads": -1, "filename": "crag-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a9da678ecd6faed69c765748d8bd4f95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41206, "upload_time": "2018-06-29T14:42:29", "url": "https://files.pythonhosted.org/packages/d7/d8/735e60a70e40e8bc06c3b83ac39b15e60e6ae90e875737126a77c64f010c/crag-1.0.4.tar.gz" } ] }