I'm working on a Perl code since two weeks without found anything so, I'm asking for your help.
I have two files:
The first is like this:
141374_at AttA 141559_at sec5 141691_at spz 141930_at imd
These datas were selected before according to a criteria.
And the second is like that:
153814_at 0.09276438 153815_at 0.28571427 153816_at 0.63358074 153817_at 4.305195 153818_at 0.15955473 153819_at 0.40723562
These datas are not treated but have an interesting information in column 2.
So, I would like to get a new file with columns 1 and 2 from the first file and column 3 of file 2 which correspond to datas from column 1 of file 1.
I hope to put out:
141374_at AttA 1.671614 141559_at sec5 0.4499072 141691_at spz 0.4638219 141930_at imd 0.110389605
I think about hashes but I'm not familiar with.
Thanks for any help,
Sorry for my English, I'm a French Perl user!