My bacterial *.faa - files do not have locus-tags in their headers. It may be some exception, but they don't.
I have a couple of ideas,
To search GPFF-files. It's a new version of *.gbk files, they have both lovus-tag and protein sequence somewhere nearby. But I have only a list of locus-tags and have no idea about the hosts. So it's not a solution.
What I do right now - I take my locus_tag, go to www.ncbi.nlm.nih.gov, put the locus_tag to the upper empty window and press "OK". Then I manually select "fasta" somewhere in the upper menu from the window I've gotten and this is my protein. But I don't know how to make it automatically for the whole list. It's possible, I've done in biopython once, but then succesfully forgot it.
Are you asking that you need to do this for every
gene_locusfor entire bacterial genomes (since this post that you linked does what you seem to be asking for for one locus: NCBI : Obtain "gene symbol" and fasta sequence from locus_tag list )? If that is so why not get the.faafiles for the genome?Thanks for your reply! I tried it and started with *.faa files, I hoped it's a solution.
It turned out there is no locus_tags in their headers. I looked at a bacterium from 2016.
I looked at this post. NCBI : Obtain "gene symbol" and fasta sequence from locus_tag list.
I don't have a gene symbol, just locus_tag. Right now I do it manually, submit a locus_tag to ncbi.nlm.nih.gov
and finally have a protein sequence, but I would prefer an automatic way.