Add Velvet

julia_bam-readcounts
MillironX 3 years ago
parent f05c179091
commit 15c82130d9
Signed by: millironx
GPG Key ID: 139C07724802BC5D

@ -0,0 +1,49 @@
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>
Loading…
Cancel
Save