Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def _read_dr(record, value):
- cols = value.rstrip(".").split('; ')
- record.cross_references.append(tuple(cols))
- for record in SeqIO.parse(filename, "swiss"):
- print(record.cross_references) #does not work, should return a list of DR rows
- print(record.features) #works, returns a list of parsed FT rows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement