unzip the file of TAM677A1_S2_L008_I1_001.fastq.gz.1
1
0
Entering edit mode
4.7 years ago
yueli7 ▴ 250

Hello,

I tried to unzip the files.

Thanks in advance for any help!

Best,

Yue

$ unzip TAM677A1_S2_L008_I1_001.fastq.gz.1
Archive:  TAM677A1_S2_L008_I1_001.fastq.gz.1
  End-of-central-directory signature not found.  Either this file is not
 a zipfile, or it constitutes one disk of a multi-part archive.  In the
 latter case the central directory and zipfile comment will be found on
 the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of TAM677A1_S2_L008_I1_001.fastq.gz.1 or
    TAM677A1_S2_L008_I1_001.fastq.gz.1.zip, and cannot find TAM677A1_S2_L008_I1_001.fastq.gz.1.ZIP, period.
RNA-Seq • 4.8k views
ADD COMMENT
0
Entering edit mode

Two reason I am guessing for this: 1: Either you tried downloading multiple times this same file. In that case just rename TAM677A1_S2_L008_I1_001.fastq.gz.1 to TAM677A1_S2_L008_I1_001.fastq.gz and than gunzip this file

2: Maybe this is just a part of file. your file was uncomplete or downloaded one file from a multiple source

ADD REPLY
0
Entering edit mode

Hello, devarora,

Thank you so much for your suggestion!

Thank You!

Yue

ADD REPLY
0
Entering edit mode

First you need to change the name: mv TAM677A1_S2_L008_I1_001.fastq.gz.1 TAM677A1_S2_L008_I1_001.fastq.gz Then use gunzip gunzip TAM677A1_S2_L008_I1_001.fastq.gz

ADD REPLY
0
Entering edit mode

Hello, gb,

Thank you so much for your suggestion!

Thank You!

Yue

ADD REPLY
0
Entering edit mode

You can also use gunzip file_name.

ADD REPLY
1
Entering edit mode

Correct me if I am wrong, but I think only this works: gunzip -S ".1" file_name

EDIT:

gunzip -S ".gz.1" file_name
ADD REPLY
0
Entering edit mode

It the file indeed has a .1. That probably shows that the file may have been downloded multiple times, as hinted by @devarora above.

ADD REPLY
0
Entering edit mode

Hello, gb,

Finally this works!

Thank you!

Yue

ADD REPLY
0
Entering edit mode

Hello, genomax,

Thank you so much for your suggestion!

Thank You!

Yue

ADD REPLY
0
Entering edit mode
4.7 years ago
ATpoint 85k

unzip decompresses ZIP-compressed files. You have gzip-compressed files. Therefore use gzip -d to decompress, even though I would be surprised that these days any tool actually requires decompressing files manually as most (all?) can read compressed files.

ADD COMMENT
0
Entering edit mode

Hello, ATpoint,

Thank you so much for your suggestion!

Thank You!

Yue

ADD REPLY

Login before adding your answer.

Traffic: 2068 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6