Skip to content

PDB analyzer and visualizer for Amber simulations

License

Notifications You must be signed in to change notification settings

austinjpaul/pdb4amber

 
 

Repository files navigation

Build Status Coverage Status

Install

  • Require

    • ParmEd
    • tleap (optional, used for build structure, add missing atoms, mutation, ...)
    • scipy (optional, used for minimization)
    • nglview (optional, used for visualization in notebook)
  • Quick install

conda install ambertools -c ambermd
conda install scipy # minimization, optional
conda install ipywidgets -c conda-forge # for nglview
conda install nglview -c bioconda # visualization, optional
pip install git+https://github.com/amber-md/pdb4amber

Usage

$ pdb4amber --help

# Some examples
# simplest case, print output pdb
pdb4amber my.pdb 

# simplest case, save output to file
pdb4amber my.pdb -o out.pdb

# compat mode
pdb4amber -i my.pdb -o out.pdb

# pipe
cat my.pdb | pdb4amber -o out.pdb

# save to different formats (e.g: mol2)
pdb4amber my.pdb -o out.mol2

# use `reduce` program to add hydgron
pdb4amber my.pdb --reduce -o out.pdb

# process other formats (e.g: .cif)
pdb4amber my.cif --reduce -o out.pdb

# process from URL
pdb4amber https://raw.githubusercontent.com/ParmEd/ParmEd/master/test/files/4LZT.cif -o out.pdb

# fetch structure by its pdbid and process
pdb4amber 1tsu --pdbid --reduce -o out.pdb

# logfile
pdb4amber my.pdb -o out.pdb --logfile=my.log
pdb4amber my.pdb -o out.pdb --logfile=stdout

Test

py.test -vs .

Pull to amber repo

  • It's a submodule in amber git.

About

PDB analyzer and visualizer for Amber simulations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 78.8%
  • Shell 13.0%
  • Jupyter Notebook 8.2%