Question: (Closed) remove space between columns
gravatar for kk.mahsa
7 weeks ago by
kk.mahsa100 wrote:


i have a vcf file containing 4 columns like below.

NW_012.1    35  A   G

now i want remove space between columns and output will be as below


how can do this?

awk snp • 100 views
ADD COMMENTlink written 7 weeks ago by kk.mahsa100

Hello kk.mahsa!

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

sed -r 's/\s+//g' in.file (not that this was the first hit on google when querying remove all spaces in bash)

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 modified 7 weeks ago • written 7 weeks ago by ATpoint14k

Is it space or tab delimited? What have you tried? Did you google or search stack exchange?

ADD REPLYlink written 7 weeks ago by b.nota6.3k
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: 1602 users visited in the last hour