fixed the FASTA parser to be simpler and deal with empty lines at the end of the file