{ "info": { "author": "Alexander Junge", "author_email": "alexander.junge@posteo.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Utilities" ], "description": "================================================================================\nCoCoScore: context-aware co-occurrence scores for text mining applications\n================================================================================\n\n\n\n.. image:: https://github.com/JungeAlexander/cocoscore/blob/master/doc/logos/CoCoScore-text-small.png\n\nText mining of the biomedical literature has been successful in retrieving interactions between proteins, non-coding RNAs, and chemicals as well as in determining tissue-specific expression and subcellular localization. Simple co-occurrence-based scoring schemes can uncover such associations by finding entity pairs that are frequently mentioned together but ignore the textual context of each co-occurrence.\n\nCoCoScore implements an improved context-aware co-occurrence scoring scheme that uses textual context to assess whether an association is described in a given sentence or not. CoCoScore achieves superior performance compared to previous approaches that rely on constant sentence scores, based on datasets of disease-gene, tissue-gene, and protein-protein associations.\nIn our research, we use `distant supervision `_ to create an automatic, but noisy, labelling of a large dataset of sentences co-mentioning two entities of interest.\n\nFree software: MIT license\n\n\nInstallation\n============\n\nTo install CoCoScore via bioconda (for Linux and Mac OS):\n\n\n::\n\n conda install -c bioconda cocoscore\n\n\nTo install CoCoScore via pip:\n\n\n::\n\n pip install cocoscore\n\n\nCoCoScore depends on `fastText `_ which needs to be installed separately if CoCoScore was installed via pip.\nThe installation via bioconda automatically installs fastText, too.\n\nIf you installed you installed CoCoScore via pip, please build v0.1.0 of fastText as described `here `_ and make sure the ``fasttext`` binary is discoverable via your ``$PATH`` environment variable.\n\nfastText v0.1.0 is also available via `conda-forge `_:\n\n\n::\n\n conda install -c conda-forge fasttext=0.1.0\n\n\n**CoCoScore docker container:**\n\n\nBioconda automatically builds a Docker container for CoCoScore. \nSee the `package documentation `_ for more information.\n\n\nQuick start\n===========\n\n1. Follow the installation instructions above.\n2. Download the ``demo.ftz`` file (see next section) needed to run through the example.\n3. Run through the `example `_ to learn how to apply CoCoScore to your own data.\n\n\nExample usage\n==============\n\nBefore running the examples, please download the following file and save it to ``doc/example/``:\n\n- `Example pre-trained fastText model `_\n\nThe files are downloaded and placed in the correct directories by executing:\n\n::\n\n wget -P doc/example/ http://download.jensenlab.org/BLAH4/demo.ftz\n\n\nPreprint manuscript\n====================\n\nA preprint manuscript describing CoCoScore and its performance on eight datasets, compared to a baseline co-occurrence scoring model, is available `via bioRxiv `_.\n\nSupplementary data described in the manuscript can be downloaded `via figshare `_.\n\n\nContributors\n=============\n\nCoCoScore is being developed by Alexander Junge and Lars Juhl Jensen at the\nDisease Systems Biology Program, Novo Nordisk Foundation Center for Protein Research,\nFaculty of Health and Medical Sciences, University of Copenhagen, Denmark.\n\n\nFeedback\n===========\n\nPlease open an issue here or write us:\n``{alexander.junge,lars.juhl.jensen} AT cpr DOT ku DOT dk``\n\nSee also: https://github.com/JungeAlexander/cocoscore/blob/master/CONTRIBUTING.rst\n\n\nDevelopment\n===========\n\nTo run the all tests run::\n\n tox\n\nNote, to combine the coverage data from all the tox environments run:\n\n.. list-table::\n :widths: 10 90\n :stub-columns: 1\n\n - - Windows\n - ::\n\n set PYTEST_ADDOPTS=--cov-append\n tox\n\n - - Other\n - ::\n\n PYTEST_ADDOPTS=--cov-append tox\n\n\n\nChangelog\n=========\n\n1.0.0 (2010-01-25)\n------------------\n\n* implement new sentence score cutoff in ``tagger.co_occurrence_score.co_occurrence_score()``\n* remove gensim depency, retain only scipy as depedency\n* document/facilitate usage of different scoring model\n* fix issues with Travis CI runs\n\n0.2.0 (2018-11-10)\n------------------\n\n* Add support for Python 3.5.\n\n\n0.1.0 (2018-11-10)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JungeAlexander/cocoscore", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "cocoscore", "package_url": "https://pypi.org/project/cocoscore/", "platform": "", "project_url": "https://pypi.org/project/cocoscore/", "project_urls": { "Homepage": "https://github.com/JungeAlexander/cocoscore" }, "release_url": "https://pypi.org/project/cocoscore/1.0.0/", "requires_dist": [ "pandas (>=0.23.3)", "scikit-learn (>=0.20.1)" ], "requires_python": "", "summary": "CoCoScore: context-aware co-occurrence scores for text mining applications", "version": "1.0.0" }, "last_serial": 4739457, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c1000ad48b0bd210b376501e1533c6d3", "sha256": "ad2246c45e3458430c40c41f2a08aea2364a2296a1f043cb2152496a84a73ae5" }, "downloads": -1, "filename": "cocoscore-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c1000ad48b0bd210b376501e1533c6d3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32074, "upload_time": "2018-11-15T10:08:47", "url": "https://files.pythonhosted.org/packages/80/9d/2ebb230b0a6df4f235ae33b3e5b706d00d75cbaa89c57a214a3123044df4/cocoscore-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b3028e444678e644d7986bfe0825bc0", "sha256": "b6f78fc9db5c70d21aac49909fa7e70e7be76f6ea051e52cc81dc1811c50e8b7" }, "downloads": -1, "filename": "cocoscore-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5b3028e444678e644d7986bfe0825bc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 387875, "upload_time": "2018-11-15T10:08:49", "url": "https://files.pythonhosted.org/packages/c5/bd/65df24d2278639cb8a2a0665858ce23265e6f78ebed9c37825da7fb20d98/cocoscore-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "4ff18f7abb0a324286fd48be3593ef61", "sha256": "86c11e4e8130e989f85ab8b5bd1307af22f9e1035f420da794cac10bbd42507b" }, "downloads": -1, "filename": "cocoscore-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4ff18f7abb0a324286fd48be3593ef61", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32125, "upload_time": "2018-11-15T13:04:57", "url": "https://files.pythonhosted.org/packages/82/65/7c572abdca80d732bd2c7a3a6f0d772c3d4063d997b181e7d548d2bb91ef/cocoscore-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c2b69c1ec2052019bafbc862f6fd083d", "sha256": "be0a0ae38edd4f3b51e1e9ac1a697facf0dcb8ede4389bdd578a7bcefe3188b9" }, "downloads": -1, "filename": "cocoscore-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c2b69c1ec2052019bafbc862f6fd083d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 387876, "upload_time": "2018-11-15T13:04:59", "url": "https://files.pythonhosted.org/packages/cc/0d/13fe605f887d1aa939cfd024ee5f4bce1b9d0c09c82a593fd680b069d4eb/cocoscore-0.2.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b5e85b7398e52c6c60373c1bafad2549", "sha256": "2d6214ad3e013f8156f9b573644a0395444dda8352ee7c8d41b85e85918d2e66" }, "downloads": -1, "filename": "cocoscore-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5e85b7398e52c6c60373c1bafad2549", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32502, "upload_time": "2019-01-25T10:24:16", "url": "https://files.pythonhosted.org/packages/32/ec/21217d76974721c7842195db39a262a1ccf8f14cae2b71c7ea294f282742/cocoscore-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4488415b1e04251db780b4b35df6ffd6", "sha256": "a19bd40c09214225bd7bcb1ac4bc375825da81426aaa50106eff62203abd9f8a" }, "downloads": -1, "filename": "cocoscore-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4488415b1e04251db780b4b35df6ffd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 389294, "upload_time": "2019-01-25T10:24:18", "url": "https://files.pythonhosted.org/packages/a4/52/aa082cbf0f04d115723d21ee238c6f2d3e45878d5d500be29afa23cef06b/cocoscore-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5e85b7398e52c6c60373c1bafad2549", "sha256": "2d6214ad3e013f8156f9b573644a0395444dda8352ee7c8d41b85e85918d2e66" }, "downloads": -1, "filename": "cocoscore-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5e85b7398e52c6c60373c1bafad2549", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32502, "upload_time": "2019-01-25T10:24:16", "url": "https://files.pythonhosted.org/packages/32/ec/21217d76974721c7842195db39a262a1ccf8f14cae2b71c7ea294f282742/cocoscore-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4488415b1e04251db780b4b35df6ffd6", "sha256": "a19bd40c09214225bd7bcb1ac4bc375825da81426aaa50106eff62203abd9f8a" }, "downloads": -1, "filename": "cocoscore-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4488415b1e04251db780b4b35df6ffd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 389294, "upload_time": "2019-01-25T10:24:18", "url": "https://files.pythonhosted.org/packages/a4/52/aa082cbf0f04d115723d21ee238c6f2d3e45878d5d500be29afa23cef06b/cocoscore-1.0.0.tar.gz" } ] }