Skip to content
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

Error in line 96 #89

Open
itslittman opened this issue Dec 9, 2024 · 1 comment
Open

Error in line 96 #89

itslittman opened this issue Dec 9, 2024 · 1 comment

Comments

@itslittman
Copy link

itslittman commented Dec 9, 2024

I'm not an expert but I think Monopogen.py has an error that results in the incorrect concatenation of the --imputation_panel argument with the filename. Line 96:

imputation_vcf = args.imputation_panel + "CCDG_14151_B01_GRM_WGS_2020-08-05_"

should be:

imputation_vcf = args.imputation_panel + "/CCDG_14151_B01_GRM_WGS_2020-08-05_"

right?

Adding the / made it run without error

@ZiyiWang7
Copy link

Hi @itslittman

Thank you for your interest in our package! The code is correct when you input the directory of the imputation reference with the "/" sign, but your way would also work.

Below is the sample code provided in the README section:
python ${path}/src/Monopogen.py germline \ -a ${path}/apps -t 1 -r region.lst \ -p ../example/ \ -g ../example/chr20_2Mb.hg38.fa -s all -o out

In this code, the imputation panel is specified using the -p flag.

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

No branches or pull requests

2 participants