{ "info": { "author": "Christopher Bevan Barnett", "author_email": "chrisbarnettster@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "==========\nTessellate\n==========\n\n\n.. image:: https://img.shields.io/pypi/v/tessellate.svg\n :target: https://pypi.python.org/pypi/tessellate\n\n.. image:: https://readthedocs.org/projects/tessellate/badge/?version=latest\n :target: https://tessellate.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1068656.svg\n :target: https://doi.org/10.5281/zenodo.1068656\n\nA package for quantifying cyclic molecule conformations.\n\n\n* Free software: Apache Software License 2.0\n* Documentation: https://tessellate.readthedocs.io.\n\nUsing\n-----\n\n.. code:: bash\n\n make install; tessellate data/example-builtin --input-format=builtin --output-format=json\n make install; tessellate data/*DNA --input-format=pdblist --output-format=json\n\nInstalling\n----------\n- Use Python3. For example, Anaconda Python https://www.anaconda.com/download/ https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh\n- Use a virtual environment or conda environment.\n- Install with pip or compile the source code\n\n.. code:: bash\n\n # installing with pip\n pip install tessellate\n\n # Alternatively: compile from source\n make install\n\n\nUsecase 1 - timeseries data\n---------------------------\n\n.. code:: bash\n\n tessellate data/usecase-timeseries --input-format=builtin --output-format=json --output-dir=output-usecase-timeseries\n\nThis data is from an in vacuo ribose simulation stored in data/timeseries-from-VMD\nTo recreate data use the run.sh script. This calls VMD and runs pucker-bigdcd.tcl.\n\nUsecase 2 - RNA and DNA\n-----------------------\n\n.. code:: bash\n\n tessellate data/usecase-*DNA --input-format=pdblist --output-format=json --output-dir=output-usecase-rnadna\n\nUsecase 3 - Alpha Cyclodextrin\n------------------------------\n\n.. code:: bash\n\n tessellate data/usecase-*CD --input-format=pdblist --output-format=json --output-dir=output-usecase-cyclodextrin\n\nRun All Usecases\n----------------\n\n.. code:: bash\n\n tessellate data/usecase-timeseries --input-format=builtin --output-format=json --output-dir=output-usecase-timeseries\n tessellate data/usecase-*DNA --input-format=pdblist --output-format=json --output-dir=output-usecase-rnadna\n tessellate data/usecase-*CD --input-format=pdblist --output-format=json --output-dir=output-usecase-cyclodextrin\n\nAdditional UseCases\n-------------------\n\n- `Pandas Dataframes`_ Supported with --output-format=pandas\n- `Using Tessellate as a library`_\n\n\nViewing Data\n------------\n\nTry out Montage to create reports for these datasets.\nFor example:\n\n.. code:: bash\n USECASE_DATA=output-usecase-cyclodextrin\n multiqc $USECASE_DATA -m comp_tessellate -f # -f to overwrite existing reports\n google-chrome multiqc_report.html\n\nCompare all outputs:\n\n.. code:: bash\n multiqc output* -m comp_tessellate -f # -f to overwrite existing reports\n google-chrome multiqc_report.html\n\n\nDevelopment\n-----------\nBump version numbers using bumpversion\nX=thecurrentversion\n`bumpversion --current-version X minor`\n\nTo bump from x.y.z to x.y.a use patch as the part:\n`bumpversion --current-version X patch`\n\nFeatures to include:\n--------------------\n\n* Improve testing and documentation. Port existing tests over. \n* Tables\n* include more RAD functionality\n\nUploading to PyPi\n-----------------\nUse twine\n\n.. code:: bash\n conda install -c conda-forge twine\n make install\n make dist\n twine upload dist/*\n\nIssues\n------\nReport Issues at https://github.com/scientificomputing/tessellate/issues \nKnown issue - only relative paths supported\n\n\n\nRead the Docs\n-------------\nDocs are here. RTD is authorised to access GitHub repos. The RTD service hook builds doc on push.\n\n\nPandas Dataframes\n-----------------\n.. code:: bash\n\n tessellate data/usecase-timeseries --input-format=builtin --output-format=pandas --output-dir=output-usecase-timeseries\n\n.. code:: python \n python\n import pandas as pd\n df = pd.read_json('output-usecase-timeseries/tessellate_report_usecase-timeseries.pandas.json')\n df.head()\n df.groupby('conformer').count()\n df.groupby(['ringsize','conformer']).count()\n\nUsing Tessellate as a library\n-----------------------------\n\n.. code:: python\n import tessellate as t\n import tessellate.utils.pucker as p\n import collections\n ordered_ringatoms=['C3','C4','C5','O5','C1','C2']\n frame={'C1': (-5.799, -5.308, 4.847), 'C2': (-5.383, -5.328, 3.394), 'C3': (-3.904, -4.906, 3.181),'C4': (-3.576, -3.54, 3.944), 'C5': (-4.115, -3.556, 5.339), 'O5': (-5.551, -3.941, 5.38)}\n def return_pucker(atomids,frame):\n import tessellate as t\n import tessellate.utils.pucker as p\n import itertools\n a=[frame[i] for i in atomids]\n pobj=p.Pucker(tuple(itertools.chain.from_iterable(a)))\n return pobj.calculate_triangular_tessellation(), pobj.deduce_canonical_conformation()[0],pobj.deduce_canonical_conformation()[-1],pobj.deduce_canonical_conformation(nextguess=True)[0]\n\n result=collections.OrderedDict()\n result[\"pucker\"],result[\"pucker_conformer\"],result[\"pucker_distance_to_canonical\"],result[\"pucker_next_guess\"] = return_pucker(ordered_ringatoms, frame)\n import pprint\n pprint.pprint(result)\n\nCredits\n---------\n\nThis package incorporates work from existing packages (all originally developed by Chris B. Barnett.)\n* https://bitbucket.org/scientificomputing/triangular-tessellation-class http://git.cem.uct.ac.za/analysis-pucker/triangular-tessellation-class\n* https://bitbucket.org/scientificomputing/ring-analytics-webserver https://bitbucket.org/rxncor/rad-dev http://git.cem.uct.ac.za/analysis-pucker/ring-analytics-dash\n* https://bitbucket.org/scientificomputing/triangular-tessellation-in-vmd http://git.cem.uct.ac.za/analysis-pucker/triangular-decomposition-timeseries-in-VMD\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\n\n\n=======\nHistory\n=======\n\n0.3.7 (2018-03-29)\n------------------\n* Pandas! \n* Pandas dataframe output in json and csv is the default\n* make Pandas default\n* how to use a library example in the README\n* biopython and pytest have different signatures beneath a certain version. Fixed this in setup.py\n* removed hardcoded python interpreter, in some cases machine point to python2.7 with python3 pointing to 3. Remove in *.py files. Removed in Makefile. To use another python in the make file, modify the pythonexe variable\n* Tested with --user flag. --user flag seems to work for me - e.g. pip3 install --user tessellate\n\n0.3.6 (2017-12-18)\n------------------\n* Zenodo DOI\n* empty list bug resolved \n* feature order json output\n\n0.3.5 (2017-11-30)\n------------------\n* Includes tcl script for VMD and example data\n\n0.3.4 (2017-11-29)\n------------------\n* Documentation update. Ring finder update\n\n0.3.1 0.3.2 0.3.3 (2017-11-24)\n------------------\n* Usecase, documentation update. Update requirements for PyPi\n\n0.3.0 (2017-11-23)\n------------------\n* First release on PyPi\n\n0.2.0 (2017-11-23)\n------------------\n* Alpha version that can read PDBlists and builtin, can write json\n* Include examples and much verbose logging\n\n0.1.0 (2017-11-21)\n------------------\n\n* Alpha version. Basic function\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/chrisbarnettster/tessellate", "keywords": "tessellate", "license": "Apache Software License 2.0", "maintainer": "", "maintainer_email": "", "name": "tessellate", "package_url": "https://pypi.org/project/tessellate/", "platform": "", "project_url": "https://pypi.org/project/tessellate/", "project_urls": { "Homepage": "https://github.com/chrisbarnettster/tessellate" }, "release_url": "https://pypi.org/project/tessellate/0.3.7/", "requires_dist": [ "Click (>=6.0)", "numpy", "bson", "biopython (>=1.70)", "pandas", "pytest" ], "requires_python": ">=3", "summary": "A package for quantifying cyclic molecule conformations.", "version": "0.3.7" }, "last_serial": 3716737, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "211dc1595e10564efe5d8f81416d85ad", "sha256": "c756ba62f3e535ec095deefff0a3940871b65e5799bb7d12ff2f76f69aca34ca" }, "downloads": -1, "filename": "tessellate-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "211dc1595e10564efe5d8f81416d85ad", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 29727, "upload_time": "2017-11-23T16:06:34", "url": "https://files.pythonhosted.org/packages/2c/64/00fc86cd5e41035211fd6f51a662b5d6bd533b32556c437ee164a12c10f6/tessellate-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af42439c8783e36f1c88f0e10fc2aa7f", "sha256": "9f218852f392880a78726071bce15a2f81bb37128350e05b6f145bac19987aa5" }, "downloads": -1, "filename": "tessellate-0.3.0.tar.gz", "has_sig": false, "md5_digest": "af42439c8783e36f1c88f0e10fc2aa7f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 39948, "upload_time": "2017-11-23T16:06:36", "url": "https://files.pythonhosted.org/packages/45/32/ffcdfc62da9c1f90fccee1fe1911bf5490a14a71b3072c17bc8cbeeb5c39/tessellate-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "d8f8068ac8e24880684a7a58583dbb1c", "sha256": "68b221ed91de47a9cc5dd780dfe39e746185b4857d79077491fe0ff527252240" }, "downloads": -1, "filename": "tessellate-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d8f8068ac8e24880684a7a58583dbb1c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 30632, "upload_time": "2017-11-24T11:41:13", "url": "https://files.pythonhosted.org/packages/ed/1b/d66937e3826ecc887c20db30cdbcd921070f7c4ee94ba8a128b37dd55893/tessellate-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f9cd81a10d3d21d154c8d7de1b3a6eb", "sha256": "cb38f8c3345f09325034e031deab035146068ca4a6ea9daf142d4cabfeab9ca8" }, "downloads": -1, "filename": "tessellate-0.3.1.tar.gz", "has_sig": false, "md5_digest": "9f9cd81a10d3d21d154c8d7de1b3a6eb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 41156, "upload_time": "2017-11-24T11:41:14", "url": "https://files.pythonhosted.org/packages/39/23/6e750a3c3e241da437e71f4ad338fd164ddc8cb98524303a710777c26073/tessellate-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "39bfa31b3f5190cc459973acd68ea9d6", "sha256": "ebddd21591f3d4ddfefcc7b3efd754eee84730a4dad8b3cd1509478759b7d90b" }, "downloads": -1, "filename": "tessellate-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "39bfa31b3f5190cc459973acd68ea9d6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 30750, "upload_time": "2017-11-24T11:57:13", "url": "https://files.pythonhosted.org/packages/51/18/55a106ec9eba0620041e36aea7c75914d38cb7dade3784cb5c89c22a94f1/tessellate-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a57a287e6cfabf878c68137f1374d26", "sha256": "bad66a3f452aae9444197c10215f4a87a5130421426e481ce6574ba8ab3ae501" }, "downloads": -1, "filename": "tessellate-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6a57a287e6cfabf878c68137f1374d26", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 41293, "upload_time": "2017-11-24T11:57:15", "url": "https://files.pythonhosted.org/packages/af/c3/090f008699b6551c590afcc4affa5c88cf2c31259a95796c8755a224803c/tessellate-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "4bd87c09298110305f6f1c6983a7ae68", "sha256": "b82849b9acfe4b858b0e69fb4b585c252138c15d05ecac8f9ecdac556176a5f5" }, "downloads": -1, "filename": "tessellate-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4bd87c09298110305f6f1c6983a7ae68", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 30748, "upload_time": "2017-11-24T12:00:03", "url": "https://files.pythonhosted.org/packages/47/30/12a847887686910d0a438b8a248ca19228d183482f28b294aaccf3a01ed8/tessellate-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13dd9ef256c3e800f3b734d193414097", "sha256": "7d60050b70e353f8f96a46438f77f4c9333756595262ccfee6df47b77917466b" }, "downloads": -1, "filename": "tessellate-0.3.3.tar.gz", "has_sig": false, "md5_digest": "13dd9ef256c3e800f3b734d193414097", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 41290, "upload_time": "2017-11-24T12:00:04", "url": "https://files.pythonhosted.org/packages/c4/b1/c184da016743240e19507361197f7a7dd71f84d9d84d42e90d5f241fa742/tessellate-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "760a9243aea85e3f31a1ffc51bb740e3", "sha256": "096ee087b2ce10966c6a551e6ed41eadeafc789688e30a3bd899e3d37b10db28" }, "downloads": -1, "filename": "tessellate-0.3.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "760a9243aea85e3f31a1ffc51bb740e3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 32185, "upload_time": "2017-11-29T15:33:00", "url": "https://files.pythonhosted.org/packages/a1/7e/919c483374e5f3913de8cd98ba1ee89e91b834ad3a74adbb99493593e004/tessellate-0.3.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6687535ba5d6d28cb39a94c4e207137d", "sha256": "97e37743e36c6b6c720fde9698a67168b376f2d6b1a9092808ff742cc220b660" }, "downloads": -1, "filename": "tessellate-0.3.4.tar.gz", "has_sig": false, "md5_digest": "6687535ba5d6d28cb39a94c4e207137d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 42685, "upload_time": "2017-11-29T15:33:06", "url": "https://files.pythonhosted.org/packages/f4/21/12f37e379d95a94d2810216e0ca30be11f75a75e0102c0cfd6b1b6a7a831/tessellate-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "bdbde15ef4d99e6490a57f55f8db2e79", "sha256": "b7e14b7fbb31758e69b2bd2c8a96195a07c1a5f6184d668b73117f944573ddb1" }, "downloads": -1, "filename": "tessellate-0.3.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bdbde15ef4d99e6490a57f55f8db2e79", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 32402, "upload_time": "2017-11-30T08:06:05", "url": "https://files.pythonhosted.org/packages/16/42/83972a22f22c661b6aa53d87fc8be6e44e7c0caf0fedaed57586bf6cb4da/tessellate-0.3.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2877a6f0e79332dc809085217c83e47f", "sha256": "c7f437b2ba31da615a25d53872c1cff78b6660489021a2de7699e1c7dd05c515" }, "downloads": -1, "filename": "tessellate-0.3.5.tar.gz", "has_sig": false, "md5_digest": "2877a6f0e79332dc809085217c83e47f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 42830, "upload_time": "2017-11-30T08:06:07", "url": "https://files.pythonhosted.org/packages/03/4d/7be713afda7edd64028192beafd33e6147c3da7116450734024f477b8ed4/tessellate-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "ad6df01d3d3371485eed6a8fe1456def", "sha256": "2eb33f7a8afb77390630cec94d7b8197e65c937efad5045c8ffa456aeb843af7" }, "downloads": -1, "filename": "tessellate-0.3.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad6df01d3d3371485eed6a8fe1456def", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 32763, "upload_time": "2017-12-18T07:41:07", "url": "https://files.pythonhosted.org/packages/40/d1/1f1532dbdcacb33773b7b8612f5f27378d8a92473f394101591c4eee2f3c/tessellate-0.3.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d165c95c9e8a731a04e83edc7b29e3a1", "sha256": "9a9817de02a3f4ade79a4f057df4cd84989b65f54d745d4b3775357b308e492c" }, "downloads": -1, "filename": "tessellate-0.3.6.tar.gz", "has_sig": false, "md5_digest": "d165c95c9e8a731a04e83edc7b29e3a1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 37737, "upload_time": "2017-12-18T07:41:10", "url": "https://files.pythonhosted.org/packages/5e/6e/35ce7a04010744734638625370b7a669238caede3efd4c115da6f67974cf/tessellate-0.3.6.tar.gz" } ], "0.3.7": [ { "comment_text": "", "digests": { "md5": "01be2a481f46b2aaaf684ccbcdb4d3b6", "sha256": "b5ed8c2c08f288181d79cd128397fc4f0d5fb17e2d315994d6e070adb71833da" }, "downloads": -1, "filename": "tessellate-0.3.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "01be2a481f46b2aaaf684ccbcdb4d3b6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 34711, "upload_time": "2018-03-29T10:25:04", "url": "https://files.pythonhosted.org/packages/53/8b/06cea227a908e390a6a6bfafb3ab50c3423f4fb79b4c352aa7dec51c9685/tessellate-0.3.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13b0a719896949db9c0aef0081e526ed", "sha256": "c6813ecba93f1af844d5f6f94285c94cadb860df2197efb51b736b18512867c4" }, "downloads": -1, "filename": "tessellate-0.3.7.tar.gz", "has_sig": false, "md5_digest": "13b0a719896949db9c0aef0081e526ed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 38970, "upload_time": "2018-03-29T10:25:05", "url": "https://files.pythonhosted.org/packages/ea/17/b2d207c63a2a3bb0186e7d83c9a8f7abfb50dd93971a32c7c7cec652b93f/tessellate-0.3.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "01be2a481f46b2aaaf684ccbcdb4d3b6", "sha256": "b5ed8c2c08f288181d79cd128397fc4f0d5fb17e2d315994d6e070adb71833da" }, "downloads": -1, "filename": "tessellate-0.3.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "01be2a481f46b2aaaf684ccbcdb4d3b6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 34711, "upload_time": "2018-03-29T10:25:04", "url": "https://files.pythonhosted.org/packages/53/8b/06cea227a908e390a6a6bfafb3ab50c3423f4fb79b4c352aa7dec51c9685/tessellate-0.3.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13b0a719896949db9c0aef0081e526ed", "sha256": "c6813ecba93f1af844d5f6f94285c94cadb860df2197efb51b736b18512867c4" }, "downloads": -1, "filename": "tessellate-0.3.7.tar.gz", "has_sig": false, "md5_digest": "13b0a719896949db9c0aef0081e526ed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 38970, "upload_time": "2018-03-29T10:25:05", "url": "https://files.pythonhosted.org/packages/ea/17/b2d207c63a2a3bb0186e7d83c9a8f7abfb50dd93971a32c7c7cec652b93f/tessellate-0.3.7.tar.gz" } ] }