Question: (Closed) remove space between columns
0
gravatar for kk.mahsa
8 months ago by
kk.mahsa100
kk.mahsa100 wrote:

hi

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

NW_012.135AG

how can do this?

awk snp • 165 views
ADD COMMENTlink written 8 months ago by kk.mahsa100
1

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.

Cheers!

ADD REPLYlink modified 8 months ago • written 8 months ago by ATpoint24k

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

ADD REPLYlink written 8 months ago by Benn7.8k
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: 725 users visited in the last hour