Skip to main content

A format plugin for GenIce2 to detect cages.

Project description

Logo

genice2-cage

A format plugin for GenIce2 to detect cages.

version 2.5

Requirements

  • python^3.10
  • GenIce2^2.2.5.2
  • graphstat^0.3.3
  • yaplotlib^0.1.2
  • numpy>=1.26.4
  • networkx>=3.2.1
  • cycless>=0.6.3

Installation from PyPI

% pip install genice2-cage

Usage

A GenIce2 format plugin to detect cage-like topologies.

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.5.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genice2_cage-2.5.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file genice2_cage-2.5.1.tar.gz.

File metadata

  • Download URL: genice2_cage-2.5.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/24.3.0

File hashes

Hashes for genice2_cage-2.5.1.tar.gz
Algorithm Hash digest
SHA256 8d88b636f825546e673ae29ba2863b4df6e1a999f619daceb2742d2e2d6fa130
MD5 b65c9db45b73281cd8dbfc404c1ca4c9
BLAKE2b-256 143bed99e07867633aec7667f1661c3eaf8103af677644e10839fd185cc3c1cb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for genice2_cage-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89b012e8686421d4632cbc901fafa178e5840c7caa5a12d993ebeeebf45e124c
MD5 c1cf30970ac9d50085e3507df5bb1117
BLAKE2b-256 958bdb0a7b19b887a0df8a97ee330f327d593211088df621e7b1977e95057669

See more details on using hashes here.

Supported by

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