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

Add H5 GenomicFeatures support for more flexible target datatypes #200

Open
wants to merge 64 commits into
base: master
Choose a base branch
from

Conversation

kathyxchen
Copy link
Collaborator

This PR adds support for a new target type. Previously Selene only supports sampling of binary targets, but GenomicFeaturesH5 is a class supporting the querying of genomic coordinate rows in a tabix-indexed BED file and an HDF5 matrix of corresponding labels for training. Changes in other files are used to support this new functionality, for example compression/decompression of sequence one-hot encoding only as opposed to both sequences & targets which was the default implementation, support of Spearman's and Pearson's correlation computation in PerformanceMetrics, and the like.

…an be generalized from the methylation specific code
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.

1 participant