The Genome object is capable of loading chromosome sequence on demand. UCSC Genomes are included in this kmeRtone package. Their specific chromosome sequence will be downloaded on demand once.
loadGenome(
genome.name,
fasta.style,
mask = "none",
fasta.path,
ncbi.db,
ncbi.asm,
use.UCSC.name = FALSE,
load.limit = 1
)
A UCSC_Genome
or NCBI_Genome
object.
A genome name. UCSC and NCBI genome is included with kmeRtone. Input their name e.g. hg19 or GRCh37.
FASTA version: "UCSC" or "NCBI".
Genome mask: "none", "soft", or "hard". Default is "none".
Path to a directory of user-provided genome FASTA files or the destination to save the NCBI/UCSC downloaded reference genome files.
NCBI database: "refseq" or "genbank".
NCBI assembly table.
For NCBI Genome, use UCSC-style chromosome name? Default is FALSE.
Maximum chromosome sequences loaded. Default is 1.