biocorecrg / BioNextflow

A collection of modules and sub-workflows for Nextflow
GNU General Public License v3.0
25 stars 3 forks source link

rpy2 package which is required by tombo's plotting functions is not installed in mopmod singularity images #15

Open adalisan opened 1 year ago

adalisan commented 1 year ago

I am trying to use "tombo plot" commands to run plotting functions of ont-tombo 1.5.1 . I am getting a "rpy2 is not installed" error message , and I checked the singularity images "mopmod 0.5" and "mopmod 0.7" which don't seem to contain rpy2 files. Is it possible to create mopmod containers which contain the rpy2 and any other requirements for tombo plots?

lucacozzuto commented 1 year ago

Hi, yes you can make a new container starting from the one we have and adding rpy2

adalisan commented 1 year ago

Yes, that is what I eventually did. If you do update the images, you should note that the git repo version for tombo has some fixes not available in pypi 1.5.1 version, so I would recommend pip installing from git .