BootStrap: docker From: centos:8 %environment # PATHS export PATH=/opt/miniconda3/bin:$PATH source activate py37 %files #add node2vec pre-compiled binaries container/singularity/binaries/node2vec /opt %post # bind paths mkdir -p /aloy mkdir -p /aloy/home mkdir -p /aloy/data mkdir -p /aloy/scratch mkdir -p /aloy/web_checker mkdir -p /slgpfs # update yum yum update -y # basic packages (~2 min) yum install -y gcc \ gcc-c++ \ gcc-gfortran \ cmake \ make \ git \ wget \ curl \ which \ vim \ bzip2 \ bzip2-devel \ file \ libXrender \ libXext \ postgresql-server \ postgresql-contrib \ epel-release # MS compatible font for plotting (~3 min.) yum install -y xorg-x11-font-utils fontconfig libmspack rpm -i http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/c/cabextract-1.5-1.el7.x86_64.rpm rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm # conda mkdir -p /opt/miniconda3 cd /opt/miniconda3 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh -p /opt/miniconda3 -b -f rm Miniconda3-latest-Linux-x86_64.sh export PATH=/opt/miniconda3/bin:$PATH # create and activate conda enviroment conda update conda -y conda create --name=py37 python=3.7 -y source activate py37 # conda-specific packages (~1 min) conda install -y -c rdkit rdkit # Open-Source Cheminformatics Software conda install -y -c openbabel openbabel # chemical toolbox conda install -y mkl-service # change the number of CPU’s MKL is using conda install -y anaconda-client # client that provides an interface to Anaconda Cloud conda install -y -c conda-forge hdbscan # clustering conda install -y -c efelix fpsim2 # fast compound similarity searches (used in TargetMate) conda install -c anaconda ipython # interactive python conda install -c conda-forge jupyterlab # Jupyter notebooks # utility packages (~2 min) pip install six # py2/py3 compatibility pip install pytest # unit-testing pip install mock # mocking for unit-testing pip install autologging # logging handler pip install paramiko # ssh client pip install psycopg2-binary # Postgesql driver pip install sqlalchemy # ORM SQL pip install sphinx # to generate docs pip install sphinx_rtd_theme # docs theme. pip install patool # unzipping pip install wget # download library pip install tqdm # handy progress-bar pip install munch # dictionary that supports attribute-style access # raw data packages pip install lxml # xml parser pip install xlrd # Extract data from Excel spreadsheets pip install cmapPy # interacting with .gctx and .gct files, and other Connectivity Map resources pip install csvsort # Sort csv # chemistry packages pip install e3fp # 3D molecular fingreprints pip install pubchempy # Pubchem rest api pip install standardiser # standardising molecules pip install chembl_webresource_client # Chembl API # ML packages pip install scikit-learn # entry level ML in python pip install gensim # topic modelling word2vec pip install tensorflow==2.3.1 # neural network library pip install adanet # automl for NN pip install keras # NN API pip install faiss-cpu # efficient similarity search and clustering # numerical packages pip install cython # C extensions pip install numpy # best numerical library ever pip install pandas # handles table-like datastracture pip install scipy # scientific python pip install theano # Optimize evaluate math expressions pip install h5py # HDF5 via python pip install fancyimpute # matrix completion and imputation algorithms pip install protobuf # Google serialization library # graph packages pip install networkx # graph data stracture and algos pip install snap-stanford # Python interface for SNAP # visualization packages pip install matplotlib # chart library :) pip install seaborn # prettier graph built on top of matplotlib pip install datashader # plot huge 2D datasets (projetions) # Dimensionality reduction pip install MulticoreTSNE # tSNE algo pip install umap-learn # UMAP algo # Clone the chemical checker package (used as fallback) cd /opt git clone http://gitlabsbnb.irbbarcelona.org/packages/chemical_checker.git # FIXES # fix numpy version issue conda install -y -c pytorch faiss-cpu