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

commande line #703

Open
azouradel opened this issue Jul 8, 2024 · 1 comment
Open

commande line #703

azouradel opened this issue Jul 8, 2024 · 1 comment

Comments

@azouradel
Copy link

I'm trying to use this command line to annotate several genomes in FASTA format that exist in a directory, but the problem is that it only annotates one genome

command line: prokka allgenomes/*.fna --prefix prokka

@marco315176
Copy link

marco315176 commented Aug 30, 2024

You could try:

for assembly in /home/PATH/to/*.fna; do
ID=$(basename ${assembly} | cut -d '-' -f '1') #Or wherever your sequence ID is
ename=$(basename ${assembly} | cut -d '.' -f '1')

prokka ${assembly} --kingdom x --outdir /home/PATH/TO/YOUR/OUTDIR/prokka/${ID}_anotated

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

No branches or pull requests

2 participants