{ "info": { "author": "Chris Churas", "author_email": "contact@ndexbio.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "==========================\nNDEx Signor Content Loader\n==========================\n\n\n.. image:: https://img.shields.io/pypi/v/ndexsignorloader.svg\n :target: https://pypi.python.org/pypi/ndexsignorloader\n\n.. image:: https://img.shields.io/travis/ndexcontent/ndexsignorloader.svg\n :target: https://travis-ci.org/ndexcontent/ndexsignorloader\n\n.. image:: https://coveralls.io/repos/github/ndexcontent/ndexsignorloader/badge.svg?branch=master\n :target: https://coveralls.io/github/ndexcontent/ndexsignorloader?branch=master\n\n.. image:: https://readthedocs.org/projects/ndexsignorloader/badge/?version=latest\n :target: https://ndexsignorloader.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nPython application that loads Signor data into NDEx_\n\nThis tool downloads data files from Signor_ and performs the following operations:\n\n**1\\)** The text files are loaded into a network using this loadplan_\n\n**2\\)** The edge attribute **direct** is set to **True** if value is **'t'** otherwise its set to **False**\n\n**3\\)** Using values in the **databasea** and **databaseb** data files, the **represents** field found on each node is prefixed with **uniprot:** if the database value is **UNIPROT** and **signor:** if the database value is **SIGNOR**\n\n**4\\)** The **location** node attribute is set to **cytoplasm** if its not set (which is case for all nodes in **Signor Complete - Human, Signor Complete - Rat, and Signor Complete - Mouse** networks)\n\n**5\\)** The **location** node attribute with value **phenotypeList** is set to empty string\n\n**6\\)** Any negative or non-numeric citations are removed from the **citation** edge attribute (There were multiple cases of -1 and **Other**). In addition, a specific PMC:## is updated to its pubmed id.\n\n**7\\)** **IF --edgecollapse** flag is set on commandline, then edges between same nodes are collapsed if they have same **interaction** with attributes stored in lists with exception of **direct** which is a bool. The pubmed id is prepended (as html link) to each **sentence** attribute entry.\n In addition, a network attribute named **notes** is added with following text: **Edges have been collapsed with attributes converted to lists with exception of direct attribute**\n\n**8\\)** The layout of the network is created using the spring layout, but with additional logic that positions nodes in a vertical based on value of the **location** node attribute. The ordering is as follows:\n\n* **extracellular** are placed at the top\n* **receptor** are below **extracellular**\n* **cytoplasm** are placed in the middle\n* **factor** are below **cytoplasm**\n* If attribute is empty, nodes are placed at the bottom\n\n**9\\)** The following network attributes are set\n\n* **name** is set to data from Signor service **getPathwayData.php?pathway=** (except for the full/complete networks which have a more generic description)\n* **author** is set to data from Signor service **getPathwayData.php?pathway=** (unless its empty in which case its not added to network)\n* **organism** is set to **Human, 9606, Homo sapiens** (except for **Signor Complete - Rat, and Signor Complete - Mouse** networks)\n* **prov:wasGeneratedBy** is set to ndexsignorloader (example: ndexsignorloader 1.0.0)\n* **prov:wasDerivedFrom** set to URL to download data file (or in case of full networks its set to Signor site)\n* **version** is set to Abbreviated day-month-year (example: 05-Jun-2019)\n* **description** is taken from Signor service **getPathwayData.php?pathway=**\n* **rightsHolder** is set to **Prof. Gianni Cesareni**\n* **rights** is set to **Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)**\n* **reference** is set to citation for **SIGNOR: a database of causal relationships between biological entities**\n* **labels** is set to data from Signor service **getPathwayData.php?pathway=** (not set for full networks)\n* **type** is set to a list with **pathway** and if known type of pathway\n* **__normalizationversion** is set to **0.1**\n\nDependencies\n------------\n\n* `ndex2 `_\n* `ndexutil `_\n\nCompatibility\n-------------\n\n* Python 3.4+\n\nInstallation\n------------\n\n.. code-block::\n\n git clone https://github.com/ndexcontent/ndexsignorloader\n cd ndexsignorloader\n make dist\n pip install dist/ndexloadsignor*whl\n\n\nRun **make** command with no arguments to see other build/deploy options including creation of Docker image \n\n.. code-block::\n\n make\n\nOutput:\n\n.. code-block::\n\n clean remove all build, test, coverage and Python artifacts\n clean-build remove build artifacts\n clean-pyc remove Python file artifacts\n clean-test remove test and coverage artifacts\n lint check style with flake8\n test run tests quickly with the default Python\n test-all run tests on every Python version with tox\n coverage check code coverage quickly with the default Python\n docs generate Sphinx HTML documentation, including API docs\n servedocs compile the docs watching for changes\n testrelease package and upload a TEST release\n release package and upload a release\n dist builds source and wheel package\n install install the package to the active Python's site-packages\n dockerbuild build docker image and store in local repository\n dockerpush push image to dockerhub\n\n\nConfiguration\n-------------\n\nThe **ndexloadsignor.py** requires a configuration file in the following format be created.\nThe default path for this configuration is :code:`~/.ndexutils.conf` but can be overridden with\n:code:`--conf` flag.\n\n**Format of configuration file**\n\n.. code-block::\n\n []\n\n user = \n password = \n server = \n\n**Example configuration file**\n\n.. code-block::\n\n [ndexsignorloader_dev]\n\n user = joe123\n password = somepassword123\n server = dev.ndexbio.org\n\n\nUsage\n-----\n\nFor information invoke :code:`ndexloadsignor.py -h`\n\n**Example usage**\n\n**TODO:** Add information about example usage\n\n.. code-block::\n\n mkdir signor\n ndexloadsignor.py signor/\n\n\nVia Docker\n~~~~~~~~~~~~~~~~~~~~~~\n\n**Example usage**\n\n**TODO:** Add information about example usage\n\n\n.. code-block::\n\n docker run -v `pwd`:`pwd` -w `pwd` coleslawndex/ndexsignorloader:1.0.0 ndexloadsignor.py --conf conf # TODO Add other needed arguments here\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _NDEx: http://www.ndexbio.org\n.. _Signor: https://signor.uniroma2.it/\n.. _loadplan: https://github.com/ndexcontent/ndexsignorloader/blob/master/ndexsignorloader/loadplan.json\n.. _style.cx: https://github.com/ndexcontent/ndexsignorloader/blob/master/ndexsignorloader/style.cx\n\n\n=======\nHistory\n=======\n\n1.0.0 (2019-07-30)\n-------------------\n\n* **--edgecollapse** flag added which collapses all edges putting all attributes\n minus **direct** into lists. For **sentence** attribute each entry the\n list is now prepended with href link to citation labeled pubmed:#### In addition,\n if **--edgecollapse** flag is set then a **notes** network attribute is added to\n let user know.\n\n* **--style** can also accept NDEx UUID for network style. Network needs to be on same\n server set in **--profile**\n\n0.3.0 (2019-07-29)\n-------------------\n\n* Added commandline flag **--visibility** that lets user dictate whether NEW networks are public or private (default is public)\n\n* Signor Full Human, Signor Full Rat, and Signor Full Mouse networks have been renamed\n to Signor Complete - Human, Signor Complete - Rat, Signor Complete - Mouse\n\n* On edges, replaced location attribute value of phenotypesList with empty string NSU-75\n\n* Added __iconurl network attribute and renamed type network attribute to networkType\n\n0.2.0 (2019-06-28)\n------------------\n\n* Changed prov:wasDerivedFrom network attribute to just signor website URL for full networks\n\n* Removed author network attribute if no value is found\n\n* Removed labels attribute for full networks \n\n0.1.0 (2019-06-27)\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/ndexcontent/ndexsignorloader", "keywords": "ndexsignorloader", "license": "BSD license", "maintainer": "", "maintainer_email": "", "name": "ndexsignorloader", "package_url": "https://pypi.org/project/ndexsignorloader/", "platform": "", "project_url": "https://pypi.org/project/ndexsignorloader/", "project_urls": { "Homepage": "https://github.com/ndexcontent/ndexsignorloader" }, "release_url": "https://pypi.org/project/ndexsignorloader/1.0.0/", "requires_dist": [ "ndex2", "ndexutil", "requests", "pandas" ], "requires_python": "", "summary": "Loads SIGNOR data into NDEx", "version": "1.0.0" }, "last_serial": 5610704, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "729a1bb1c2b812634abc7a29d98eb3c2", "sha256": "a90c05ca1b700a9382f029c0d1ca5a91eb32227e338fa5c1e08916f3dd4a1da7" }, "downloads": -1, "filename": "ndexsignorloader-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "729a1bb1c2b812634abc7a29d98eb3c2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 50992, "upload_time": "2019-06-27T23:46:07", "url": "https://files.pythonhosted.org/packages/c2/90/48f314e36a6322c88fa691a0fd21c07ad7a2c2778751f49f098aebb6d774/ndexsignorloader-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3931afa1dd2bce17a82b4a3d3d261a62", "sha256": "38f7314b994012e567caef0a4c8acbe5c8e7a63243b68b212653bce6242b8ba4" }, "downloads": -1, "filename": "ndexsignorloader-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3931afa1dd2bce17a82b4a3d3d261a62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28892, "upload_time": "2019-06-27T23:46:10", "url": "https://files.pythonhosted.org/packages/3f/45/7a78b0e5b0446fdf160418afab522d4164ad8f4c341cfc047db9f5f63dc4/ndexsignorloader-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a11292d92365fc96eaf46a9061e46a2e", "sha256": "037b8e54c5ac4cc4fee630920ad7cf1e4c1146aaeb62a5a6558ad57781660762" }, "downloads": -1, "filename": "ndexsignorloader-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a11292d92365fc96eaf46a9061e46a2e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 51174, "upload_time": "2019-06-28T23:54:22", "url": "https://files.pythonhosted.org/packages/aa/a1/56c66f6bcf11377eba08afe7a96319d1e75d4c04603249b48ec15a5191c8/ndexsignorloader-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1e1d46990ab9cdc55d1135b07a2f5e1", "sha256": "887caf9bba1522d31a42fdd7da65780327792821557c2ebb5dca53f67d896b88" }, "downloads": -1, "filename": "ndexsignorloader-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d1e1d46990ab9cdc55d1135b07a2f5e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29418, "upload_time": "2019-06-28T23:54:23", "url": "https://files.pythonhosted.org/packages/9a/1c/16e75dac2b366b468ce2b093a10bac6761f11a510d656fc95a5563733725/ndexsignorloader-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f034094e9ee21b086dc7884b681cbfec", "sha256": "fc11759ea9df9f647e1ace63a82f98ea945c24919ff4229cc3782a520ddee892" }, "downloads": -1, "filename": "ndexsignorloader-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f034094e9ee21b086dc7884b681cbfec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 56690, "upload_time": "2019-07-29T21:56:25", "url": "https://files.pythonhosted.org/packages/7d/3b/9697baee9949c5b83d8cac4260afa30b80bbfdc70ea71c98d7090d9614c7/ndexsignorloader-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa32ea523ba02ff651deb9f322b5a562", "sha256": "588843dda18e538d65944a18688721270464f41fc14fea51a4b5a6d08a5a9bf5" }, "downloads": -1, "filename": "ndexsignorloader-0.3.0.tar.gz", "has_sig": false, "md5_digest": "aa32ea523ba02ff651deb9f322b5a562", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33576, "upload_time": "2019-07-29T21:56:27", "url": "https://files.pythonhosted.org/packages/dc/56/f2760edfaadd15b5bad02f282f9ea2e5357a902e72293ecb42c979184443/ndexsignorloader-0.3.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "f0a97f13cc175e53d8de613927972625", "sha256": "87cb40ffe436b61352ac35e5a2d3b410c97b942b8df3fb735c4932d6f9ba01e7" }, "downloads": -1, "filename": "ndexsignorloader-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f0a97f13cc175e53d8de613927972625", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 58743, "upload_time": "2019-07-31T00:02:31", "url": "https://files.pythonhosted.org/packages/9c/98/c3a6aab0cd0568313ae0f3224a49cc06d06b60e32531407d8bfe01520961/ndexsignorloader-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c50addb6a17052251678222e7a81e75b", "sha256": "f6880335fc0a0f578c0eba74daf4b5aecc41bffaefcfcb6f001324cc3a297dd2" }, "downloads": -1, "filename": "ndexsignorloader-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c50addb6a17052251678222e7a81e75b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36363, "upload_time": "2019-07-31T00:02:33", "url": "https://files.pythonhosted.org/packages/96/95/34a7f55b2bf32dcb388816c4b3808d7d4636a532ae5b1c42d115c6dd2bd6/ndexsignorloader-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0a97f13cc175e53d8de613927972625", "sha256": "87cb40ffe436b61352ac35e5a2d3b410c97b942b8df3fb735c4932d6f9ba01e7" }, "downloads": -1, "filename": "ndexsignorloader-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f0a97f13cc175e53d8de613927972625", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 58743, "upload_time": "2019-07-31T00:02:31", "url": "https://files.pythonhosted.org/packages/9c/98/c3a6aab0cd0568313ae0f3224a49cc06d06b60e32531407d8bfe01520961/ndexsignorloader-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c50addb6a17052251678222e7a81e75b", "sha256": "f6880335fc0a0f578c0eba74daf4b5aecc41bffaefcfcb6f001324cc3a297dd2" }, "downloads": -1, "filename": "ndexsignorloader-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c50addb6a17052251678222e7a81e75b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36363, "upload_time": "2019-07-31T00:02:33", "url": "https://files.pythonhosted.org/packages/96/95/34a7f55b2bf32dcb388816c4b3808d7d4636a532ae5b1c42d115c6dd2bd6/ndexsignorloader-1.0.0.tar.gz" } ] }