PolyGraft
A Program for Molecular Structure and Topology Generation of Polymer-Grafted Hybrid Nanostructures
Install / Use
/learn @nanogchen/PolyGraftREADME
polyGraft: A Program for Molecular Structure and Topology Generation of Polymer-Grafted Hybrid Nanostructures
Types of polymer-grafted nanostructure that can be generated:
- Unigraft grafting in atomistic format (GROMACS and LAMMPS)
- Binary grafts grafting in atomistic format (GROMACS and LAMMPS)
- Unigraft grafting in coarse-grained format (LAMMPS)
- Binary grafts grafting in coarse-grained format (LAMMPS)
Binary grafting mode includes: homogeneous, random, and Janus
<img src="polyGraft.jpg" alt="drawing" width="800"/>Prerequisites and installation
- atomsk for hard substrate generation (any other tools should also be fine, save in pdb file format) (tested v0.12)
- MDAnalysis file IO (tested v2.5.0)
- numba accelerated array processing (tested v0.57.1)
Installation steps (tested with Anaconda):
- install Anaconda
- create a new environment adding MDAnalysis, numba etc, using the following command under the default env (base):
conda env create -f environment.yml
- download atomsk and place under /path/to/polyGraft/bin
- download polyGraft through github
git clone https://github.com/nanogchen/polyGraft.git
- activate the polyGraft environment and use polyGraft for generation under /path/to/polyGraft/examples
conda activate polyGraft
NOTE: to use other polymers (rather than PEO) for polymer brush generation using polyGraft, one must provide the gro/itp files (for Gromacs simulations) or data file (for LAMMPS simulations) of the polymer. The user should be responsible for the results in this case as no validity checks on the input files were applied (i.e., validate the connectivity or topology, and force field parameters used for further MD simulation etc.)
How to cite
- Chen, Guang. "polyGraft 1.0: A Program for Molecular Structure and Topology Generation of Polymer-Grafted Hybrid Nanostructures". J. Comput. Chem. 2023, 44(28), 2230. https://doi.org/10.1002/jcc.27206
- Chen, Guang, and Elena E. Dormidontova. "Cyclic vs Linear Bottlebrush Polymers in Solution: Side-Chain Length Effect." Macromolecules 56.9 (2023): 3286–3295. https://doi.org/10.1021/acs.macromol.3c00362
- Chen, Guang, and Elena Dormidontova. "PEO-Grafted Gold Nanopore: Grafting Density, Chain Length, and Curvature Effects." Macromolecules 55.12 (2022): 5222-5232. https://doi.org/10.1021/acs.macromol.2c00323
How to use
Representative examples are given in the examples* directories, specifically
- *lmp: for lammps format
- *bi: for binary grafts used for grafting procedure
- *cg: coarse-grained data (bead-spring model)
For any nanostructure generation, it takes two steps generally:
- generate or import the substrate material (hard or soft), and polymer (gro and itp or data files);
- generate the structure and topology using polyGraft. For poly-g-hard, the files are in .gro/.itp or .data format, while for poly-g-soft, they are in pdb/rtp format.
Documentation and User Guide
Please refer to the documentation of the code wiki!
Seek help or new features
Open an issue!
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
