How bioinformatics-centre/kaiju works
Main Components Identification
The system should be divided into these primary components:
a) Input Processing Layer
• Supports FASTQ/FASTA formats (including gzip-compressed)
• Handles both single-end and paired-end reads
• Input validation and preprocessing
b) Core Processing Engine
• BWT/FM-Index Search Component
• Translation Engine (6 reading frames)
• Classification Engine (Greedy and MEM modes)
• Multi-threading Component
c) Database Management
• Index Creation System
• Reference Database Handler
• NCBI Taxonomy Integration
d) Output Processing Layer
• Results Formatter
• Summary Generation
• Integration with External Tools (like Krona)
Component Relationships
[Input Files] → [Input Processing Layer]
• ↓
[Reference DB] → [Database Management] → [BWT/FM-Index]
• ↓ ↓
• [Core Processing Engine] ← [Taxonomy Data]
• ↓
• [Output Processing Layer]
• ↓
[Output Files] ← [Results & Visualization]
Detailed Component Breakdown
[Read Translation] → [Sequence Matching]
• ↓ ↓
[SEG Filtering] ← [Score Calculation] → [Taxonomic Assignment]
Database Management (right side):
[NCBI Taxonomy] → [nodes.dmp/names.dmp]
• ↓
[Reference DB] → [BWT Creation] → [FM-Index]
Implementation Details
• Memory management for large-scale processing
• File I/O points and compression handling
• Integration points with NCBI BLAST+ components
Technical Specifications
• Memory requirements for different databases
• Threading capabilities
• File format specifications
• Version compatibility
Integration Points
Connections to:
• NCBI taxonomy database
• Krona visualization tool
• Custom database integration points
• External tool interfaces