This function reads an organism specific genome stored in a defined file format.
read_genome(file, format = "fasta", obj.type = "Biostrings", ...)
Either a Biostrings
or data.table
object.
a character string specifying the path to the file storing the genome.
a character string specifying the file format used to store
the genome, e.g. format = "fasta"
(default) or format = "gbk"
.
a character string specifying the object stype in which
the genomic sequence shall be represented. Either as
obj.type = "Biostrings"
(default) or
as obj.type = "data.table"
.
additional arguments that are used by the
read.fasta
function.
Hajk-Georg Drost
This function takes a string specifying the path to the genome file
of interest as first argument (e.g. the path returned by
getGenome
).
Other genome:
getGenomeSet()
,
getGenome()
Other readers:
read_cds()
,
read_gff()
,
read_proteome()
,
read_rna()