throw exception instead of assert for invalid fasta character