I have this list, how do I replace sequence id from the old name (left column) to new name (right column). I have been thinking about the condition like this; if found word in column left, will then replace with word in column at the right. any idea by using perl script?
>NC_006351.1_00512 76172 76077 len=96
GTGACGCTGCCCGTCGGCGCCTTGTCGAAAGGCGCGAGCTTCGAAGTCGGCGCGCAGGTC
CAGCGGCCGACCGGCGCGCTGGCGTTGTTCGAGTAA
>NC_006351.1_00969 110672 110583 len=90
GTGTCGGCGAAAAACGACACGTTCTCGCGCCTCGGCAGCCGCGACGCGCACGAAGGCCGA
CAAAACACGCCGGTCGTCTTGACCGCGTAG
>NC_006351.1_01005 116974 117090 len=117
TTGCTCGTCGGGCGGATCATGCCGACGCCCGAAGCCGAATCCGAATCCGAATCCGAATCC
GACGCCGACGCCGAGGCGCAGAAGCGCTTCGCCGGGCTGCGCTACACGGGCACGTAA
NC_006351.1_512 BPSS_001
NC_006351.1_969 BPSS_002
NC_006351.1_005 BPSS_003
NC_006351.1_178 BPSS_004
Duplicate of: