I am too new with programing to solve this problem. I have two files, file1 containing the index, file2 includes information I want.
1. file1 CU_91 CU_495 CW_79 CU_22 CW_42 2. file2 CW_79 protein1 CW_15 protein2 CW_16 protein3 CW_17 protein4 CW_42 protein5
I want to add extra information from file 2 to file 1 without changing the order in file one, as following. How could I do that?
CU_91 CU_495 CW_79 protein1 CU_22 CW_42 protein5