chernolab / ASpli

BioC current release of ASpli
4 stars 1 forks source link

IntegrateSignals PNG images are corrupt (0 bytes) #12

Open caikenlol opened 2 years ago

caikenlol commented 2 years ago

Hello, I have ran my own code and the exemplar code several times and I keep receiving corrupt images that are 0 bytes. I have loaded Rsamtools and DT packages and followed the Reference Manual. Do you know if this is a common error or could I have software blocking the image creation? Any help would be appreciated!

Thanks

ATPs commented 1 year ago

I think one possible reason is that the ASpli package replace "." and ":" to "_", and the name might be unmatched, so the results from bam file cannot be extracted.

you will get warnings like:

samtools depth: can't parse region "KQ458386_1:351073-385414"

The other thing is that if the error happened due to the reason above, it seems that the png file is still open. So if you run

dev.list()

you may see many files opened. When too many files opened, R cannot plot new figures.

Need to change the source code to fix this bug.