File1
chr start1 end1 start2 end2 score Tag name
1 1000 2000 3000 4000 0 K00230:40:HNWJLBBXX:4:1101:1002:24155
1 8000 9000 10000 11000 0 K00230:40:HNWJLBBXX:4:1101:1002:35936
File2
chr start1 end1 score Tag name
1 8000 9000 0 K00230:40:HNWJLBBXX:4:1101:1002:35936/1
1 10000 11000 0 K00230:40:HNWJLBBXX:4:1101:1002:35936/2
1 1000 2000 0 K00230:40:HNWJLBBXX:4:1101:1002:35900/1
1 3000 4000 0 K00230:40:HNWJLBBXX:4:1101:1002:35900/2
expected output
chr start1 end1 score Tag name
1 8000 9000 0 K00230:40:HNWJLBBXX:4:1101:1002:35936/1
1 10000 11000 0 K00230:40:HNWJLBBXX:4:1101:1002:35936/2
May I please have some help to get the desired output
Thanks
what happened to your post here : Extract rows having the 11th column values lies between 2nd and 3nd of a second file if 1st column matches ?? i.jabre26
I already worked that out :)