-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathahrd.def
More file actions
48 lines (39 loc) · 1.77 KB
/
ahrd.def
File metadata and controls
48 lines (39 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Bootstrap: docker
From: python:3.11-slim-bullseye
%labels
Author Evan
Version 5.72-103.0
%files
/home/elavelle/tmp_interproscan_build/nf_sandbox/bin /bin
/home/elavelle/tmp_interproscan_build/nf_sandbox/bin/scripts /bin/scripts
/home/elavelle/tmp_interproscan_build/nf_sandbox/opt /opt
/home/elavelle/tmp_interproscan_build/nf_sandbox/opt/interproscan-5.72-103.0 /opt/interproscan-5.72-103.0
/home/elavelle/software/diamond /usr/local/bin/diamond
/home/elavelle/tmp_interproscan_build/nf_sandbox/resources /resources
/data/elavelle/databases/interpro.dtd /interpro.dtd
#/home/elavelle/tmp_interproscan_build/nf_sandbox/usr/local/lib64/python3.9/site-packages /usr/local/lib64/python3.9/site-packages
#/home/elavelle/tmp_interproscan_build/nf_sandbox/usr/local/lib64/python3.9/site-packages/yaml /usr/local/lib64/python3.9/site-packages/yaml
%post
apt-get update && \
apt-get install -y openjdk-17-jre-headless curl libgomp1 libc6-dev build-essential unzip perl zlib1g procps python3-yaml python3-pip && \
apt-get clean
pip3 install PyYAML
echo "/opt/interproscan-*/lib" >> /etc/ld.so.conf
ldconfig
#export PYTHONPATH=/usr/local/lib64/python3.9/site-packages:$PYTHONPATH
mkdir -p /opt/scripts
# Nextflow
cd /opt
curl -s https://get.nextflow.io | bash
chmod +x nextflow
pip install biopython
#IPS
#curl -O https://ftp.ebi.ac.uk/pub/software/unix/iprscan/5/5.72-103.0/interproscan-5.72-103.0-64-bit.tar.gz
#tar -xzf interproscan-5.72-103.0-64-bit.tar.gz
#rm interproscan-5.72-103.0-64-bit.tar.gz
%environment
#export PATH=/opt:$PATH
#echo 'PATH="/opt/interproscan-5.72-103.0:$PATH"' >> /etc/environment
#export PATH=/opt/interproscan-5.72-103.0:/opt:$PATH
%runscript
exec bash