-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ancestry Error: unhandled exception: couldn't open sketch file #59
Comments
did you download the thousand genomes files and untar them into the 1kg-somalier directory? |
Yes.
and then it cannot find files for the samples of interest: somalier version: 0.2.11 |
can you try: |
This does not help.
somalier version: 0.2.11 -if provide a single 1kg sample and samples of interest
somalier version: 0.2.11 |
maybe try putting the command in a bash script, so: e.g. in run.sh:
then for docker:
|
same results:
I also run it via bash terminal (previously in zsh):
|
I just noticed that I haven't implemented the glob handling in the ancestry code. I'll fix this for next release. Meanwhile, you'll have to let your shell expand the glob (don't use quotes around it). If that makes the command-line too long, then wait for next release, I should have it out next week. |
Hi !
I am using Somalier via docker for the relatedness by using:
docker run -v /Users/Somalier:/Somalier brentp/somalier somalier extract -d Somalier/extracted --sites /Somalier/sites.hg38.vcf.gz -f /Somalier/GRCh38.no_alt_analysis_set.fa /Somalier/GLnexus.vcf.gz
and afterwards
docker run -v /Users/Somalier:/Somalier brentp/somalier somalier relate -i -o /Somalier/output_100_samples /Somalier/extracted/'*.somalier'
However, I cannot get to work the ancestry estimation. When running:
docker run -v /Users/Somalier:/Somalier brentp/somalier somalier ancestry --labels /Somalier/ancestry-labels-1kg.tsv /Somalier/1kg-somalier/'*.somalier' ++ /Somalier/extracted/'*.somalier'
I get :
somalier version: 0.2.11
depthview.nim(145) read_extracted
Error: unhandled exception: couldn't open sketch file:/Somalier/1kg-somalier/*.somalier [IOError]
I though there is a problem with recognition of the wild card, but it works in the Somalier relate function...
Thank you !
The text was updated successfully, but these errors were encountered: