So I have a bunch of tab deliminated files. The first column in every file is identical, the second column varies by sample. What I want to do is cut the second column from every file and paste them together to get one big tab delimited file with a column for each individual sample. So I've done this for a small number of files using...
cut -f 2 file2 | paste file1 - > file3
But doing this for multiple samples is so tedious.
Anyone got any suggestions? I can't figure this one out.
Thanks!