Skip to content

[Bioc-devel] Should GenomicFeatures really depend pn RMySQL ? Is it time to migrate to RMariaDB ?

8 messages · Martin Morgan, Vincent Carey, Tim Triche, Jr. +3 more

#
GenomicFeatures_1.31.3 imports RMySQL.

I'm having great trouble installing RMySQL from source on a recent MacOS 
(10.13.3) with homebrew.

The package's homepage says "The 'RMySQL' package contains an old 
implementation based on legacy code from S-PLUS which being phased out. 
A modern 'MySQL' client based on 'Rcpp' is available from the 'RMariaDB' 
package" https://cran.r-project.org/web/packages/RMySQL/index.html

So is it time to heed that advice and migrate GenomicFeatures to RMariaDB ?

With thanks in advance-
Wolfgang

-------
Wolfgang Huber
Principal Investigator, EMBL Senior Scientist
European Molecular Biology Laboratory (EMBL)
Heidelberg, Germany

wolfgang.huber at embl.de
http://www.huber.embl.de
1 day later
#
On 01/24/2018 03:38 PM, Wolfgang Huber wrote:
Out of curiosity, is MariaDB easier to install on your system? Its 
system dependencies are described at 
https://CRAN.R-project.org/package=RMariaDB

FWIW MySQL is a relatively recent addition as a dependency to 
GenomicFeatures; it enables `makeTxDbFromEnsembl()`, which is probably a 
much more stable solution than `makeTxDbFromBiomart()`. On the other had 
Johannes does an excellent job on the ensembldb packages, so perhaps 
this code could really be conditional with the RMySQL dependency moved 
to Suggests:

Martin
This email message may contain legally privileged and/or...{{dropped:2}}
#
On Fri, Jan 26, 2018 at 8:59 AM, Martin Morgan <
martin.morgan at roswellpark.org> wrote:

            
I would vote for moving the relationship to Suggests.

  
  
#
Moving it to Suggests: would certainly ease installation on clusters and
such.

--t

On Fri, Jan 26, 2018 at 8:59 AM, Martin Morgan <
martin.morgan at roswellpark.org> wrote:

            

  
  
#
Yep, moving RMySQL to Suggests makes sense. Will do. Also migrating to
RMariaDB is on the TODO list.

Note that the current problem of RMySQL being hard to install on Mac is
only because CRAN doesn't provide an RMySQL binary for R 3.5 yet:

   https://cran.r-project.org/web/packages/RMySQL/index.html

For the record, we had a similar situation one year ago when R 3.4 was
in development: CRAN started to build package binaries for Mac a few
weeks only before the release of R 3.4.0. Not ideal :-/

H.
On 01/26/2018 07:35 AM, Tim Triche, Jr. wrote:

  
    
#
26.1.18 14:59, Martin Morgan scripsit:
I have no problems installing RMariaDB on MacOS (10.13.3) on an R-devel 
from source, after installing mariadb-connector-c with homebrew.

OTOH, I have not figured out a way to install RMySQL neither on my 
R-devel from source (various complaints about missing .h files) nor on a 
binary R 3.4.2 with the binary package download (complaints about 
missing system libraries / wrong versions).

Thanks and kind regards
		Wolfgang

  
    
#
As an alternative to Suggests, perhaps make a GenomicFeaturesBuildTools.
 Not sure if it is better or worse, just different

On Fri, Jan 26, 2018 at 2:39 PM, Wolfgang Huber <wolfgang.huber at embl.de>
wrote:

  
  
3 days later
#
This is done in GenomicFeatures 1.31.6.

Note that I also made a few changes to makeTxDbFromUCSC() to make it
a little bit faster (about 2x).

@Kasper: moving the makeTxDb* functions to a GenomicFeaturesBuildTools
or GenomicFeaturesForge package is maybe an idea to explore...

H.
On 01/26/2018 06:09 PM, Kasper Daniel Hansen wrote: