def get_id(self, id_num):
for seq in self:<EOL><INDENT>if seq.id == id_num: return seq<EOL><DEDENT>
Extract one sequence from the file based on its ID. This is highly ineffective.
        Consider using the SQLite API instead or memory map the file.