added auto sequence type determination to fasta-mode