I have different fasta files. I want to keep some part of the headers and add a name to simplify the downstream analysis and since the ids in files are not in continuation, so simply renaming in series using awk won't help. Some of my fasta headers are like this (augustus output file)
I want to keep the header and just add the species_genus name after
or better like this
Similarly, for file with headers like this,
>AG1IA_00006 contig1:1338:4722:+ [translate_table: standard]
I want to keep
p.s. my OS= Ubuntu16.04
p.p.s. I couldn't find a suitable command in the other similar posts and I also asked there but couldn't get any help. It's a bit urgent.
Thanks in advance.