Thank you so much for the suggestions. A couple of issues I am encountering.
When I sort the 44k tab txt file sort -t $'\t' -k3,3 44k.txt > sorted .txt
I get the header at the bottom. Not sure whether that is the issue for the following step. I have tried to fix unsuccessfully.
When i perform join -t $'\t' -1 3 -2 1 sorted .txt cases_2.txt the output looks like this:
E78GJHI 1 150023532 1
ENM8H53 1 150034923 1
Anything I can do to fix this? thank you
You should include the first few lines from each file, and an example of what you want the outcome to look like.
44k participant file txt
Case txt
Control txt
The expected output Phenotype File result