Skip to main content

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!

Build Status Codecov License Repo size Black style Black style

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

turtlemol-0.4.0.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

TurtleMol-0.4.0-py3-none-any.whl (40.8 kB view details)

Uploaded Python 3

File details

Details for the file turtlemol-0.4.0.tar.gz.

File metadata

  • Download URL: turtlemol-0.4.0.tar.gz
  • Upload date:
  • Size: 55.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.10

File hashes

Hashes for turtlemol-0.4.0.tar.gz
Algorithm Hash digest
SHA256 746451e080147b5a001915bf6dc67c6c6b7b88627ef5f9c7c79a3f0f7073f9fb
MD5 1e9d76e27d631106c5bb8fce3269a722
BLAKE2b-256 aaa3196078dea2a58d060e06dc23be953fd15fdeb594dd0e053428028b62b77e

See more details on using hashes here.

File details

Details for the file TurtleMol-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: TurtleMol-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 40.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.10

File hashes

Hashes for TurtleMol-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca65bcc5340d74be6e812f9a9a1c32e961e1ef87e913c2737e3e0a06819d2d9c
MD5 3e9b20bb0797d24667e51547ad565fd1
BLAKE2b-256 7af5128a395a0f74c471a7df8bc6cce6a2f3c5241e5612cfc80e7624be346788

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