Err Version 1 (before build 20090729)

Error model (ERR) files are proprietary to the Flux Simulator and optionally used during the sequencing process. Data is organized in blocks and presented in tokens separated by whitespaces. There are 4 different block types:

Probability distributions over a discrete value space (e.g., quality values, substitution symbols, etc.) are coherently described by their cumulative distribution functions (CDFs). As by their nature, the number series in a CDF have to be monotonously increasing with (at least) the last value of a series being 1.0.

Model Pool Summary

#MODEL minQual maxQual tholdQual nrInstances
p(minQual) p(minQual+1) ... p(maxQual-1) p(maxQual)
expression (example) verbose explanation
#MODEL tag introducing the model description block
minQual (-40) minimum quality: the minimum value for qualities in the described error models. Currently exclusively integer quality models (as Illumina and phred qualities) are addressed. Therefore, subsequent CDFs over quality spectra have all the length (maxQual - minQual + 1).
maxQual (40) maximum quality: highest value of the quality spectrum, an integer - see above.
tholdQual (.) the threshold quality: level below which below which all base-calls have been considered "problematic" or "accident", regardless whether the corresponding base had been called correctly or not. If none such threshold has been applied, tholdQual should be set to "."
nrInstances (916311) number of instances: on how many observations (i.e., reads) the error model has been estimated on
p(minQual), $\ldots$, p(maxQual) CDF over qualities of "unproblematic" base calls. A base call is considered as unproblematic iff it is (i) correct and (ii) equal or above the level specified by tholdQual.

Crosstalk Table

#CROSSTALK letter                                                          
minQual p(A) p(C) p(G) p(N) p(T)                                            
(minQual+1) p(A) p(C) p(G) p(N) p(T)                                      
(maxQual-1) p(A) p(C) p(G) p(N) p(T)                                        
maxQual p(A) p(C) p(G) p(N) p(T)
expression (example) verbose explanation
#CROSSTALK tag that introduces a crosstalk description block
letter (A) Symbol, for which the crosstalk is specified as the observed substitution rates broken down by quality levels.
minQual $\ldots$ maxQual (-40,…,40) quality level for the following observed substitution rates p(X) apply.
p(A),p(C),p(G),p(N),p(T) CDF of the symbol specified by letter to be substituted by A, C, G, N, or T as observed for the quality level in this line.

Position-based error models

# PositionErrorProfile start length baseProb
start p(minQual) p(minQual+1) ... p(maxQual-1) p(maxQual)
(start+1) p(minQual) p(minQual+1) ... p(maxQual-1) p(maxQual)
(start+length-1) p(minQual) p(minQual+1) ... p(maxQual-1) p(maxQual)
expression (example) verbose explanation
#PositionErrorProfile tag that introduces position error profile block
start (26) first position in the read affected by this error model (1-based)
length (11) extension of the "problem" captured in this error profile. Consequently, the last position affected is (start+length-1).
baseProb (6.875394925958544E-5) probability as fraction of reads that shared this problem in the observed dataset. Multiplying this probability with the value nrInstances in the #MODEL block recasts the number of instances in which this error has been observed.

Sequence-based error models


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License