brentp / somalier

fast sample-swap and relatedness checks on BAMs/CRAMs/VCFs/GVCFs... "like damn that is one smart wine guy"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No output - docker

krukanna opened this issue · comments

Hi, I'm using docker image, docker command extract works fine and I got outputs in right directory, but docker relate gives such information:

somalier version: 0.2.15
[somalier] starting read of 102 samples
[somalier] time to read files and get per-sample stats for 102 samples: 0.07
[somalier] time to get expected relatedness from pedigree graph: 0.00
couldn't open output file

I cannot find any output. I need to use it in nextflow.
Thanks in advance.

this likely means you don't have write permission in the directory where you specified the --output-prefix you'll have to mount that directory, or use a different one.

I run this with command:

docker run --user $(id -u):$(id -g) -v /home/bioinf/:/data/ brentp/somalier:latest somalier relate --ped data/shared/RodzWES/fam_file.fam /data/Relatedness/docker/extract/*.somalier

Tried also with -o, but the same result.

you'll probably need to add --output-prefix /data/rodzwes

thanks a lot