set correct query_seq length and pass to standardize_flanks function