GenbankGenome | R Documentation |
This class aims to implement a couple of trivial methods for wrangling whole microbial genome information from Genbank files
floundeR::FloundeR
-> GenbankGenome
new()
Creates a new GenbankGenome object. This initialisation method performs minimal sanity checking of the defined file(s)
GenbankGenome$new(gb_file)
gb_file
The source sequencing_summary file.
A new GenbankGenome
object.
TB_reference = flnDr("TB_H37Rv.gb.gz") tb <- GenbankGenome$new(TB_reference)
list_cds()
exports the annotated genomic features as a GenomicRanges object. This can be used for the review of content in a genomics context.
GenbankGenome$list_cds()
get_cds()
Get the CDS information for one or more annotated features from the genome of interest.
GenbankGenome$get_cds(feature_id = "fusA1")
focus_cds()
GenbankGenome$focus_cds(feature_id = "fusA1")
focus_range()
GenbankGenome$focus_range(chromosome = NULL, start = NULL, end = NULL)
as_tibble()
GenbankGenome$as_tibble()
whole_genome_focus()
GenbankGenome$whole_genome_focus()
focus_nucleotide()
GenbankGenome$focus_nucleotide(position)
focus_codon()
GenbankGenome$focus_codon(codon)
get_nucleotide()
GenbankGenome$get_nucleotide(position, strand)
unfocus()
GenbankGenome$unfocus()
is_focused()
GenbankGenome$is_focused()
get_focus()
GenbankGenome$get_focus()
clone()
The objects of this class are cloneable with this method.
GenbankGenome$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------ ## Method `GenbankGenome$new` ## ------------------------------------------------ TB_reference = flnDr("TB_H37Rv.gb.gz") tb <- GenbankGenome$new(TB_reference)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.