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

Vcf preprocessor script #160

Closed
diegomd90 opened this issue Oct 21, 2023 · 3 comments
Closed

Vcf preprocessor script #160

diegomd90 opened this issue Oct 21, 2023 · 3 comments
Assignees

Comments

@diegomd90
Copy link

I am a novice when it comes to bioinformatics and coding. I am trying to run the preprocessor.py script but I always get the error

ModuleNotFoundError: No module named 'allel'.

I am aware that there is a problem with the sickit allele library. I have tried to install a working version using the commit as you suggest in requirements.txt but I have no success.

However you mention that "the permanent fix is to transition to sgkit, the successor library of scikit-allel".

How exactly do I do that? Do I have to modify the preprocessor.py script to import sgkit?

@markwoon
Copy link
Contributor

Could you please try updating requirements.txt to use

colorama >= 0.4.6
pandas >= 1.5.1
scikit-allel >= 1.3.7
packaging~=21.3

It looks like scikit-allel has fixed the problem.

Then run pip3 install -r requirements.txt again.

@BinglanLi
Copy link
Contributor

BinglanLi commented Oct 21, 2023 via email

@BinglanLi BinglanLi self-assigned this Oct 24, 2023
@BinglanLi
Copy link
Contributor

Closing due to a lack of response. Please feel free to re-open it if you have any further questions.

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

3 participants