I have a tab delimited file with sequence pairs and their identity score - eg:
1 2 77
1 3 16
1 4 23 etc
And a separate tab delimited file with the actual sequence IDs - eg:
1 contig00345
2 contig00216
3 contig00004 etc
I want to replace the numbers (in 1st and 2nd column) in the first file with the sequence ID. I'm only just starting to learn Perl scripting, I'm sure this is quite easy - please could someone help me out here?
1 2 77
1 3 16
1 4 23 etc
And a separate tab delimited file with the actual sequence IDs - eg:
1 contig00345
2 contig00216
3 contig00004 etc
I want to replace the numbers (in 1st and 2nd column) in the first file with the sequence ID. I'm only just starting to learn Perl scripting, I'm sure this is quite easy - please could someone help me out here?
Comment