Indexing error reporting

Check line lengths and raise errors during indexing and sequence retrieval.