This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Join two files with a common column

file 1:

V1

1111

2222

4444

file 2:

V1 V2 V3

a 1111 act

b 2222 asd

c 3333 qwe

d 4444 zxc

I want the output as:

V1 V2

1111 act

2222 asd

4444 zxc

I want to join the V1 column from file1 to the V2 column off file2, and get the desired output. Is there a quick way by linux commands to do it.

Thanks

r software error

Hello glady!

We believe that this post does not fit the main topic of this site.

not related to bioinformatics

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.