Question: (Closed) Join command making trouble
gravatar for saadleeshehreen
6 months ago by
saadleeshehreen60 wrote:


I have joined two files with the following command.

join -j 1 <(sort f1.csv) <(sort f2.csv) > f3.csv

After joining I tried to cut two fields from f3.csv.

cat f3.csv | cut -f2,10

But it can't cut the specific fields rather printing the whole table. I edited the header line for both f1 and f2 by using sed command before joining them to create f3.csv.

sed 1d | sed '1i a\t\b........."

Both f1 and f2 are absolutely Ok. cut command works for both of them but can't work for my f3.csv. Any solution?


shell join • 168 views
ADD COMMENTlink written 6 months ago by saadleeshehreen60

Hello saadleeshehreen!

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

This isn't a bioinformatic topic. Please ask this in a forum with a better focus on it like

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.


ADD REPLYlink written 6 months ago by finswimmer11k
Please log in to add an answer.
The thread is closed. No new answers may be added.


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