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

enable np.array input #7

Closed

Conversation

sanjaynagi
Copy link

Will resolve #6.

This PR describes a minor modification to phasedIDBs HaplotypeAlignment class which allows it to take a numpy array as input through a haplotype_array argument. If no haplotype_array is supplied, it defaults back to using the test haplotypes.

@sanjaynagi
Copy link
Author

I just edited the github actions to get it running in this PR, but it doesn't seem to be yet...

@sanjaynagi
Copy link
Author

Here is a colab notebook demonstrating this PR feature on some data from the major malaria mosquito, Anopheles gambiae, from Burkina Faso :)

@sanjaynagi
Copy link
Author

cc @wf8 (in case you dont get notifications through the 23AndMe github!) :)

@sanjaynagi
Copy link
Author

sanjaynagi commented May 23, 2024

Closing this cos we couldnt get anything sensible out of phasedIBD either way

@sanjaynagi sanjaynagi closed this May 23, 2024
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

Successfully merging this pull request may close these issues.

Dask or Numpy array as input
1 participant