Question: (Closed) Join two files with a common column
0
gravatar for glady
11 days ago by
glady260
glady260 wrote:

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 • 42 views
ADD COMMENTlink modified 11 days ago • written 11 days ago by glady260

you want join.

ADD REPLYlink written 11 days ago by Pierre Lindenbaum131k

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!

ADD REPLYlink written 11 days ago by Pierre Lindenbaum131k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1976 users visited in the last hour