Skip to main content

Cage detection plugin for GenIce.

Project description

genice-cage

A GenIce plugin to detect cage-like topologies.

version 0.3.1

Requirements

  • countrings>=0.1.6
  • genice>=0.25
  • attrdict
  • networkx
  • numpy

Installation from PyPI

% pip install genice_cage

Manual Installation

System-wide installation

% make install

Private installation

Copy the files in genice_cage/formats/ into your local formats/ folder.

Usage

Usage: 
    % genice CS1 -r 2 2 2 -f cage[12,14-16:maxring=6] 
    % genice CRN1 -f cage[3-10:json] 
    % genice CRN1 -f cage[3-10:yaplot] 
    % genice CS2 -w tip4p -f cage[gromacs:-16:maxring=6]

It may not work with a small structure. (In the example above, the unit cell of CS1 is extended to 2x2x2 so as to avoid detecting cell-spanning wierd cages.)

Options:
    Cage sizes to be listed, separated by commas and ranged with hyphens. (e.g. -4,6,8-10,16-) (default is 3-8)
    maxring=x  Specify the maximum ring size (default=8).
    json       Output in [JSON](https://www.json.org/) format.
    yaplot     Visualize with [Yaplot](https://github.com/vitroid/Yaplot/). Cages are drawn in different layers according to the number of faces, and faces are colored according to the number of vertices.
    gromacs    Output in Gromacs format. (EXPERIMENTAL)

Test in place

% make test

Algorithms

  • M. Matsumoto, A. Baba, and I. Ohmine, Topological building blocks of hydrogen bond network in water, J. Chem. Phys. 127, 134504 (2007); doi:10.1063/1.2772627

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genice_cage-0.3.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

genice_cage-0.3.1-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file genice_cage-0.3.1.tar.gz.

File metadata

  • Download URL: genice_cage-0.3.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for genice_cage-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6ba8a361d4fd980f53a159447aaa45bff71c8bf658207504f61517bc24e02731
MD5 35bf8f0a795bb0b0eeaacd7444e8f030
BLAKE2b-256 293d7750b95ea64899b7fc052118ae549cf5b2484320129cbcb8a90eeaf4bad6

See more details on using hashes here.

File details

Details for the file genice_cage-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: genice_cage-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for genice_cage-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0af55502c5277deb10e179bc161c2a06b0bf68e1a3ee6c7d2313673e73356f46
MD5 f4f0bbac2f457cae92252477b7b4ae2a
BLAKE2b-256 62ed532b7079d1be4d7d979882504378f2d5ca4ca1f1624e701087fb7dad28b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page