generate_snp_search_string
identify the SNPs that will overlap
the search strings generated from the targeted SNPs
generate_snp_search_string(
selected_snps,
position_reference,
ref_seq,
snp_matrix,
prev,
after,
position_type = "fasta",
extend_length = TRUE,
fasta_name_as_result = TRUE,
bp = MulticoreParam()
)
list of targeted SNPs
the mapping between reference genome positions and orthologous SNP matrix positions
the reference genome sequence
the orthologous SNP matrix
number of characters before the SNP
number of characters after the SNP
type of SNPs input, "fasta" (orthologous SNP matrix based) or "genome" (reference genome based); Default to "fasta"
whether to extend the search string before and after the SNP and ignore overlapping SNPs
Whether the result should use the fasta matching sequence name or the fasta position and allele, default to using fasta sequence name (TRUE)
BiocParallel backend to use
a dataframe containing the search strings