unzipping my file in fedora
1
0
Entering edit mode
9.3 years ago
zizigolu ★ 4.3k

Sorry guys,

I tried to unpack my file but I could not, what I did wrong here please?

[izadi@lbox161 ~]$ cd Downloads
[izadi@lbox161 ~/Downloads]$ ls
BY4741_JRIS00000000_cds.fsa.gz  rna_genomic.fasta.gz
Fereshteh.R                     S288C_reference_genome_Current_Release.tgz
orf_coding_all.fasta (1).gz     S288C_reference_genome_R64-2-1_20150113
orf_coding_all.fasta.gz
[izadi@lbox161 ~/Downloads]$ tar -xzvf rna_genomic.fasta.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
gz fasta • 2.3k views
ADD COMMENT
3
Entering edit mode
9.3 years ago
Dan D 7.4k

You're trying to untar the file. It's not a tar archive. A tar archive is a collection of files condensed into a single file for better portability. The entire archive can also be gzipped. The command you typed was an attempt to decompress and unpack a tar archive.

What you have is likely a single file compressed with GZIP.

Try gunzip rna_genomic.fasta.gz

ADD COMMENT
0
Entering edit mode

Thank you very much now I could open the file

ADD REPLY
0
Entering edit mode

Sorry Dan what is the syntax for unzipping fastqc_v0.11.3.zip?

ADD REPLY
0
Entering edit mode
unzip fastqc_v0.11.3.zip
ADD REPLY
0
Entering edit mode

Sorry,

[izadi@lbox161 ~]$ apt-get install zip
apt-get: Command not found.
[izadi@lbox161 ~]$ bash
[izadi@lbox161 ~]$ apt-get install zip
bash: apt-get: command not found...
[izadi@lbox161 ~]$ # apt-get install zip
[izadi@lbox161 ~]$ apt-get install unzip
bash: apt-get: command not found...
[izadi@lbox161 ~]$ # apt-get install unzip
[izadi@lbox161 ~]$ # yum install zip
[izadi@lbox161 ~]$ # yum install unzip
[izadi@lbox161 ~]$ cd /usr/data/nfs6/izadi
[izadi@lbox161 izadi]$ $ unzip fastqc_v0.11.3.zip
bash: $: command not found...

[izadi@lbox161 izadi]$ unzip fastqc_v0.11.3.zip
Archive:  fastqc_v0.11.3.zip
  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 fastqc_v0.11.3.zip or
        fastqc_v0.11.3.zip.zip, and cannot find fastqc_v0.11.3.zip.ZIP, period.
ADD REPLY
1
Entering edit mode

Try

jar xvf fastqc_v0.11.3.zip
ADD REPLY
1
Entering edit mode

Try file fastqc_v0.11.3.zip

ADD REPLY
0
Entering edit mode

I tried

[izadi@lbox161 izadi]$ file fastqc_v0.11.3.zip
fastqc_v0.11.3.zip: Zip archive data, at least v2.0 to extract

Now I have a FastQC file containing cisd-jhdf5.jar, how can I run fastqc please?

ADD REPLY

Login before adding your answer.

Traffic: 1706 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