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

Visualization error #44

Closed
andrisvAria opened this issue Jun 20, 2019 · 4 comments
Closed

Visualization error #44

andrisvAria opened this issue Jun 20, 2019 · 4 comments

Comments

@andrisvAria
Copy link

andrisvAria commented Jun 20, 2019

Hi,
I am trying to visualize cnv calls from example1 of PennCNV but I have two problems. First, when I run visualize_cnv.pl -format plot -signal offspring.txt ex1.rawcnv I get this output

NOTICE: Signal values for 4 CNV regions are found in offspring.txt
NOTICE: Processing sample offspring.txt CNV chr11:55603545-55669650 with copy number of 0 ... written to offspring.txt.chr11.55603545.PDF
NOTICE: Processing sample offspring.txt CNV chr11:81792950-81806219 with copy number of 1 ... Use of uninitialized value in numeric gt (>) at C:\Users\andsav\Desktop\PennCNV-1.0.5\PennCNV-1.0.5\visualize_cnv.pl line 204.
written to offspring.txt.chr11.81792950.PDF
NOTICE: Processing sample offspring.txt CNV chr20:10511631-10583260 with copy number of 1 ... written to offspring.txt.chr20.10511631.PDF
NOTICE: Processing sample offspring.txt CNV chr3:3957986-4054960 with copy number of 1 ... written to offspring.txt.chr3.3957986.PDF

I wonder, what does this mean Use of uninitialized value in numeric gt (>) at C:\Users\andsav\Desktop\PennCNV-1.0.5\PennCNV-1.0.5\visualize_cnv.pl line 204. and how does it affect me?

Then, when I want to look at the generated plots, I was under the impresion that they will exist in jpg format in the folder. instead I have this

Capture

If I open one of them using Rstudio, it gives me the followin error
Error in file(file, "rt") : cannot open the connection
In addition: Warning messages:
1: file ‘.RData’ has magic number 'RDX3'
Use of save versions prior to 2 is deprecated
2: In file(file, "rt") :
cannot open file 'offspring.txt.chr11.81792950.signal': No such file or directory

Any ideas on what could be wrong and what I need to do to fix this?

System INFO
I use windows 10 x64, installed ActivePerl 5.8 x32 and have R 3.6.0

@andrisvAria andrisvAria changed the title e Visualization error Jun 20, 2019
@andrisvAria andrisvAria reopened this Jun 20, 2019
@nitzzzzzzz
Copy link

nitzzzzzzz commented Jan 10, 2022

Hi andrisvAria,
Facing same issue. have you fixed it? if yes, how did you fix it? my system info is same as of you.
thanks

@andrisvAria
Copy link
Author

Hey @nitzzzzzzz . Unfortunately I can't find the exact solution since it was such a long time ago. But, I do remember it was an issue with this library
[https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/png.html].

@nitzzzzzzz
Copy link

nitzzzzzzz commented Jan 12, 2022 via email

@kaichop
Copy link
Contributor

kaichop commented Jan 13, 2022

Thank you for the help addressing the issue. I am not very familiar with R, so I cannot really tell why sometimes PDF is not generated; it is good to know that PNG/JPG can work instead.

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

No branches or pull requests

3 participants