This is a test version of Biostars. For the public version, visit https://www.biostars.org.
remove space between columns

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

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

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!

0 answers

No answers yet.

Log in to answer this question.