[AMBER] Regarding the use of sed command to replace water

From: Budhathoki, Dipesh <budhdipe.pharmacy.isu.edu>
Date: Wed, 31 Aug 2016 13:52:37 -0600

Dear Ambers,
I am new to the use of sed editor and learning how to use it effectively.I
am trying to replace HOH with TIP3P in the PDB flle without affecting other
columns (ie. without affecting format of the pdb). But I am finding it
difficult to keep the format as it is. The sed command I am using is as
follows:

sed 's/HOH/TIP3P/g' filename
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Aug 31 2016 - 13:00:04 PDT
Custom Search