Question: (Closed) use cat to merge two gz files
0
gravatar for qizhengyang17
2.4 years ago by
qizhengyang1710 wrote:

I have two gz files named 1.gz(315M) and 2.gz(2.6G). I use cat to merge the two files

cat 1.gz 2.gz > 3.gz

the size of 3.gz is 5.4G, I feel very surprised. How is this happened?

linux bioinformatics • 572 views
ADD COMMENTlink modified 2.4 years ago by Devon Ryan97k • written 2.4 years ago by qizhengyang1710

I cannot find the bioinformatics part of your question.

ADD REPLYlink written 2.4 years ago by Benn8.0k

Hello qizhengyang17!

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

Not bioinformatics. Please search/ask Stack Overflow

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 2.4 years ago by RamRS30k
0
gravatar for Devon Ryan
2.4 years ago by
Devon Ryan97k
Freiburg, Germany
Devon Ryan97k wrote:

That happened because you didn't just concatenate 1.gz and 2.gz, you probably put 2.gz in twice. As pointed out in the comments, this isn't a bioinformatics question as written.

ADD COMMENTlink written 2.4 years ago by Devon Ryan97k
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: 1921 users visited in the last hour