GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - senal-liyanage/chemistry-analysis-tools: Computational chemistry utilities for molecular-file processing, partial-charge analysis, and molecular-dynamics trajectory analysis.

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
examples/toy_system
examples/toy_system
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
LipidStructureAnalyzer.py
LipidStructureAnalyzer.py
 
 
README.md
README.md
 
 
environment.yml
environment.yml
 
 
mol2-partial-charge-modifier.py
mol2-partial-charge-modifier.py
 
 
mol2_charge_diff.py
mol2_charge_diff.py
 
 
mol2_formatter.py
mol2_formatter.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

chemistry-analysis-tools

CI

chemistry-analysis-tools is a collection of lightweight utilities for molecular-file processing, partial-charge analysis, structural inspection, and molecular-simulation trajectory analysis. The repository brings together small research tools that are useful in computational-chemistry workflows without treating them as a single monolithic software package.

Scope

The repository currently covers three recurring tasks:

  • Molecular-file processing — formatting MOL2 files and modifying atom-level partial charges
  • Chemistry-aware comparison and inspection — comparing partial charges and identifying lipid-residue ranges in PDB structures
  • Molecular-simulation analysis — radial-density, hydration-shell, and interfacial-orientation analyses for GROMACS-compatible trajectories

Utilities

mol2_formatter.py

Formats a MOL2 file using the Open Babel command-line tool and writes a cleaned output MOL2 file.

python mol2_formatter.py input.mol2 -o output_formatted.mol2

mol2_charge_diff.py

Computes per-atom charge differences between metal-bound, metal-unbound, and metal-only MOL2 files using the Open Babel Python bindings.

python mol2_charge_diff.py bound.mol2 unbound.mol2 metal.mol2

By default, the script writes a text report named charge_difference.txt.

mol2-partial-charge-modifier.py

Applies atom-specific partial-charge values to a MOL2 structure using Open Babel and writes a modified MOL2 file.

LipidStructureAnalyzer.py

Inspects a PDB structure to identify the residue-number range associated with the lipid bilayer for the residue names encoded by the script.

Molecular-simulation analysis

The scripts/ directory contains trajectory-analysis utilities built around explicit, reproducible inputs and outputs:

  • radial_density.py — radial density / mass-envelope analysis
  • water_counts_by_radius.py — solvent counts within radial shells
  • orientation_delta_r.py — interfacial orientation metrics relative to a nanoparticle center of mass

These scripts are intended for adaptation to GROMACS-compatible trajectories using tools such as MDAnalysis. Supporting notes in docs/ describe methods, reproducibility considerations, and the separation of code from unpublished or restricted research data.

Repository structure

chemistry-analysis-tools/
├── LipidStructureAnalyzer.py
├── mol2_formatter.py
├── mol2_charge_diff.py
├── mol2-partial-charge-modifier.py
├── scripts/
│   ├── radial_density.py
│   ├── water_counts_by_radius.py
│   └── orientation_delta_r.py
├── docs/
├── examples/
├── environment.yml
└── requirements.txt

Requirements

Core MOL2 utilities:

  • Python 3.10+
  • Open Babel command-line tool (obabel) where required
  • Open Babel Python bindings where required

Trajectory-analysis utilities:

  • NumPy
  • pandas
  • matplotlib
  • MDAnalysis

Install the Python analysis dependencies with:

pip install -r requirements.txt

or create the conda environment:

conda env create -f environment.yml
conda activate chemistry-analysis-tools

Reproducibility and data policy

The repository keeps analysis logic separate from unpublished production trajectories, collaborator-owned datasets, proprietary simulation inputs, and manuscript-sensitive raw results. Examples should use toy, public, or sanitized data that demonstrate the workflow without exposing restricted research material.

GitHub Actions performs automated Python syntax checks on repository changes. Individual utilities should still be validated against the scientific assumptions and file conventions of the system being analyzed before use in production research.

Citation

If a utility from this repository contributes to published work, cite the repository together with the version or commit hash used.

License

This project is released under the MIT License. See LICENSE for details.

About

Computational chemistry utilities for molecular-file processing, partial-charge analysis, and molecular-dynamics trajectory analysis.

Topics

cheminformaticscommand-line-toolscomputational-chemistrymol2open-babelpartial-chargespythonutilities

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.