Installation
Singularity Image Download
Installation should be pretty painless (we hope). We have provided all the softwares in a singularity image which provides continuity across different computing platforms (see HPCNG Singluarity and Sylabs io for more information on singularity images). The only thing to note before you download this image is that the image is ~7.5Gb so, depending on the internet speed, it will take ~15-30 min to download. The good news is that you should only need to do this once unless updates are made to the scripts or image.
Just download the singlularity image with:
wget -O Demuxafy.sif 'https://www.dropbox.com/scl/fi/kykwi78vk4yifbbag5ajz/Demuxafy.sif?rlkey=5hcugu6ztpy0eik3xno63xiar' wget -O Demuxafy.sif.md5 'https://www.dropbox.com/scl/fi/37oj9y1frzhqazl4h8s21/Demuxafy.sif.md5?rlkey=o2bn5wp9q68numlaav8gg95kh'
Then you should check to make sure that the image downloaded completely by comparing the image md5sum to the original md5sum. You can do that by running the following commands:
md5sum Demuxafy.sif > downloaded_Demuxafy.sif.md5 diff -s Demuxafy.sif.md5 downloaded_Demuxafy.sif.md5
If everything was downloaded correctly, that command should report:
Files Demuxafy.sif.md5 and downloaded_Demuxafy.sif.md5 are identical
Note
Please note that the singularity image and this documentation is updated with each release. This means that the most recent documentation may not be 100% compatible with the singularity image that you have. For example, additional parameters and functionality were implemented in v1.0.2 that was not available in v0.0.4. There is documentation to match each release so be sure you’re using documentation that matches your singularity image.
You can check the version of your singularity image to match with documentation with:
singularity inspect Demuxafy.sif
If you run into any issues with downloading the image or any issue with running anything from this image, you can reach out to us by submitting an issue at Github
Demuxafy software versions - for the curious
Image version: 3.0.0 Image build date: 5 June, 2024
Software Group
Software
Version
Demultiplexing
Demuxalotv0.4.0
popscle
demuxlet
freemuxletv0.1-beta
Dropulationv3.0.1-7-gf7acbbc
scSplitv1.0.9
Souporcellv2.5
Vireov0.5.8
Doublet Detecting
DoubletDeconv1.1.6
DoubletDetectionv4.2
DoubletFinderv2.0.4
scDblFinderv1.18.0
scdsv1.13.1
scrubletv0.2.3
solov1.2
Supporting Softwares
minimap22.26-r1175
bedtools2v2.30.0
vartrixv1.1.22
htslibv1.16
samtoolsv1.20
bcftoolsv1.20
freebayesv1.3.7
cellSNP-litev1.2.3
R Supporting Packages (R v4.4.0)
argparsev2.2.3
ComplexHeatmapv2.20.0
ComplexUpsetv1.3.3
vcfRv1.15.0
Seuratv5.1.0
SingleCellExperimentv1.26.0
Python Supporting Packages (Python v3.9.7)
argparsev1.1.0
numpyv1.25.2
matplotlibv3.9.0
pandasv1.5.3
PyVCFv0.6.8
scipyv1.10.1
scvi-toolsv0.14.6
umap-learnv0.5.6
Notes About Singularity Images
Singularity images effectively store an operating system with files, softwares etc. that can be easily transported across different operating systems - ensuring reproducibility. Most HPCs have singularity installed making it easy to implement. There are some tips and tricks we have identified through using singularity images that we thought might help new users.
Tips and Tricks
1. Error: File Not Found
Reason
Singularity only loads the directories directly downstream from where you execute the singularity command. If any of the files that need to be accessed by the command are not downstream of the that location, you will receive an error similar to this one:
Failed to open file "/path/to/readfile.tsv" : No such file or directoryIf you then check for that file:
ll /path/to/readfile.tsvWe can see that the file does truly exist:
-rw-rw-r-- 1 user group 70636291 Dec 21 2020 /path/to/readfile.tsvSolution
The easiest solution to this problem is to “bind” a path upstream of all the files that will need to be accessed by your command:
singularity exec --bind /path Demuxafy.sif ...
If you don’t have access to Singularity on your HPC, you can ask your HPC administrators to install it (see the Singularity page)