| Quick navigation: | Home | Site Map || References | Biography || Copyright | Other copyright | Contact us | | |
|
Re: [ccp4bb] Sorting on residue number in Coot |
|
CCP4bb navigationCCP4bb <-- 2007 <-- July 2007 <-- 05 July 2007Subject: Re: Sorting on residue number in Coot From: Edward A Berry eaberry {- at -} LBL {- dot -} GOV Date: 2007-07-05 > that the PDB file can be re-ordered? I realize I could use a sort command > in UNIX however that would be complicated by the presence of multiple chains > and splitting up the PDB by chain could be as tedious as manually editting. > Any other easy work-around suggestions from anyone? > sort -k5,5 -k6,6n -k3,3 temp.pdb > temp1.pdb This should sorts alphabetically by chain letter, then within each chain numerically by residue number, then within each residue alphabetically by atom name. If you don't want the last, leave out -k3,3 Could be useful to do it on the fly inside coot, however! Ed CCP4bb navigationCCP4bb <-- 2007 <-- July 2007 <-- 05 July 2007 |
| ProteinCrystallography.org: Copyright 2006-2007 by Quid United Ltd |