genice-cage
A GenIce plugin to detect cage-like topologies.
version 0.4.6
Requirements
- countrings>=0.1.7
- genice>=0.25
- attrdict
- networkx
- numpy
- yaplotlib>=0.1.2
- jinja2
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
Metadata
Release files for genice-cage 0.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| genice_cage-0.4.6.tar.gz | 8.7 kB | Without provenance | Details for genice_cage-0.4.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genice_cage-0.4.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for genice_cage-0.4.6-py2.py3-none-any.whl |
Total release size: 18.5 kB
Release files / genice_cage-0.4.6.tar.gz
| Download URL | genice_cage-0.4.6.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3618f67e1eb2a466d6f427f9193c010e2cfbd78ddb6a813a397f27c17b908222
|
|
BLAKE2b-256 checksum How to use checksums |
27eb5af428cef379849a995d67f23a2f3c243c189203fcc69aef155094b8e89b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / genice_cage-0.4.6-py2.py3-none-any.whl
| Download URL | genice_cage-0.4.6-py2.py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
05b8b5b6fab299cb71fb59632ffcc9721bd3465fcd56a87d97935ece5f8e69d4
|
|
BLAKE2b-256 checksum How to use checksums |
8262aa3fd84edfbbc4d65663f339a78170776d5caffe1c909a3ef6f3bd0caf13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for genice-cage 0.4.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.