powerPlant/plncpro-srf:1.1

$ singularity pull shub://powerPlant/plncpro-srf:1.1

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

%labels
Maintainer eric.burgueno@plantandfood.co.nz
Version 

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install blast2 make python-biopython python-numpy python-regex python-scikits-learn python-scipy wget

  ## Setup (according to http://ccbb.jnu.ac.in/plncpro/docs/manual.pdf)
  cd /opt
  wget http://ccbb.jnu.ac.in/plncpro/downloads/plncpro_1.1.tar.gz
  tar -xzf plncpro_1.1.tar.gz 
  cd plncpro_1.1/lib/estate
  make
  ln -f bin/framefinder ../framefinder/
  cd ..
  mkdir -p blast/bin
  for i in bl2seq blastall blastpgp fastacmd formatdb megablast rpsblast seedtop; do ln -s /usr/bin/$i blast/bin/; done

  ## Cleanup
  apt-get -y autoremove make wget
  apt-get -y clean all
  rm -rf /opt/plncpro_1.1.tar.gz

%runscript
if [ $# -eq 0 ]; then
  /bin/echo -e "This Singularity image cannot provide a single entrypoint. Please use \"$SINGULARITY_NAME <cmd>\" or \"singularity exec $SINGULARITY_NAME <cmd>\", where <cmd> is one of the following:\n"
  cd /opt/plncpro_1.1
  exec ls *.py
else
  cd /opt/plncpro_1.1
  exec python "$@"
fi

Collection


View on Datalad

Metrics

key value
id /containers/powerPlant-plncpro-srf-1.1
collection name powerPlant/plncpro-srf
branch master
tag 1.1
commit dec410d282d15458368a9acc940fcdab585e6f53
version (container hash) 290696d290c76a271d0bccd124b77deb
build date 2019-02-12T21:37:58.938Z
size (MB) 1221
size (bytes) 275214367
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.