This is a test version of Biostars. For the public version, visit https://www.biostars.org.
unzipping my file in fedora

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 answer

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

Thank you very much now I could open the file

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

unzip fastqc_v0.11.3.zip

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.

Try

jar xvf fastqc_v0.11.3.zip

Try file fastqc_v0.11.3.zip

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?

Log in to answer this question.