Skip to content
/ pytraj Public
forked from Amber-MD/pytraj

Python API for cpptraj: a data analysis package for biomolecular simulation

Notifications You must be signed in to change notification settings

drroe/pytraj

This branch is up to date with Amber-MD/pytraj:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

890b5a1 · Jan 17, 2025
Nov 24, 2024
Oct 14, 2016
May 4, 2020
Nov 26, 2015
Nov 6, 2020
Feb 10, 2021
Jan 17, 2025
Dec 11, 2024
Jun 18, 2024
May 4, 2020
Dec 11, 2024
Feb 23, 2023
Sep 26, 2016
Jan 26, 2022
Aug 30, 2016
Jan 19, 2024
May 15, 2017
Sep 30, 2017
Jun 18, 2024
Jan 17, 2025
May 26, 2020
Oct 3, 2019
Feb 13, 2016
Mar 12, 2022

Repository files navigation

Install | Features | How to get started? | Visualization

Build status Coverage Status

pytraj website

PYTRAJ

A Python front-end of [cpptraj program] (https://github.com/Amber-MD/cpptraj) (a data analysis package for biomolecular simulation).

Website: http://amber-md.github.io/pytraj

Features

  • support more than 80 types of data analyses (rmsd, radgyr, autoimage, pca, clustering,...)
  • read/write various file formats (.nc, .mdcrd, .dcd, .trr, .xtc, .pdb, .mol2, ...)
  • fast (core codes were written in C++ and Cython)
  • support parallel calculation with trivial installation (openmp, multiprocessing, mpi, ...)
  • interactive analysis with large trajectory data that does not fit to memory
  • [>> many more with comprehensive tutorials] (http://amber-md.github.io/pytraj)

Install

Supported platforms: Linux, OSX

  • The best way is to install AmberTools via conda: conda install -c conda-forge ambertools compilers (https://ambermd.org/GetAmber.php)

  • from AMBER suite distribution http://ambermd.org/.

  • from conda: conda install -c ambermd pytraj # Outdated versions, not support python >= 3.9

  • from pip: pip install pytraj # Outdated versions, not support python >= 3.9

  • from source code:

    git clone https://github.com/amber-md/pytraj
    cd pytraj
    
    python setup.py install
    
    # Note: openmp will be turned off in OSX.
    
    # AMBER user: overwrite pytraj in $AMBERHOME
    # For expert user only
    python setup.py install --prefix=$AMBERHOME
  • Getting trouble? : check our webpage

How to get started?

Contributors and Acknowledgement

Please check here

Citation

If you would like to acknowledge our work, please cite both cpptraj and pytraj.

Something like:

"...used pytraj [1], a Python package binding to cpptraj program [2]"
  • [1] PYTRAJ: Interactive data analysis for molecular dynamics simulations. Hai Nguyen, Daniel R. Roe, Jason Swails, David A. Case. (2016)

  • [2] [PTRAJ and CPPTRAJ] (http://pubs.acs.org/doi/abs/10.1021/ct400341p): Software for Processing and Analysis of Molecular Dynamics Trajectory Data. Daniel R. Roe and Thomas E. Cheatham, III Journal of Chemical Theory and Computation 2013 9 (7), 3084-3095

Question/Suggestion?

nglview with pytraj in Jupyter notebook

Demo: Interactive data exploration with [Jupyter notebook] (http://jupyter.org/)

pytraj website

License

GPL v3 (since pytraj is derived work of cpptraj)

But if you would like to reuse code snippets and pieces independent of cpptraj, I am (Hai) happy to license them (pieces of codes) under BSD-2 Clause or whatever you like. Just buzz us.

About

Python API for cpptraj: a data analysis package for biomolecular simulation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 66.9%
  • Python 18.2%
  • Cython 7.6%
  • R 5.4%
  • Roff 1.0%
  • CSS 0.4%
  • Other 0.5%