Sign inSign up

plachta11b/cmfinder

By plachta11b

•Updated about 6 years ago

(unofficial) CMfinder - A Covariance Model Based RNA Motif Finding Algorithm

Image
0

131

plachta11b/cmfinder repository overview

⁠CMfinder

⁠Cite source

website: http://bio.cs.washington.edu/yzizhen/CMfinder/⁠

Yao Z, Weinberg Z, Ruzzo WL. CMfinder--a covariance model based RNA motif finding algorithm. Bioinformatics. 2006;22(4):445-452. doi:10.1093/bioinformatics/btk008

⁠Info

Part of plachta11b diploma. Compatible with rootless singularity using readonly filesystem.

⁠Contact

In case of bugs or questions do not hesitate to write mail⁠ (short and simple)

⁠Dockerfile

FROM ubuntu:20.04 AS builder

RUN ldconfig -p > /lib.before.list

# can be downloaded from https://sourceforge.net/projects/weinberg-cmfinder/
ADD cmfinder-0.4.1.18.tar.gz /
RUN mv /cmfinder-0.4.1.18 /cmfinder
WORKDIR /cmfinder
RUN apt-get update && apt-get install -y \
	g++ \
	make \
	&& rm -rf /var/lib/apt/lists/*
# note from INSTALL
# use ./configure ; make
# BUT NOT make install
RUN ./configure --enable-threads
RUN make

RUN ldconfig -p > /lib.after.list
RUN sort /lib.before.list > /lib.before.list.sorted
RUN sort /lib.after.list > /lib.after.list.sorted
RUN comm -23 /lib.after.list.sorted /lib.before.list.sorted

RUN find . -type f -executable -exec ldd {} \; 2>/dev/null | grep "=>" | sed 's/(.*)//g' | sort | uniq

# Class::Struct
FROM perl:5.32-slim

COPY --from=builder /cmfinder /cmfinder

COPY --from=builder /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6
COPY --from=builder /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/x86_64-linux-gnu/libgcc_s.so.1
COPY --from=builder /lib/x86_64-linux-gnu/libm.so.6 /lib/x86_64-linux-gnu/libm.so.6
COPY --from=builder /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu/libpthread.so.0
COPY --from=builder /lib/x86_64-linux-gnu/libstdc++.so.6 /lib/x86_64-linux-gnu/libstdc++.so.6

ENV PATH $PATH:/cmfinder/bin
# this path is tested and working
ENV CMfinder /cmfinder

Tag summary

Content type

Image

Digest

Size

88.3 MB

Last updated

about 6 years ago

docker pull plachta11b/cmfinder:0.1