| prodigal_training {bifrost} | R Documentation |
prodigal_training(x);
a trained prodigal TrainingModel object, which can be used for the gene prediction of the other genomics contigs assembly sequence that come from the same or a close related species, via the model parameter of the prodigal function.
this function returns a R# error message object if the input sequence data is nothing or can not be cast to a fasta sequence collection.
imports "bioseq.fasta" from "seqtoolkit";
imports "bifrost" from "seqtoolkit";
# train the gene prediction model from a well assembled
# genomics contigs sequence, and then apply the trained
# model on the other MAGs contigs of the same species
let model <- prodigal_training(read.fasta("./genome.fasta"));
let genes <- prodigal(read.fasta("./MAGs_contigs.fasta"), model = model);