You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I have a question. is it possible to get the nucleotide sequence of a gene from the pyrodigal prediction? something like the "translate" method, but with the nucleotide sequence.
I need that in downstream analysis to do codon alignment.
Best regards.
Enzo
The text was updated successfully, but these errors were encountered:
At the moment it's not possible (you'd need to slice the original sequence yourself) but i'm changing how the sequences are handled internally and I can add that in a next version. Cheers!
Hi again, v0.5.4 is out. With it you can get the sequence of a prediction as a string:
p = pyrodigal.Pyrodigal(meta=True)
for prediction in p.find_genes(seq):
gene_sequence = prediction.sequence()
Note that any unknown character (none of A/T/G/C) will be converted as a N, so the sequence you get from that method may not be 100% the same as if you manually indexed the source sequence with the start and end coordinates.
Hello!, Congratulations for this implementation.
Although I have a question. is it possible to get the nucleotide sequence of a gene from the pyrodigal prediction? something like the "translate" method, but with the nucleotide sequence.
I need that in downstream analysis to do codon alignment.
Best regards.
Enzo
The text was updated successfully, but these errors were encountered: