diff --git a/Doc/Prepare-Ubuntu-22.04-HOWTO.md b/Doc/Prepare-Ubuntu-22.04-HOWTO.md index 26aee630..ba7a9289 100644 --- a/Doc/Prepare-Ubuntu-22.04-HOWTO.md +++ b/Doc/Prepare-Ubuntu-22.04-HOWTO.md @@ -1399,6 +1399,46 @@ From the `biocbuild` account, try to build and check the **rmspc** package: ../R/bin/R CMD check --no-vignettes rmspc_X.Y.Z.tar.gz +### 3.8 Install MEME suite + +Required by Bioconductor package **MotifPeeker**. + +Download, configure and install MEME suite. Set `MEME_VERSION` to the latest +version. + + MEME_VERSION=5.5.5 + MEME_PATH=/opt + curl -L -O https://meme-suite.org/meme/meme-software/$MEME_VERSION/meme-$MEME_VERSION.tar.gz + tar zxf meme-$MEME_VERSION.tar.gz + cd meme-$MEME_VERSION + +Install Perl dependences, which can be descovered by `perl scripts/dependencies.pl'. Install +with `cpan` or `cpanm`: + + sudo apt search libexpat-dev | grep installed # Install if needed for XML::Simple + sudo cpanm -vn HTML::Template + sudo cpanm -vn XML::Simple + sudo cpanm -vn Sys::Info + +Configure + + ./configure --prefix=$MEME_PATH/meme --with-url=http://meme-suite.org/ --enable-build-libxml2 --enable-build-libxslt + sudo make install + +Add MEME suite to the path and export `MEME_BIN` in `/etc/profile`: + + export PATH=$PATH:/opt/meme/bin + export PATH=$PATH:/opt/meme/libexec/meme-5.5.5 + export MEME_BIN=/opt/meme/bin + +#### Testing + +From the `biocbuild` account, log back in then try to build and check the +**MotifPeeker** package: + + cd ~/bbs-3.19-bioc/meat/ + ../R/bin/R CMD build MotifPeeker + ## 4. Set up other builds diff --git a/Doc/Prepare-macOS-Big-Sur-HOWTO.md b/Doc/Prepare-macOS-Big-Sur-HOWTO.md index 02f6c799..5410026a 100644 --- a/Doc/Prepare-macOS-Big-Sur-HOWTO.md +++ b/Doc/Prepare-macOS-Big-Sur-HOWTO.md @@ -1578,6 +1578,35 @@ You might need to logout and login again before trying this: R CMD check --no-vignettes rmspc_X.Y.Z.tar.gz +### 4.11 Install MEME suite + +Required by Bioconductor package **MotifPeeker**. + +Download, configure and install MEME suite. Set `MEME_VERSION` to the latest +version. + + MEME_VERSION=5.5.5 + MEME_PATH=/opt + curl -L -O https://meme-suite.org/meme/meme-software/$MEME_VERSION/meme-$MEME_VERSION.tar.gz + tar zxf meme-$MEME_VERSION.tar.gz + cd meme-$MEME_VERSION + ./configure --prefix=$MEME_PATH/meme --with-url=http://meme-suite.org/ --enable-build-libxml2 --enable-build-libxslt + sudo make install + +Add MEME suite to the path and export `MEME_BIN` in `/etc/profile`: + + export PATH=$PATH:/opt/meme/bin + export PATH=$PATH:/opt/meme/libexec/meme-5.5.5 + export MEME_BIN=/opt/meme/bin + +#### Testing + +From the `biocbuild` account, log back in then try to build and check the +**MotifPeeker** package: + + cd ~/bbs-3.19-bioc/meat/ + ../R/bin/R CMD build MotifPeeker + ## 5. Set up other builds