prepare loc from fasta