Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenBank output not found. #14

Open
Taalouane opened this issue Feb 10, 2021 · 2 comments
Open

GenBank output not found. #14

Taalouane opened this issue Feb 10, 2021 · 2 comments
Assignees

Comments

@Taalouane
Copy link

Hi,

For each input assembly I have used, Kaptive did not produce the Genbank file for the region (s) in the assembly that match the best locus of interest match.

Do you have any idea how I could get the Genbank file to output the region of interest?

Thanks !

@kelwyres
Copy link
Collaborator

Hi,

Many apologies- there is a mistake on the Kaptive instructions page- Kaptive doesn't produce a Genbank file as output, only a fasta file. I will update the instructions page. If you would like to generate a Genbank annotation you could try using Prokka with the relevant Kaptive database as a protein reference.

Apologies again for the confusion and thanks for highlighting our mistake!
Kelly

@tomdstanton
Copy link
Collaborator

tomdstanton commented Apr 26, 2024

This can be built into kaptive convert if there is enough interest.
GeneResult objects can be coerced into Bio.SeqFeature objects by adding the class method as_seqfeature() and LocusPiece objects can be coerced into Bio.SeqRecord objects by adding the class method as_seqrecord(). The TypingResult objects would then yield Bio.SeqRecord objects for locus pieces by adding the class method as_seqrecord(). However I'm unsure how we would deal with genes outside of the locus; I am open to suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants