Hello,
Please I would like to merge one same column to multiple different files. Those files have the same structure but from different samples and I want to merge them with snp position column each file separately.
Is there any kind of loop (bash, R , python ...) that could do this ?
input files
RS 1-51.Log R Ratio 1-51.B Allele Freq
A28 -0.1656 1
column :
RS Position
A28 5555
Output:
RS 1-51.Log R Ratio 1-51.B Allele Freq Position
A28 -0.1656 1 5555
Thank you very much
with tsv-utils :
input:
output:
You should provide the first few lines in each file and an example of the desired output. It would be difficult to answer the question without this information.