Understand miniasm core concepts and limitations
masterConcept: How miniasm works
Miniasm is a fast assembler that skips the consensus step found in mainstream assemblers. Instead, it concatenates pieces of read sequences to generate final unitig sequences.
Key characteristics:
- No Consensus Step: It does not perform base-level error correction during assembly. Consequently, the per-base error rate of the output is similar to the raw input reads.
- Input/Output: It accepts all-vs-all read self-mappings (PAF format) and outputs an assembly graph in GFA format.
- Algorithm: It performs crude and fine read selection based on coverage, generates a string graph (pruning tips, dropping weak overlaps, and collapsing bubbles), and merges unambiguous overlaps into unitigs.
Limitations
- Base Quality: Consensus base quality is similar to input reads. To improve this, you must use a separate consensus tool after miniasm.
- Repeat Handling: It is prone to collapsing repeats or segmental duplications that are longer than the input reads.
- Testing Scope: Currently optimized and tested primarily on high-coverage bacterial datasets (PacBio and ONT).