BIMSBbioinfo / pigx_rnaseq

Bulk RNA-seq Data Processing, Quality Control, and Downstream Analysis Pipeline
GNU General Public License v3.0
20 stars 11 forks source link

Interactive plot and GO results are blank (R 3.5) #45

Closed Nicolai-vKuegelgen closed 3 years ago

Nicolai-vKuegelgen commented 5 years ago

After updating the pipeline I noticed that the interactive volcano plot and GO results sections (5.3. & 6) in the html reports show up blank. I've also run the newest version of the pipeline in a 'clean' environment without any other R installations to make sure this isn't cause by some external interactions.

For the interactive plot there is some blank space, so it seems that the printing happens but not properly, while the table for the GO results doesn't show up at all.

When I checked some older reports, I noticed that this problem started to occur after I reinstalled the pipeline in June, which also update the used R version from 3.4 to 3.5. The most susceptible packages that were update with the reinstallation of the pipeline (which was still at v0.0.3 at that point), are:

I currently have troubles uploading the full sessionInfo output from the reports form the oldest report, where it still worked (pigx 0.0.3, R 3.4.3) and the earliest one where it didn't (pigx 0.0.3, R 3.5), but I can provide them otherwise if necessary.

borauyar commented 5 years ago

Hi Nicolai, Did you install the pipeline via Guix? If so, could you please tell me the version of pigx and also the version of rnaseq pipeline?

rekado commented 5 years ago

Alternatively, please just tell us the version of Guix you used to install it.

Nicolai-vKuegelgen commented 5 years ago

Okay, I apparently completely forgot about both checking back in here and the issue for quite a while - sorry about that.

I have now found another issue with the markdown script (which may or may not be related), but first to your questions:

I have now dug into git logs & the dates of the /gnu/var/guix/profiles/custom/chekulaeva/.guix-profile-XX-link generations and tested some of the older profile generations. It looks like the last profile with which it still worked is:

/gnu/var/guix/profiles/custom/chekulaeva/.guix-profile-7-link which links to /gnu/store/zys8mc10vsfz29bv2n3isp6akx90j6kn-profile (I'm not sure how to get a version number/hash for that profile generation)

Now to another problem I encountered:

The pdf files that are created in addition to html-report are - at least for me - empty. There is definitely something written in the files, since they have different sizes, but I only get a blank white page when I look at it. (Again this happens with both of the environments described above). I have played around with this problem a bit since I have another snakemake pipeline is build up very similar to pigx, but not directly installed through guix (meaning I directly installed R from guix), that behaves the same way: if I try to created pdf files from within Rmarkdown they show up blank. I couldn't figure why this happens (so maybe its related to the plots in the html not showing up), but I did find a solution: saving the files with the cairo_pdf device instead of pdf works for me.

Edit: Interestingly, it looks like this problem with the pdf files occurred at the same time as the vanishing plots in the html report - so it is likely some underlying problem of either R or markdown.

Nicolai-vKuegelgen commented 4 years ago

Just an update on this: newer versions of the pipeline (0.0.10 maybe also earlier) don't have this issue anymore. This may also be due to additional updates of some R packages, which I haven't checked specifically (either way installing everything from guix is no problem now).