Parser for stockholm format files