PyPore icon indicating copy to clipboard operation
PyPore copied to clipboard

How do bases and segments correspond one to one?

Open N-damo opened this issue 4 years ago • 4 comments

N-damo avatar Jan 11 '21 02:01 N-damo

I'm not sure what you mean. A segment, which I think is now commonly referred to as an "event" in the literature, is a slice of signal that exhibits steady statistical parameters. In theory, each segment should correspond to a change of one nucleotide in the pore.

jmschrei avatar Jan 11 '21 03:01 jmschrei

A nanopore can hold k nucleotides (k-mer) simultaneously. For example, k equals 5 for the pore version R9.4. Thus, the current changes indicate the k-mers that pass through the nanopores. I'm not sure whether each segment correspond to one nucleotide here.

N-damo avatar Jan 11 '21 03:01 N-damo

Yes, in theory a segment should correspond to one nucleotide change in the pore. In this library, it's just a way to store a chunk of signal with stationary statistical properties. Whether the segments actually correspond to changes in the pore depends on the quality of the segmentation algorithm.

jmschrei avatar Jan 11 '21 03:01 jmschrei

everything is amazing. In the supervised machine learning, back to the very beginning, people how to know raw signal correspond to a real sequence.

N-damo avatar Jan 11 '21 03:01 N-damo