An instance of this class is best created by calling "bb_parseape()" on a genebank or APE-formatted file. That function will parse the file, correctly format the sections and place them in the slots of the Ape Object. Technically only "LOCUS" is a required slot for the Ape object, however there is no point without having "ORIGIN" (sequence data), and so bb_parseape() will fail without an "ORIGIN" section. Other slots are optional. Additional slots will be ignored by the constructor function. DNA sequence will be stored in a DNAStringSet object and features in a GRanges object. See https://www.ncbi.nlm.nih.gov/Sitemap/samplerecord.html for genebank file specification.
Slots
LOCUSThe LOCUS line of the genebank formatted as a character string.
DEFINITIONThe DEFINITION line of the genebank file formatted as a character string.
ACCESSIONThe ACCESSION section of the genebank file formatted as a character string.
VERSIONThe VERSION section of the genebank file formatted as a character string.
SOURCEThe SOURCE section of the genebank file formatted as a character string.
COMMENTThe COMMENT section of the genebank file formatted as a character string.
FEATURESThe FEATURES section of the genebank file formatted as a character string. Created internally from the GRanges object. Caution: some FEATURE attributes may be lost in conversion.
ORIGINThe DNA sequence
end_of_fileThe end of the file signal.
dna_biostringThe entire ORIGIN sequence formatted as a DNAStringSet of length 1.
grangesGenebank features formatted as a GRanges object.