LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-03-2013, 03:08 PM   #1
arcolombo698
Member
 
Registered: Nov 2013
Posts: 31

Rep: Reputation: Disabled
Piping a GZipped File


Hello

I received this error message

could not open pipe gzip -cd < paired_trimmed_Sample_.fastq.gz

and am not sure what this means.

advice?
 
Old 12-03-2013, 03:18 PM   #2
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,676

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
What is the full command that is generating that message?

Does the file paired_trimmed_Sample_.fastq.gz exist in that location?
 
Old 12-03-2013, 03:42 PM   #3
arcolombo698
Member
 
Registered: Nov 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Tophat alignment

Hello. THank you for the response.

Here is the full job submission

#!/bin/tcsh
#PBS -m abe -M
#PBS -j oe
tophat2 --GTF /auto/rcf-proj/sa1/data/Homo_sapiens1/UCSC/hg19/Annotation/Archives/archive-2013-03-06-11-23-03/Genes/genes.gtf --num-threads 16 --library-type fr-firststrand --mate-inner-dist 100 --output-dir Sample_CHLA-122_output /auto/rcf-proj/sa1/data/Homo_sapiens1/UCSC/hg19/Sequence/Bowtie2Index/genome paired_trimmed_Sample_.fastq paired_trimmed_Sample_R2.fastq


I am not sure what else you would need?
 
Old 12-03-2013, 04:21 PM   #4
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,676

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
Hmmm... it is not at all clear how that "job" relates to the error message from your first post.

So your error is not really about piping a gzipped file, it is about the internals of your application.

I would guess that somewhere in the code that gets executed it uses a pipe on the gunzipped data and that pipe is broken or fails to open. It would be impossible to say what is happening without some familiarity with the application and maybe access to the code. But certainly beyond the scope of this question.

If you are in a work environment I would suggest asking someone familiar with the application - they will likely have seen the message before and can tell you what parameters need to be changed to get past it. Otherwise, recheck all the parameters that you are passing from the shell.

And re-ask yourself the unanswered question from my first post - does the file paired_trimmed_Sample_.fastq.gz actually exist?
 
  


Reply

Tags
zip


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOError: Not a gzipped file error while trying to make rawhide fedora repository MikeyCarter Linux - Software 0 11-04-2009 08:52 AM
How to edit a gzipped boot.img file without gunzipping it first... NiHao Programming 6 05-25-2009 08:42 PM
Help Piping a Text File Into rm chantrek Linux - Newbie 12 04-02-2007 08:44 AM
md5sum different on gzipped file, but same when gunzipped jim-j Linux - Software 2 12-07-2006 09:41 PM
Piping file list through rm swingheim Linux - Newbie 4 01-17-2004 05:48 PM


All times are GMT -5. The time now is 05:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration