LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
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
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration