I am trying to compare 2 NR database versions. I want to get gene identifiers ids from both the database so that I can blast sequence only to new gene identifier(GI) ids. For latest nr database I could download the fasta file and grep all GI ids from it. But for older nr database we don't have fasta file so first I was trying to get just GI from the nr database using
blastdbcmd -entry 'all' -db Path/to/db -outfmt '%g' -out gi_id_list.txt
It is taking forever to complete that process as far as my calculations it will take around 27 days to get the gi_id_list.txt.
That's the reason why I was trying to get every single sequence from NR in fasta so that I can grep out the GI id from it quickly.
Is there anyway quicker way to get all the GI's from older NR database.