if the pdb file contains SEQRES records we do not allow the sequence length to be shorter than the full-length of the graph. otherwise a PdbfileFormatError is thrown in function read_data_from_file()