I have a file containing genes of different genomes. Gene is denoted by NZ_CP019047.1_2993 and Genome by NZ_CP019047 They look like this :
NZ_CP019047.1_2993 NZ