Given a read, computes the value of this covariate for each residue in the read.
Given a read, computes the value of this covariate for each residue in the read.
The returned values must be in the same order as the residues. A value of None means this covariate does not apply to the corresponding residue.
Example: The DinucCovariate returns a pair of bases for each residue, except for bases at the start of a read, for which it returns None.
A Covariate represents a predictor, also known as a "feature" or "independent variable".
Concrete implementations of Covariate should inherit from AbstractCovariate, not Covariate.