| Chazin Home | Ca-binding Protein DB | Vanderbilt Home | ![]() |
|
| Research Description | Publications | Wisdom | Search | ||
I wanted lines of this form (x,y,string):
7.71 118.5 "52 GLU"
grep "N N" bmrbfile > Nshifts grep "H H" bmrbfile > Nshifts
(actually, opened into writer, copied & pasted into spreadsheet as text) cut out columns, reordered, adjusted widths, saved as text
:% s/\(......$\)/"\1"/
data -> import ascii -> block data (if it doesn't show up as 3 columns, try resaving as fixed-width or tab separated again)
Back to my home page