Skip to main content

Cage detection plugin for GenIce.

Project description

genice-cage

A GenIce plugin to detect cage-like topologies.

version 0.4.4

Requirements

  • countrings>=0.1.7
  • genice>=0.25
  • attrdict
  • networkx
  • numpy
  • yaplotlib>=0.1.2
  • graphstat>=0.2

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:ring=-6] 
    % genice CRN1 -f cage[3-10:json] 
    % genice CRN1 -f cage[3-10:yaplot] 
    % genice CS2 -w tip4p -f cage[gromacs:-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 Distribution

genice_cage-0.4.4.tar.gz (8.7 kB view details)

Uploaded Source

Built Distributions

genice_cage-0.4.4-py3.7.egg (18.8 kB view details)

Uploaded Source

genice_cage-0.4.4-py2.py3-none-any.whl (9.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: genice_cage-0.4.4.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

File hashes

Hashes for genice_cage-0.4.4.tar.gz
Algorithm Hash digest
SHA256 f2bdeab1267a4e4b9399c5957896566643c9aa8faeadb8b4a5e3d5f4a55eb1bf
MD5 7da681b5630e7054e1948ab6fa538817
BLAKE2b-256 0e89fc3c7f3db84bd1143a29e4da8497e3ab02c640420451776a779f1cd21d9c

See more details on using hashes here.

File details

Details for the file genice_cage-0.4.4-py3.7.egg.

File metadata

  • Download URL: genice_cage-0.4.4-py3.7.egg
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for genice_cage-0.4.4-py3.7.egg
Algorithm Hash digest
SHA256 345554d01ba8aa99440f6505f546d64f347615ce6250a239ccadfde8bb592773
MD5 fe2d335e6e1341c61aea1219cfe7c20e
BLAKE2b-256 1e0f52c30ee18162eb760cfdaef7335f2b6483ff843c4b8ea3cafbaffefcad34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genice_cage-0.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

File hashes

Hashes for genice_cage-0.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e09e5011a83dbaeb287af59ed81c1c7277c69ccb02a8d2ba142f31c72323da01
MD5 ec674f15b64dfa30c1f997526c4dbcf3
BLAKE2b-256 078e9567949a800cb3d92587f564e488af13963c44be571546959aa44ae25229

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