if (FALSE) {
gbk <- read_gbk("path/to/genbank_file.gbk")
df <- gbk_features_to_df(gbk)
# To extract only specific keys within the "CDS" feature
df <- gbk_features_to_df(gbk, feature = "CDS", keys = c("gene", "region"))
# To disable special processing of the 'region' key
df <- gbk_features_to_df(gbk, process_region = FALSE)
}
Run the code above in your browser using DataLab