RSeQC GeneBody function error. Stops at R Script Step
1
0
Entering edit mode
7.8 years ago
achamess ▴ 90

Hi all,

When I try to run the GeneBody distribution function in RSeQC, it aborts with this error. Can anyone help me make sense of this?

@ 2017-02-16 18:32:36: Read BED file (reference gene model) ...
@ 2017-02-16 18:32:43: Total 36855 transcripts loaded
@ 2017-02-16 18:32:43: Get BAM file(s) ...
Warning: AC-L1Aligned.bam.bai does not exist! Skip it.
Sample  Skewness
@ 2017-02-16 18:32:43: Running R script ... 
null device 
 1
RNA-Seq software error • 3.3k views
ADD COMMENT
4
Entering edit mode
7.8 years ago
Lina F ▴ 200

Usually, the "null device 1" line means that R did open the device for drawing.

Did you check that the pdf file was not created?

Also, if you don't set up your output prefix option correctly, the file might start with a period, which makes it look invisibe to a Linux or Mac OSX terminal.

So if you are on a Mac or a Linux system, also run ls -la in the directory. If you do see a pdf file where the file name starts with a period, change the name and then the file should be visible in the GUI browser as well.

Edit: I just saw that the bai file doesn't exist. Fix that problem first and then check again to see if the PDF gets created.

ADD COMMENT
0
Entering edit mode

Thanks! There is a PDF file, but it doesn't open. It's like 3kb, so I'm assuming there is nothing in it. I didn't know the BAM files needed an index, according to the manual. I'll do that and see if it helps.

ADD REPLY
0
Entering edit mode

That was the trick! Thanks. There needs to be bam index files in the same directory.

ADD REPLY

Login before adding your answer.

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