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.2.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TurtleMol-0.2.0-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file TurtleMol-0.2.0.tar.gz.

File metadata

  • Download URL: TurtleMol-0.2.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for TurtleMol-0.2.0.tar.gz
Algorithm Hash digest
SHA256 16ed9044b46f6752c8f93ae56c0798185671012874e0cd8a214e11668ad4bd48
MD5 f4413208984afffd532be251c50eb511
BLAKE2b-256 34ae5fb193e725f70fd0243223ce3bac408bed80db5ece2f767ef55ac59e3aa4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for TurtleMol-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8aa4d7aba6fecd269bb33930b6b11972fd4ff622fc2a65120d407bb9aba5440
MD5 2ac2319e30295ff54a2747825a56ebb7
BLAKE2b-256 eb798d711e3c859e0195e16542a9aaa5a34525e0a5a8933c9429cb9107595739

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page