A mixin to kipoi.data.*Dataset classes, which defines a function that returns model input for both alleles (and reverse-complementation).
The difference for the MutationDatasetMixin-methods is that the key inputs will be replaced with the keys: inputs_ref, inputs_alt (optionally also: inputs_ref_rc, inputs_alt_rc). Which all contain the identical structure and their data corresponds to the reference and alterenative (optionally also in reverse-complement) of the model input data.
So additionally the current Dataloader output schema:
A mixin to kipoi.data.*Dataset classes, which defines a function that returns model input for both alleles (and reverse-complementation).
The difference for the MutationDatasetMixin-methods is that the key
inputs
will be replaced with the keys:inputs_ref
,inputs_alt
(optionally also:inputs_ref_rc
,inputs_alt_rc
). Which all contain the identical structure and their data corresponds to the reference and alterenative (optionally also in reverse-complement) of the model input data.So additionally the current Dataloader output schema:
there will be a method returning dictionaries of:
All relationships between
inputs
andmetadata
etc. have to hold identically for the newly definedinputs_*
keys.