How to compare and merge multiple files?
问题 reference file chr1 288598 288656 chr1 779518 779576 chr2 2569592 2569660 chr3 5018399 5018464 chr4 5182842 5182882 file1 chr1 288598 288656 12 chr1 779518 779576 14 chr2 2569592 2569660 26 chr3 5018399 5018464 27 chr4 5182842 5182882 37 file2 chr1 288598 288656 35 chr2 2569592 2569660 348 chr3 5018399 5018464 4326 chr4 5182842 5182882 68 I have six similar files excluding the reference file. Here first three fields are similar to the reference file. Therefore, I would like export only 4th