Previous topic

bioa.Amplicons.amplicons_from_windows

Next topic

bioa.Amplicons.build_uniform_amplicons

This Page

bioa.Amplicons.random_amplicons

classmethod Amplicons.random_amplicons(reads, avg_len, std_len, align_start, align_stop)

Generate amplicons from a random overlapping scheme for reads.

Parameters :

reads : (str, int)

Tuple of the sequence and aligned starting position.

avg_len : float

Average (mean) read length.

std_len : float

Standard deviation of read length.

align_start : int

Where the aligned read set begins in the reference.

align_stop : int

Where the aligned read set ends in the reference.

Returns :

amplicons : Amplicons

The randomly generated amplicons.

Notes

This will return None if the randomly generated configuration is invalid.