unzipping my file in fedora
1
0
Entering edit mode
6.2 years ago
A ★ 4.0k

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 • 1.5k views
ADD COMMENT
3
Entering edit mode
6.2 years ago
Dan D 7.2k

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]$ 

[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.
[izadi@lbox161 izadi]$ 

 

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
[izadi@lbox161 izadi]$ 

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

ADD REPLY

Login before adding your answer.

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