You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
singularity-builds/velvet/velvet.def

50 lines
1.0 KiB
Modula-2

Bootstrap: library
From: default/centos:latest
%post
# Quiet perl down
export LC_ALL=C
# Install package files
dnf install dnf-plugins-core -y
dnf copr enable millironx/velvet -y
dnf install velvet-1.2.10 procps -y
# Clean up
dnf remove dnf-plugins-core -y
dnf autoremove -y
dnf clean all
%environment
export LC_ALL=C
%test
# We can use bash notation here, since /bin/sh is symlinked to bash in CentOS
CMDS=('bash' 'ps' 'velvetg' 'velveth')
for CMD in "${CMDS[@]}"; do
if ! command -v "$CMD"; then
echo "command $CMD not found!"
FAILED_TESTS=1
fi
done
# Abort if a test failed
if [ -n "$FAILED_TESTS" ]; then
exit 1
fi
%labels
Author 25492070+MillironX@users.noreply.github.com
SoftwareVersion 1.2.10
SingularityDefinitionVersion 1
%help
Velvet
======
Sequence assembler for very short reads
For more help, see
- <https://www.ebi.ac.uk/~zerbino/velvet/>
- <https://github.com/MillironX/velvet-copr>
- <https://github.com/MillironX/singularity-builds>