Design, create, and generate unique, complex molecular structures of any shape and size!
Project description
TurtleMol
Design, create, and generate unique, complex molecular structures of any shape and size!
Introduction
The goal of TurtleMol is to ease the process of generating unique and complex molecular structures for computational chemistry. Available as a standalone python-package, or as a plugin for Avogadro2 TurtleMol aims to quickly generate the intial state of molecular strcutres that are ready for optimization via quamtum or classical calculations!
Generating intial structure files for calculations can be a tedious process, one that TurtleMol aims to fix. Large structures can be generated quickly, and are very tunable based on the need of the user! Currently only basic shapes such as boxes and spheres are generatable, but more complex meshes are in the works!
Approach
TurtleMol takes an input molecules (or molecules) and copies them into a grid filling out a user defined volume. The number of molecules in the volume can be specially defined, calculated via a desired density, or for filling space.
The orientation of the molecules can be randomized so structures are closer to their equilibrium point, but will still need outside optimization. Molecules can also be placed randomly instead of in a grid, allowing for a more disordered structure.
Current Features
- Generate a box or sphere of molecules
- Generate a box or sphere of molecules around an existing molecular structure
- Fill a volume, or place a specfied number of molecules in space
- Randomly orient molecules to better represent an equilibrium structure
- Read/Write structures from XYZ and PDB formats
Features in Progress
- Generate structures based on meshes defined from outside software/packagaes such as Blender
Installation
You can install the latest development version of TurtleMol from the Github Repository.
git clone https://github.com/Dfilono/TurtleMol
cd TurtleMol
pip install .
Or you can download it from PyPi:
pip install TurtleMol
TurtleMol is also available as a plugin for Avogadro2 and can be installed via the following instructions.
Note that for the plugin to function, the TurtleMol python package and its dependecies must also be installed in the same Python environment that is referenced by Avogadro.
Contributing
We have a lot of wishlist features that can be seen HERE. If you want to help add any of these features, or others you think TurtleMol would benefit from, let me know! Submit a pull request with your update (please test it in your own fork first), and I'll check it!
Citation
If you find this code helpful, please consider referencing it! We don't currently have a released article to cite, but any reference to our work helps acknowledge the effort put into developing and maintaining this code base, provides support for further development!
License
Distributed under the MIT License. See LICENSE for more information.
Documentation
Documentation is in progress.
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
Built Distribution
File details
Details for the file turtlemol-0.3.1.tar.gz
.
File metadata
- Download URL: turtlemol-0.3.1.tar.gz
- Upload date:
- Size: 49.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 118e52b6d84109a48e337c6e4ef8743f58c6d6d4d3813e914f52f60d4a2f1411 |
|
MD5 | 700978591371cf4ba07a009a88073a6d |
|
BLAKE2b-256 | c07fd6720313e06b41890154e96a3de8347bd454659a5e8e256c9ea0a1b47953 |
File details
Details for the file TurtleMol-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: TurtleMol-0.3.1-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a9986a05e0611113d146a8dd282869d481f1010b8950503aa960c26cc999ecf |
|
MD5 | 5864d936d9f0004ca49dfb54b76412ed |
|
BLAKE2b-256 | 94a4596eee7c5f4295f8ac91f1d0dfb3bc12e4085963e81d7ed1a1358772b262 |