Closed bioinfo-fiend closed 1 year ago
Does this cmdline work on your side?
docker run -v /localPath/localDirectory:/VerifyBamID/localDirectory griffan/verifybamid2:v1.0.6 VerifyBamID --SVDPrefix /VerifyBamID/resource/1000g.phase3.10k.b37.vcf.gz.dat --BamFile /VerifyBamID/localDirectory/targetSample.bam --Reference /VerifyBamID/localDirectory/hs37d5.fa
I get the following error with singularity:
Digest: sha256:c208ca10a0351ea0c694b43d877fb8098b28c75482374cdd22172d524f48eecc
Status: Downloaded newer image for griffan/verifybamid2:v1.0.6
docker: Error response from daemon: Mounts denied:
The path /localPath/localDirectory is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/desktop/mac for more info.
ERRO[0009] error waiting for container: context canceled
Latest error with Singularity/Docker
Open file:/hpc/algorithms/VerifyBamID/resource/exome/1000g.phase3.10k.b38.exome.vcf.gz.dat.bed failed, exit
Command line:
singularity exec verifybamid2_latest.sif VerifyBamID \
--BamFile /hpc/resources/testWXS.bam \
--Reference /hpc/Homo_sapiens_assembly38.fasta \
--SVDPrefix /hpc/algorithms/VerifyBamID/resource/exome/1000g.phase3.10k.b38.exome.vcf.gz.dat
there was an issue with the mount where I was running on the hpc, will close this issue then.
After downloading verifybamid2 both ways either via docker or singularity, I continue getting an error. I tried initially via source code but this does not work either as I come across htslibrary issue when trying to run the make command, as described in previous issue as seen here https://github.com/Griffan/VerifyBamID/issues/18
Download via singularity:
singularity pull docker://griffan/verifybamid2
Command to run image