sequential_variants | R Documentation |
One potential way to screen strains is to use PCR primers which should(not) anneal due to variants with respect to the genome. This function seeks to find variants which are clustered sufficiently close to each other that this is possible.
sequential_variants(
snp_sets,
conditions = NULL,
minimum = 3,
maximum_separation = 3,
one_away_file = "one_away.csv",
two_away_file = "two_away.csv",
doubles_file = "doubles.csv",
singles_file = "singles.csv"
)
snp_sets |
Result from get_snp_sets() containing the variants with respect to known conditions. |
conditions |
Set of conditions to search against. |
minimum |
Minimum number of variants required for a candiate. |
maximum_separation |
How far apart from each other are these >=minimum variants allowed to be? |
one_away_file |
Location to write variants that are no more than 1 base apart. |
two_away_file |
Location for those which are no more than 2 apart. |
doubles_file |
Write out variants which are 2 in a row. |
singles_file |
Write out the individual variants here. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.