Edinburgh-Genome-Foundry / DnaFeaturesViewer

:eye: Python library to plot DNA sequence features (e.g. from Genbank files)
https://edinburgh-genome-foundry.github.io/DnaFeaturesViewer/
MIT License
584 stars 90 forks source link

Update biotools.py #51

Closed photocyte closed 2 years ago

photocyte commented 3 years ago

accept .gff3 as a gff suffix as well.

veghp commented 3 years ago

Thank you for bringing attention to this. I agree that the issue you addressed is valid, but I'm thinking perhaps it would be better to implement a parameter for load_record(), and its calling functions, that enables the user to specify the filetype: None (default, infers from extension), "genbank", "gff"? I can implement this in the next release (unless you would like to do it).