This is a test version of Biostars. For the public version, visit https://www.biostars.org.
unzip the file of TAM677A1_S2_L008_I1_001.fastq.gz.1

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

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

Hello, devarora,

Thank you so much for your suggestion!

Thank You!

Yue

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

Hello, gb,

Thank you so much for your suggestion!

Thank You!

Yue

You can also use gunzip file_name.

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

EDIT:

gunzip -S ".gz.1" file_name

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

Hello, gb,

Finally this works!

Thank you!

Yue

Hello, genomax,

Thank you so much for your suggestion!

Thank You!

Yue

1 answer

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.

Hello, ATpoint,

Thank you so much for your suggestion!

Thank You!

Yue

Log in to answer this question.