Skip to content

Substract two electrostatic maps, contained in Gaussian cube files, and generate a new electrostatic map with the difference.

License

Notifications You must be signed in to change notification settings

amaurypm/cubediff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cubediff

Subtract two electrostatic maps, contained in Gaussian cube files, and generate a new electrostatic map with the difference.

Rationale

This is a Julia script with the goal to subtract two electrostatic potential maps and obtain the difference. These maps are obtained by a Poisson Boltzmann analysis of proteins as implemented in software such as Delphi or APBS (APBS writes the maps in other format, OpenDX scalar, that need to be converted to a Gaussian cube, with tools such as openbabel).

For this subtraction to make sense both maps sources should be similar/related proteins (homologs, mutants, chimeric variants, etc) and being structurally superimposed when the electrostatic potential maps are calculated.

When the size of both maps are not equal, the second (reference) map, es resized by interpolation to match the size of the first map.

Usage

usage: cubediff [--version] [-h] map1 map2

Subtract two electrostatic potential maps, contained in Gaussian cube
files, and generate a new electrostatic potential map with the
difference.

positional arguments:
  map1        target electrostatic potential map
  map2        reference electrostatic potential map

optional arguments:
  --version   show version information and exit
  -h, --help  show this help message and exit

Installation

This is not a Julia package, just a standalone script. Just download it and put it in your PATH. You need a working Julia environment and to install the dependencies.

Dependencies

This script depends on the following Julia packages:

  • ArgParse
  • Images
  • Printf

About

Substract two electrostatic maps, contained in Gaussian cube files, and generate a new electrostatic map with the difference.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages