Gets sequences from a fasta file using accession numbers