reneshbedre / bioinfokit

Bioinformatics data analysis and visualization toolkit
MIT License
340 stars 76 forks source link

skip empty lines while reading GFF files #28

Closed stevin-wilson closed 1 month ago

stevin-wilson commented 3 years ago

I am proposing the addition of an if statement to skip empty lines in input GFF files before attempting to split them. While most GFF files would not require this change, this is useful for GFF files obtained from certain programs (example: GeneMarkS).

Attached is an excerpt from the GFF output from GeneMarkS : trial_GFF_excerpt.txt

Without the if statement that is included in this pull request, the program tries to split the empty lines between gene entries and returns an error.