Previous topic

bioa.Amplicons.get_start_end_position

Next topic

bioa.Amplicons.amplicons_from_windows

This Page

bioa.Amplicons.estimate_amplicons

classmethod Amplicons.estimate_amplicons(reads, align_start, align_stop, min_amp_len, iterations, threads=1)

Estimate the amplicons given the read data via Monte-Carlo method.

Parameters :

reads : (str, int)

Tuple of the sequence and aligned starting position.

align_start : int

Where the aligned reads begin in the reference.

align_stop : int

Where the aligned reads end in the reference.

min_amp_len : int

Minimum amplicon length.

iterations : int

How many iterations to perform in the Monte-Carlo estimation.

threads : int, optional default=1

The number of threads to use.

Returns :

amplicons : bioa.Amplicons

The randomly generated amplicons.