[phenixbb] how to remove hydrogen from pdb
pjeffrey at princeton.edu
Thu Feb 6 12:03:52 PST 2014
Of course, because in the shells that I use it will attempt to do
variable name substitution in strings that are double-quoted. (I make
no warranties about all possible shells). However if you use single quotes:
egrep -v '^ATOM|HETATM.*H$' your.pdb > your_noH.pdb
Should work just fine in tcsh, csh at the very least.
On 2/6/14 2:52 PM, Pavel Afonine wrote:
> Hi Tim,
> On 2/6/14, 10:52 AM, Tim Gruene wrote:
>> the simple and qucik command
>> egrep -v "^ATOM|HETATM.*H$" your.pdb > your_noH.pdb
>> should also work.
> just out of curiosity I did (copy-paste of your example)
> egrep -v "^ATOM|HETATM.*H$\" m.pdb > m_noH.pdb
> and I got:
> Illegal variable name.
> phenixbb mailing list
> phenixbb at phenix-online.org
More information about the phenixbb