This should probably go into its own class `SpectrastAnnotation` with a function `parse` and clear tests, I think that would make it more easy to read