Previous topic


Next topic


This Page


are_consistent(read_one, read_two, overlap, error_tolerance=0)[source]

Checks if the two reads are consistent within the threshold.

Parameters :

read_one : str

First read whose tail must match.

read_two : str

The other read whose head must much.

overlap : int

The amount the reads overlap by.

error_tolerance : int (optional, default=0)

The number of allowable errors.

Returns :

are_consitent : bool

True if consistent, False otherwise.