fixed read_sequence so that it at least returns a graph for now