mirror of
https://github.com/MillironX/singularity-builds.git
synced 2024-12-21 20:38:18 +00:00
Add Velvet
This commit is contained in:
parent
f05c179091
commit
15c82130d9
1 changed files with 49 additions and 0 deletions
49
velvet/velvet.def
Normal file
49
velvet/velvet.def
Normal file
|
@ -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…
Reference in a new issue