Skip to main content

genice2-cage

A GenIce2 format plugin to detect cage-like topologies.

version 2.1

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:
    % genice CS1 -r 2 2 2 -f cage[12,14-16:ring=-6]
    % genice CRN1 -f cage[sizes=3-10:json]
    % genice CRN1 -f cage[sizes=3-10:yaplot]
    % genice CS2 -w tip4p -f cage[gromacs:sizes=-16:ring=5,6]
    % analice traj.gro -O OW -H HW[12] -w tip4p -f cage[quad]
    % analice traj.gro -O OW -H HW[12] -w tip4p -f cage[quad:json]

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.
    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

Metadata

Release files for genice2-cage 2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genice2-cage 2.1
File Size Uploaded
genice2-cage-2.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genice2-cage 2.1
File Interpreter ABI Platform
genice2_cage-2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 12.9 kB

Release files / genice2-cage-2.1.tar.gz

Download URL genice2-cage-2.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4b9260c83d9968ed46140fa0800ffad4a49004fa64a0cf5646eaabb6b6759d6c
BLAKE2b-256 checksum
How to use checksums
61917eff0d16edafbf6e69798b2eee8e0df73300c2aec5e364e02f94a6b3ef85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / genice2_cage-2.1-py2.py3-none-any.whl

Download URL genice2_cage-2.1-py2.py3-none-any.whl
Size 6.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0eaa6779e47d7b517244211f027b7846c13efc8a46ddc7bb9721c461c23786a0
BLAKE2b-256 checksum
How to use checksums
3931d579eb46c1de28ab9d5380c72f1120405567d817bcb82d88dee14b60b773
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release history Release notifications | RSS feed

2.5.2

2 release files

2.5.1

2 release files

2.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.3.1

2 release files

2.3

2 release files

2.2

3 release files

2.1.1

2 release files

This release

2.1 This release

2 release files

2.0

2 release files

0.6

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page