Cage detection plugin for GenIce.
Project description
genice-cage
A GenIce plugin to detect cage-like topologies.
version 0.4.2
Requirements
- countrings>=0.1.6
- genice>=0.25
- attrdict
- networkx
- numpy
- yaplotlib>=0.1.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.
* [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
Release history Release notifications | RSS feed
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.2.tar.gz
(8.4 kB
view details)
Built Distributions
genice_cage-0.4.2-py3.7.egg
(18.6 kB
view details)
File details
Details for the file genice_cage-0.4.2.tar.gz
.
File metadata
- Download URL: genice_cage-0.4.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68e2b96496cb1bff58368fcccc348436b3458c1809196acadc4e7b7e75240d14 |
|
MD5 | 058c7df23de0a22d1a2069d9e81ea4fa |
|
BLAKE2b-256 | 7aac1bae7e2f39c133fcb6a7d6b9def948971f8635f7761cb30994ff31e695e6 |
File details
Details for the file genice_cage-0.4.2-py3.7.egg
.
File metadata
- Download URL: genice_cage-0.4.2-py3.7.egg
- Upload date:
- Size: 18.6 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.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57f6f26f652603b9bde6fee0ac8ab6e34f85307661ba3ba7e09c84640482c8a1 |
|
MD5 | e25bdc4cf57d49f06f5ea85f52f8957c |
|
BLAKE2b-256 | ea1137fdaa01cf4b9cceb53bab94c24036aafb323d4b38a0f344cb127e9f60c7 |
File details
Details for the file genice_cage-0.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: genice_cage-0.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d270ff96d567fa5285bdd8ce6eeff5a8047212edd880ae7ce5ea26fe783bbc12 |
|
MD5 | 4b86c8c63d76c899c4b847f0bafe7960 |
|
BLAKE2b-256 | 96e7a2a14b64871c04a3587e5eac60d83f2c6824a1b33c2e0acacd1efd846632 |