{ "info": { "author": "Jan Zaucha", "author_email": "j.zaucha@tum.de", "bugtrack_url": null, "classifiers": [], "description": "calcDiameter: a method to find the maximum diameter of a ring-shaped protein complex of symmetry Cn. \n\n########################################\n\nHow it works\n=============\n\nIt reads a 'Biological Assembly' PDB file and finds the right orientation such that the protein ring lies 'flat' on XY plane. Then, the maximum distance between any pair of residues residing in the same 'height slice' is returned. On top of that the method returns the 'effective radius'\n\n\nInstallation\n============\n\n\nVia pip from `PyPi `_\n(recommended):\n\n.. code-block:: bash\n\n $ sudo pip install calcDiameter\n\n\nIf your system lacks pip, `install it first `_. \n\n\nPython version\n--------------\n\nThe tool was developed using Python 3.7, however running under \nPython 3.x *should* work as well.\n\n\n\n\nUsage\n=====\n\n\nPython 3.7 shell\n\n\n.. code-block:: bash\n\n >>> from calcDiameter import *\n >>> calcDiameter('1qaw.pdb')\n Reading PDB file\n Obtaining approximate orientation by testing rotations about X and Y axes every 10 degrees...\n Obtaining accurate orientation by testing rotations about X and Y axes every 1 degree...\n Plotting projecton of CA atom coordinates onto the XY plane\n Max diameter between E:75 & K:17 is 79.701881; effective radius is 39.898543\n (79.70188096903092, 'E:75', 'K:17', 39.89854271684067)\n\n\n\nYou can set the tolerated height difference between points using the bin\\_ parameter; by default=3 Angstrom, change to 30 (the Z component of the distance is disregarded regardless of the bin\\_ parameter!). Note that the effective radius has not changed:\n\n\n.. code-block:: bash\n\n >>> calcDiameter.calcDiameter('1qaw.pdb', bin_=30)\n Reading PDB file\n Obtaining approximate orientation by testing rotations about X and Y axes every 10 degrees...\n Obtaining accurate orientation by testing rotations about X and Y axes every 1 degree...\n Plotting projecton of CA atom coordinates onto the XY plane\n Max diameter between E:75 & K:18 is 79.706971; effective radius is 39.898543\n (79.70697056799868, 'E:75', 'K:18', 39.89854271684067)\n\nThe full list of options is as follows\n\n.. code-block:: bash\n\n >>>calcDiameter(pdb, plot=True, plot3d=False, no_rotation=False, bin_=3, test=5)\n\nYou can set 'no_rotation' to True if you believe that the pdb is already correctly oriented - the structure is already flat on the XY plane.\n\nYou can also set plot3d to True if you want to see the 3d plots of points making up the structure. First you will see the original orientation of the pdb - feel free to look at it from all angles, then close it to see the best orientation that the program has found - the structure should lie flat on the XY plane; close the plot to obtain the max diameter along the XY plane. \n\nThe test parameter specifies the radius of the structure (from its centre) that is expected to stay hollow provided we have found the right orientation for the structure.\n\n\n\nThen you can query PDB to retrieve all structures of rotational symmetry Cn (specify n); returns a pandas data-frame with parameters calculated for the structures:\n\n\n.. code-block:: bash\n\n >>> getDiametersCn(13)\n Retrieving list of PDBs that match the selected criteria...\n\t2JES,2X2V,3JVO,4CBJ,4CBK,4V2T,4XJN,6GY6\n\tDownloading PDB 2JES\n\tReading 2JES PDB file\n\tObtaining approximate orientation by testing rotations about X and Y axes every 10 degrees...\n\t(...)\n\t Diameter label1 label2 Eff. radus Cn\n\t2JES 162.626456 G:30 U:29 81.913051 13\n\t2X2V 60.312264 G:40 M:40 30.425173 13\n\t3JVO 110.369143 C:1 I:50 55.239389 13\n\t4CBJ 60.344003 F:40 M:40 30.422166 13\n\t4CBK 60.169909 E:40 L:40 30.276677 13\n\t4V2T 220.978870 C:82 X:82 111.307835 13\n\t4XJN 193.364481 B:110 M:110 97.363493 13\n\t6GY6 249.636369 I:151 S:151 125.730877 13\n\nThe full list of options is as follows: res_min & res_max are the minimum and maximum structure resolution thresholds - defaults 0.0 and 3.0, respectively:\n\n\n.. code-block:: bash\n\n\t >>>getDiametersCn(n, res_min = 0.0, res_max = 3.0, plot=True, bin_=3, test=5)\n\nLicence\n-------\n\nMIT\n\n\nAuthors\n-------\n\n`Jan Zaucha `_\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "calcDiameter", "package_url": "https://pypi.org/project/calcDiameter/", "platform": "", "project_url": "https://pypi.org/project/calcDiameter/", "project_urls": null, "release_url": "https://pypi.org/project/calcDiameter/0.17/", "requires_dist": null, "requires_python": "", "summary": "The program takes in a Molecular Assembly PDB file as arument, finds the right orientation such that the ring sits on the XY plane, projects all atoms onto the XY plane and calculates the max diameter between two atoms that lie furthest apart on the XY plane", "version": "0.17" }, "last_serial": 4620973, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "fff0741d2505926846f92b46f0c598e2", "sha256": "142424f8a7d006e4515fce0bfd6fe566c1237318c7ac7ba23120f91ab48d21bf" }, "downloads": -1, "filename": "calcDiameter-0.1.tar.gz", "has_sig": false, "md5_digest": "fff0741d2505926846f92b46f0c598e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2557, "upload_time": "2018-12-11T14:19:00", "url": "https://files.pythonhosted.org/packages/c2/cc/307b9b975ff0929c1e06727773a26d73c87e54bc8e5bcfc528a876d3d688/calcDiameter-0.1.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "a688136f04b646db9d1a0ffd92d74add", "sha256": "f59a152f8aa965106f65f127f5e6e4bafe820debd6450e2e6730bacb08bb6a0b" }, "downloads": -1, "filename": "calcDiameter-0.11.tar.gz", "has_sig": false, "md5_digest": "a688136f04b646db9d1a0ffd92d74add", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4737, "upload_time": "2018-12-14T10:25:16", "url": "https://files.pythonhosted.org/packages/0d/83/5a8ef62dec74a0749ea0a13e99ca26d46fcb72fb0ff104d74466d5f997b8/calcDiameter-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "5663c8763ebcd09d6a3915837f3c0aeb", "sha256": "e173077b482122a40b821114a26e5d1fbc51af262f4cfb3ad73af1fe41692f2e" }, "downloads": -1, "filename": "calcDiameter-0.12.tar.gz", "has_sig": false, "md5_digest": "5663c8763ebcd09d6a3915837f3c0aeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4783, "upload_time": "2018-12-14T10:31:02", "url": "https://files.pythonhosted.org/packages/0b/87/dbeac56e99ef2c81c75760942ab36adf471d791837286632780623c43fd2/calcDiameter-0.12.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "5446657f94a8363bc797f2acdab53436", "sha256": "f66bf5a19f85571e5cac11c9a380c622cabf7609992df1534bcfd76dcc6e9ced" }, "downloads": -1, "filename": "calcDiameter-0.13.tar.gz", "has_sig": false, "md5_digest": "5446657f94a8363bc797f2acdab53436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4784, "upload_time": "2018-12-14T10:35:05", "url": "https://files.pythonhosted.org/packages/c0/ac/ebf46cf0021342861cb4d559cd34444e109126ccf79547b996facb809636/calcDiameter-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "18b3dd19be30f4af0faf6dc708d269d4", "sha256": "fd8363446c07559b1f6e6a07383e53982d52e4fdcba854e42cf3374373352b42" }, "downloads": -1, "filename": "calcDiameter-0.14.tar.gz", "has_sig": false, "md5_digest": "18b3dd19be30f4af0faf6dc708d269d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4790, "upload_time": "2018-12-14T10:38:06", "url": "https://files.pythonhosted.org/packages/b7/77/afce432b96ada2d27eff6415fef304f1a834b44f48a84712c2f51fa93b68/calcDiameter-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "3209ae4672c3ef1e090e6fcf6e38fcf5", "sha256": "fd223c113cf20f0270d937ed39418834440313642cfa6eb67d92c730fc6b6a91" }, "downloads": -1, "filename": "calcDiameter-0.15.tar.gz", "has_sig": false, "md5_digest": "3209ae4672c3ef1e090e6fcf6e38fcf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9035, "upload_time": "2018-12-20T13:40:42", "url": "https://files.pythonhosted.org/packages/18/95/b1caf3af02d2e9a75c71c38189390b82f8d835a7178b1b0524cca5ee1762/calcDiameter-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "4eb4d2bafed3387801ff6d9ab09799e9", "sha256": "c4895ac338ec38dfcd2710c2202992cfd7cb3ce6f2afa4008c5c12abd45c490a" }, "downloads": -1, "filename": "calcDiameter-0.16.tar.gz", "has_sig": false, "md5_digest": "4eb4d2bafed3387801ff6d9ab09799e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7355, "upload_time": "2018-12-20T14:11:03", "url": "https://files.pythonhosted.org/packages/2a/b1/213ba63684a7b7398ca9f2aad501d6b29096956c9d16db14ea5e44e38d02/calcDiameter-0.16.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "2f6db619ebaf9c8125e2d8d2fd82ed5c", "sha256": "4c28962e65a29e3f621f8bff4c4bebe4c25e3364b75a423f13b166f8cec286fa" }, "downloads": -1, "filename": "calcDiameter-0.17.tar.gz", "has_sig": false, "md5_digest": "2f6db619ebaf9c8125e2d8d2fd82ed5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7355, "upload_time": "2018-12-20T14:13:03", "url": "https://files.pythonhosted.org/packages/b0/a2/4de4785dfcd0466406ced17972a68682ed55967d9accd44caf5b03f876f5/calcDiameter-0.17.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2f6db619ebaf9c8125e2d8d2fd82ed5c", "sha256": "4c28962e65a29e3f621f8bff4c4bebe4c25e3364b75a423f13b166f8cec286fa" }, "downloads": -1, "filename": "calcDiameter-0.17.tar.gz", "has_sig": false, "md5_digest": "2f6db619ebaf9c8125e2d8d2fd82ed5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7355, "upload_time": "2018-12-20T14:13:03", "url": "https://files.pythonhosted.org/packages/b0/a2/4de4785dfcd0466406ced17972a68682ed55967d9accd44caf5b03f876f5/calcDiameter-0.17.tar.gz" } ] }