[gmx-users] Subtraction of xpm files

Justin A. Lemkul jalemkul at vt.edu
Mon Mar 8 13:21:37 CET 2010

Itamar Kass wrote:
> Hi,
> I have calculated the Contact Maps of two proteins (WT and mutated one) 
> and wish to compare the output XPM files. I thought the easiest way is 
> to subtract the WT CM from the mutated proteins CM. I wonder if someone 
> had done it and if so, is there any script to do so?

If the matrices are of the same size (i.e., per-residue contacts), you can:

xpm2ps -combine sub


> All the best,
> Itamar


Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080


More information about the gromacs.org_gmx-users mailing list