Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in pdf(file = iparams$output.plot.file, width = 5, height = 5) : cannot open file 'file.sorted.pdf' #4

Open
GoogleCodeExporter opened this issue Sep 23, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

I have been using PPQT for .bam files to obtain the fragmentsize of the reads. 
It usually works fine, however, for some files I get the following error:

Error in pdf(file = iparams$output.plot.file, width = 5, height = 5) :
  cannot open file 'file.sorted.pdf'
Execution halted

When this happens I still get an output file, however, col3 contains only 1 
value instead of the usual 3.

This is my input:

Rscript run_spp.R -c=file.sorted.bam -savp -out=file_PPQT.csv

The files that give this error are usually mapped with bwa (and contain 
duplicate reads and reads mapping to repeat regions), while files that do not 
produce this error are mapped with ELAND (and contain duplicate reads but not 
read mapping to repeat regions).

How can I fix this error, and can I trust the output data?

Thank you for your help,

Saartje (Nijmegen, The Netherlands)


Original issue reported on code.google.com by Saartje....@gmail.com on 15 Mar 2013 at 8:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant