added print_ref_op()
updated printing of ref fasta file