Expand description
Automatic library-type detection.
Port of salmon’s LibraryTypeDetector
(include/.../model/LibraryTypeDetector.hpp). During the first reads of a
run, the observed LibraryFormat of each confidently mapped fragment is
tallied; once enough samples are seen, the most likely orientation and
strandedness are inferred from the count ratios using salmon’s 30%/70%
thresholds.
Structs§
- Library
Type Detector - Accumulates observed library formats and infers the most likely type.
Constants§
- DEFAULT_
SAMPLES_ NEEDED - Default number of samples to collect before guessing (matches salmon).