View source: R/utility_functions.R
getSeqFromUCSC | R Documentation |
Get DNA sequences from UCSC genome database directly through REST API
getSeqFromUCSC(genome, names, start = NA, end = NA, strand = "+")
genome |
genome assembly name, hg38, mm10, panPan3, etc |
names |
either a GRanges object or a character of the chromosome name |
start, end |
Vector of integers (eventually with NAs) specifying the locations of the subsequences to extract |
strand |
Vector of integers (eventually with NAs) specifying the locations of the subsequences to extract |
getSeqFromUCSC("hg38", "chr1", start=55, end=65, strand="-")
ranges = GenomicRanges::GRanges(seqnames = "chrM", ranges = IRanges::IRanges(15466, 15555), strand="+")
getSeqFromUCSC("panPan3", names=ranges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.