diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2020-01-05 03:54:05 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:48:00 +0700 |
commit | 263e731a204237e45d7fd8acc849c3329e97b70c (patch) | |
tree | 793a1b423cdeb4ca71436727b6e750cb2e2abb09 | |
parent | 3e67292656c9c8244936597589a841f22d2ac84f (diff) | |
download | slackbuilds-263e731a204237e45d7fd8acc849c3329e97b70c.tar.gz |
academic/meme-db-motif: Added (MEME Suite motif databases)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | academic/meme-db-motif/README | 28 | ||||
-rw-r--r-- | academic/meme-db-motif/meme-db-motif.SlackBuild | 65 | ||||
-rw-r--r-- | academic/meme-db-motif/meme-db-motif.info | 10 | ||||
-rw-r--r-- | academic/meme-db-motif/slack-desc | 19 |
4 files changed, 122 insertions, 0 deletions
diff --git a/academic/meme-db-motif/README b/academic/meme-db-motif/README new file mode 100644 index 0000000000..8eb4772731 --- /dev/null +++ b/academic/meme-db-motif/README @@ -0,0 +1,28 @@ +Motif Databases (updated 28 Oct 2019) to be used with MEME Suite: + +Eukaryote DNA (13 Databases) +Prokaryote DNA (4 Databases) +Methylcytosine DNA (1 Databases) +JASPAR (NON-REDUNDANT) DNA (21 Databases) +JASPAR (REDUNDANT) DNA (21 Databases) +JASPAR COLLECTIONS DNA (5 Databases) +TFBSshape DNA (3 Databases) +CIS-BP Single Species DNA (321 Databases) +ARABIDOPSIS (Arabidopsis thaliana) DNA (2 Databases) +ECOLI (Escherichia coli) DNA (2 Databases) +FLY (Drosophila melanogaster) DNA (6 Databases) +HUMAN (Homo sapiens) DNA (4 Databases) +MALARIA (Plasmodia falciparum) DNA (1 Databases) +MOUSE (Mus musculus) DNA (5 Databases) +WORM (Caenorhabditis elegans) DNA (1 Databases) +YEAST (Saccharomyces_cerevisiae) DNA (6 Databases) +CISBP-RNA Single Species RNA (268 Databases) +CISBP-RNA Single Species RNA (DNA-encoded) (268 Databases) +RNA (25 Databases) +RNA (DNA-encoded) (25 Databases) +miRBase Single Species microRNA (223 Databases) +miRBase Single Species microRNA (DNA-encoded) (223 Databases) +Protein Motifs (2 Databases) + +Note! +The unarchived size of this is ~140 MB diff --git a/academic/meme-db-motif/meme-db-motif.SlackBuild b/academic/meme-db-motif/meme-db-motif.SlackBuild new file mode 100644 index 0000000000..f0e266d8c8 --- /dev/null +++ b/academic/meme-db-motif/meme-db-motif.SlackBuild @@ -0,0 +1,65 @@ +#!/bin/sh + +# Slackware build script for meme-db-motif + +# Copyright 2020 Petar Petrov slackalaxy@gmail.com +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=meme-db-motif +VERSION=${VERSION:-12.19} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=motif_databases + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $PKG + +# Extract directly in the $PKG folder +mkdir -p var/lib/meme-suite +cd var/lib/meme-suite +tar xvf $CWD/${SRCNAM}.${VERSION}.tgz +cd $SRCNAM + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/meme-db-motif/meme-db-motif.info b/academic/meme-db-motif/meme-db-motif.info new file mode 100644 index 0000000000..549263ca24 --- /dev/null +++ b/academic/meme-db-motif/meme-db-motif.info @@ -0,0 +1,10 @@ +PRGNAM="meme-db-motif" +VERSION="12.19" +HOMEPAGE="http://meme-suite.org/db/motifs" +DOWNLOAD="http://meme-suite.org/meme-software/Databases/motifs/motif_databases.12.19.tgz" +MD5SUM="f5ffcaecc07570ee19dba20b82d7bd73" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Petar Petrov" +EMAIL="slackalaxy@gmail.com" diff --git a/academic/meme-db-motif/slack-desc b/academic/meme-db-motif/slack-desc new file mode 100644 index 0000000000..351fbd8db9 --- /dev/null +++ b/academic/meme-db-motif/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +meme-db-motif: meme-db-motif (MEME Suite motif databases) +meme-db-motif: +meme-db-motif: Motif Databases to be used with MEME Suite. +meme-db-motif: +meme-db-motif: +meme-db-motif: +meme-db-motif: +meme-db-motif: +meme-db-motif: +meme-db-motif: +meme-db-motif: |