Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

multipop_selection_pipeline run error #25

Open
mujuls opened this issue Feb 21, 2018 · 3 comments
Open

multipop_selection_pipeline run error #25

mujuls opened this issue Feb 21, 2018 · 3 comments

Comments

@mujuls
Copy link

mujuls commented Feb 21, 2018

I am trying to run multipop_selection_pipeline on my data set and encountering the following error on executing the run:
--imputation
Traceback (most recent call last):
File "/usr/bin/multipop_selection_pipeline", line 9, in
load_entry_point('selectionTools==1.1.1', 'console_scripts', 'multipop_selection_pipeline')()
File "/usr/lib/python2.7/site-packages/selectionTools-1.1.1-py2.7.egg/selection_pipeline/multipipeline.py", line 369, in main
fst_vcf(options.vcf_input, config, options, populations)
File "/usr/lib/python2.7/site-packages/selectionTools-1.1.1-py2.7.egg/selection_pipeline/multipipeline.py", line 283, in fst_vcf
options.chromosome + p + s + '.weir.fst')
OSError: [Errno 2] No such file or directory

I am running it on Scientific Linux release 7.2 and the installation was successful.
Is there something I am missing?

@murraycadzow
Copy link
Collaborator

Hi,

My first point of call would be to look at the command being run and also the config file to make sure that something isn't missing

Could you post the command that was run and also the contents of your config file (most likely called defaults.cfg). The log file would also be useful

thanks
Murray

@mujuls
Copy link
Author

mujuls commented Feb 22, 2018 via email

@murraycadzow
Copy link
Collaborator

murraycadzow commented Feb 22, 2018

Hi Julius,

I think github has stripped the attachment.
But I'll have a guess at a few of the options that might be cause this failing

first of all go to /scratch/julius/selection/selectionTools/bin (I'm assuming that's where you installed selection tools) and run shapeit (./shapeit --help) and impute2 (./impute2) and see if you get the help dialogue for shapeit, and a copyright notice for impute2.
If you don't get that output then you might need to download and install those programs - I haven't updated the install script in a while so the links it points to might no longer exist. To install I think you download and extract and then copy the shapeit/impute2 binary into the directory mentioned above.

  • while you're in that directory also see if qctool (./qctool) runs

secondly, I see that you are trying to do imputation, if you imputing in humans, I would recommend using https://imputation.sanger.ac.uk or https://imputationserver.sph.umich.edu/index.html which are both free and are setup better than selection_tools is for imputation. If you use these services then I think using the phasing option of eagle will give you back a phased imputed vcf, otherwise if you use shapeit2 on these services you will need to phase the imputed vcf you get back. Or do the imputation first before using selection tools as there is no qc step implemented post imputation within the pipeline.

thirdly, you only need to specify either -i or --haps/--sample. if you use -i and the vcf is phased then you can add on --phased-vcf to skip the phasing step

hopefully that starts to solve the issue you're having

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants