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

enhancement: add option to slice input contigs #17

Open
jbadomics opened this issue Aug 29, 2016 · 1 comment
Open

enhancement: add option to slice input contigs #17

jbadomics opened this issue Aug 29, 2016 · 1 comment
Assignees
Milestone

Comments

@jbadomics
Copy link

Torsten-
An idea for enhancement: would be great to have an option for barrnap to write fasta file(s) containing just the detected rRNA sequences, i.e. to slice the input contigs file at coordinates reported in the .gff output - would facilitate much faster BLAST...just a thought.

Otherwise very handy tool, thanks for maintaining! :)

Jon

@tseemann tseemann self-assigned this Feb 19, 2017
@tseemann tseemann added this to the Version 1.0 milestone Feb 19, 2017
@tseemann
Copy link
Owner

tseemann commented Feb 19, 2017

Do you mean you want to produce a FASTA file with the search results, ie. the sequence of each of the hits?

You can do this with

barrnap genome.fna > barrnap.gff
bedtools getfasta -fi genome.fna -bed barrnap.gff -s > barrnap.fasta

But I agree it would be useful to have an option to do it. I'll aim to add it @jbadomics

tseemann added a commit that referenced this issue Apr 28, 2018
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

2 participants