Hello. I am new to differential gene expression analysis. I was trying the tutorial of griffith test data provided in BIOSTAR HANDBOOK. I have done the alignment using HISAT2 and when I am doing quantification using the
featureCounts
I am getting the GZIP ERROR:-2 as follows:
GZIP ERROR:-2
the data is paired ended so I am using the same command given in the manual of subhead package.
featureCounts -p -a annotation.gtf -t exon -g gene id -o counts.txt mapping results PE.bam
Also, the path and working directory all are fine, still, I don't know why this error is coming up. Please suggest as I am stuck at this step and not able to proceed.
Thanks in advance!
That is odd. There should be no GZIP involved in running
featureCounts
. Can you post your exact command?I am also encountering this error for the first time. yes, the command is used is:
As indicated by @Shalu your BAM files may have some problems. Did you get any errors in prior steps where you were generating these files? Have you looked through the logs? What do you see if you try the command
file bam/HBR_1.bam
(and other BAM files above)?No, I did not find any error while creating bam files.
I have generated a directory named griffith and then I have downloaded the data from:
This is the URL for the data
Download and unpack the data
and then I created bam directory within griffith and aligned reads using:
Okay! Sir/Ma'am I will look for bam files validity.
when i tried
file bam/HBR_1.bam
, I am getting this error:is it because these files are zipped one? what I have to do next?
That is what you should see with normal BAM files. So this part should be ok.
Not sure why you posted below that you are getting an error with
hisat2
. Are you trying your own data files now?no, I am trying with the same files, I did not check or hisat2 earlier. I just checked for
BAM
and it was there in new bam directory. I didn't have much experience with iMac.So, now, In my Linux system, I have installed HISAT2 using conda and then I ran
hisat2
to check whether its working or not. I am getting this error at the last line after the usage:and with the same hisat2, when I am trying to build index using
I am getting a similar error and bam files of 0 bytes.
I think the error is because of indexing issues (with HISAT2).
If you feel that you made a mistake somewhere upstream in the workflow then go back and check all previous files starting at the top with raw data. If you used
conda
to installhisat2
then there should not be much of an issue.okay I will check from the first step again.