Skip to main content

Cage detection plugin for GenIce.

Project description

genice2_cage

A GenIce2 format plugin to detect cage-like topologies.

version 0.6

Requirements

  • cycless
  • attrdict
  • networkx
  • numpy
  • yaplotlib>=0.1.2
  • jinja2

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

genice2_cage-0.6-py3.9.egg (12.4 kB view details)

Uploaded Source

File details

Details for the file genice2_cage-0.6-py3.9.egg.

File metadata

  • Download URL: genice2_cage-0.6-py3.9.egg
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1rc1

File hashes

Hashes for genice2_cage-0.6-py3.9.egg
Algorithm Hash digest
SHA256 842e7a0f7309e3947a695558084b2a55dab63cd4352e84716ae8df1466691820
MD5 50621a4597e6c9e74d733d773a5fc81a
BLAKE2b-256 38fe0098d11a91a1847e8e929e8cbfd31df63e93980ec90cb8e751994dc8d6c7

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