I am trying to parse a "peaks" file (generated by topspin) and convert it from binary to ascii, but couldn't find its file format. does anyone have any idea about the file format, or a program that does the conversion? asked Jan 23 '13 at 11:27 |
I have a number of AU programs that parse the ascii peak list. As Kirk says, it is possible to use the "convertpeaklist" command. If you want to do that in an AU program, use the following routine:
If you want to parse it, there are 4 header lines which may or may not be useful to you and then you can run through the peaks:
I hope that is useful... answered Apr 16 '13 at 08:13 |
The pp and pps commands in older TopSpin versions (2.0 and older) will produce an ASCII pile called peaks.txt. Newer TopSpin versions (2.1 and newer) produce an ASCII peaklist.xml file instead, which should be trivial to parse. There is also a convertpeaklist command which will produce a text (or xml) peak list from the peaaks list. You can also peak pick to a JCAMP-DX file with the ppj command. answered Jan 24 '13 at 10:33 Kirk Marat |