I extracted genes from prokka .ffn file. I found copies of gene sequences, but the ID differs. I wanted to know how I could change the ID of each of the ???
example I did to replace (.fasta_*_) with (_) :
>2549870-Q2398_S6.fasta_00234_Adenylate_kinase
sed -i 's:.fasta_*******_:_:g'
>2549870-Q2398_S6_Adenylate_kinase
my question: with which character do I replace the stars for you to recognize any number?
thank you in advance