-
Notifications
You must be signed in to change notification settings - Fork 19
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
COMBINE_SCOREFILE erroring out on custom scorefiles that do not provide other_allele #337
Comments
Thanks for the bug report and your investigation 😄 I've prepared a patch to fix the problem. Modifying python code in a docker container is a little tricky. If you want to edit the python code you could try using the conda profile and changing the local conda environments. The dockerfiles are in the linked repository if you're happy to try building the image. Otherwise once the PR is merged I'll integrate the fix into the dev branch of |
Brilliant, thanks! I ended up adding the second line in
to I copied the code in the patch (only lines in
Digging into this more and will report back with results. Happy holidays! 🌴 |
Great 🥳 The polars problem should be fixed in the latest release, so if you update, clear the cache ( |
Pipeline completed on |
Description of the bug
I generated multiple custom scorefiles, without specifying the other_allele column. This produced the following error:
Line 160 in
pgscatalog/core/lib/_normalise.py
belong to theassign_other_allele
function and refer to:After erroring out, I changed the
_normalise.py
Line 160 to:and the work directory completed successfully and a
scorefiles.txt.gz
was successfully created.I wanted to check that this error is legitimate and the
fix
is valid. (I was unable to figure out how to access the/app/pgscatalog.core/.../_normalise.py
to see if the pipeline proceeds to completion. If you could let me know how to manipulate the Dockerfile (presumably?), I can try to implement changes and report back)Command used and terminal output
$ nextflow run pgscatalog/pgsc_calc -profile docker -r v2.0.0-beta --input ... --target_build GRCh38 --scorefile ".../*.txt"
Relevant files
No response
System information
No response
The text was updated successfully, but these errors were encountered: