Hi, now I have two bed files.
Each have four columuns, and the fourth column has the uniq ID for each row, each file has thousands of rows. Now I want to combine row of the two files if the rows have the same ID,
the final output should like this:
chr1 10028 10029 chr14 68314662 68314663 J00118:253:HJ2FTBBXX:3:2213:8491:13394
bed 1:
chr1 10028 10029 J00118:253:HJ2FTBBXX:3:2213:8491:13394
...
bed 2:
chr14 68314662 68314663 J00118:253:HJ2FTBBXX:3:2213:8491:13394
...