Closed Hocnonsense closed 10 months ago
Hi @Hocnonsense, you can pass more than one sequence to the train
method, they will be treated as all originating from the same genome. If you have a list sequences
with all your sequences, you can run:
gf = pyrodigal.GeneFinder()
gf.train(*sequences)
This will pass all the sequences to train a gene finder (using the splat operator *
). Then simply loop over your MAG sequences and call gf.find_genes
on each of them!
I've got it, thanks!
In the example of the document, the classic prodigal
-p single
mode can be accessed by runningwhere
training_sequence
refers to a bite sequenceHowever, in a MAG, there are multiple sequences. Is there any example to predict gene on a set of sequences? Thanks!