Skip to main content

Cage detection plugin for GenIce.

Project description

genice2-cage

A GenIce2 format plugin to detect cage-like topologies.

version 2.2

Requirements

  • cycless
  • attrdict
  • networkx
  • numpy
  • yaplotlib>=0.1.2
  • genice2>=2.1b0

Installation from PyPI

% pip install genice2-cage

Manual Installation

System-wide installation

% make install

Private installation

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

Usage

Usage:
    % genice2 CS1 -r 2 2 2 -f cage[12,14-16:ring=-6]
    % genice2 CRN1 -f cage[sizes=3-10:json]
    % genice2 CRN1 -f cage[sizes=3-10:yaplot]
    % genice2 CS2 -w tip4p -f cage[gromacs:sizes=-16:ring=5,6]
    % analice2 traj.gro -O OW -H HW[12] -w tip4p -f cage[quad]
    % analice2 traj.gro -O OW -H HW[12] -w tip4p -f cage[quad:json]
    % genice2 FAU -r 2 2 2 -f cage[-26:maxring=12:json2]

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-16)
    ring=3,5-6 Specify the ring sizes that cages are built of (default is 3-8, maximum is 8).
    json       Output values in [JSON](https://www.json.org/) format.
    json2      Output values in [JSON](https://www.json.org/) format (Assess cage locations based on HB network topology by labeling them).
    yaplot     Visualize cages 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 individual cages in Gromacs format. (EXPERIMENTAL)
    quad       Quadcage order parameter to identify the Frank-Kasper-type crystal structures.[JMM2011] Cages sizes and maximum ring size are set appropriately automatically.
    python     Output cage types in python format convenient for GenIce lattice modules.
* [JMM2011] Jacobson, L. C., Matsumoto, M. & Molinero, V. Order parameters for the multistep crystallization of clathrate hydrates. J. Chem. Phys. 135, 074501 (2011).[doi:10.1063/1.3613667](https://doi.org/10.1063/1.3613667)

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

genice2-cage-2.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distributions

genice2_cage-2.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

genice2_cage-2.2-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file genice2-cage-2.2.tar.gz.

File metadata

  • Download URL: genice2-cage-2.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for genice2-cage-2.2.tar.gz
Algorithm Hash digest
SHA256 eebfe37c379c1ad484c106ded96220eb568a02495a8e176a4792dbd7e1c6ab31
MD5 254fb4cbb3e899e579fe4b21e8c767cd
BLAKE2b-256 479d86cc253a9702b8e6176611cbb056cf867018f696a4dbca144d74bf93dba1

See more details on using hashes here.

File details

Details for the file genice2_cage-2.2-py3-none-any.whl.

File metadata

  • Download URL: genice2_cage-2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.2.0

File hashes

Hashes for genice2_cage-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3796a5a8a59158b609fe331114585b25477c2e4ac92510e7a34819f037576e17
MD5 2e2c7fba39e587fb07995425b2a51064
BLAKE2b-256 69b46d2d2d106da492db42cdc63403766ab8ac2481e3f57e450ecbeb4f791cf2

See more details on using hashes here.

File details

Details for the file genice2_cage-2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: genice2_cage-2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for genice2_cage-2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4882be0148f2d33e7ca9f1049db5e07b1f5f14b04deb55d09b42961dbdf81430
MD5 5a6b27a53432e321592263cf1511c3b2
BLAKE2b-256 c681682ef2dfba09ae2ca50b591a273d5a0b58bdd91f0b63dc3b526ef570854f

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