How cbg-innov/map works
MAP is a containerized metabarcoding pipeline that turns read files and a parameter spreadsheet into OTU, taxonomy, and BIN results plus reports. Its documented workflow covers demultiplexing and trimming, per-sample and run-wide clustering, sequence correction, chimera and contaminant screening, classification, and reporting. The README documents the stage order and major capabilities; only the sequence-correction implementation was sampled, so other component links reflect documented workflow rather than inspected calls.
Main entry points: 5-MAP_final_results.R Final result tables · MAP.sh Pipeline launcher · 2-MAP_runwideotuformat.R Taxonomy assignment · 1-MAP_heatmap.R Demultiplex and trim
Components 15
Run setup
- Pipeline launcher
Docker/MAP.sh - Reads and parameters
workdir/data
Read processing
- Demultiplex and trim
Docker/1-MAP_heatmap.R - Per-sample clustering
Docker/1-MAP_heatmap.R - Run-wide clustering
Docker/2-MAP_runwideotuformat.R
Sequence quality
- Sequence correction
Docker/3-MAP_sequence_correction.py - Chimera screening
Docker/2-MAP_runwideotuformat.R - Contaminant removal
Docker/4-RemoveContaminants.R
Classification
- Taxonomy assignment
Docker/2-MAP_runwideotuformat.R - Reference sequences
Docker/reference_seqs_327K.fasta.zip - BOLD BIN matching
Docker/6-MAP_binmatch.R
Results
- Final result tables
Docker/5-MAP_final_results.R - Interactive reporting
Docker/7a-MAP_reporting.qmd - Run outputs
workdir/data/run
Other components
- Researcher
Connections 15
- Researcher → Pipeline launcher: runs pipeline
README.md - Reads and parameters → Pipeline launcher: supplies inputs
README.md - Pipeline launcher → Demultiplex and trim: starts workflow
README.md - Demultiplex and trim → Per-sample clustering: produces reads
README.md - Per-sample clustering → Run-wide clustering: clusters OTUs
README.md - Run-wide clustering → Sequence correction: sends sequences
README.md - Sequence correction → Chimera screening: passes sequences
README.md - Chimera screening → Contaminant removal: passes OTUs
README.md - Contaminant removal → Taxonomy assignment: assigns taxonomy
README.md - Reference sequences → Taxonomy assignment: provides library
README.md - Taxonomy assignment → BOLD BIN matching: provides OTUs
README.md - BOLD BIN matching → Final result tables: provides matches
README.md - Final result tables → Interactive reporting: renders results
README.md - Final result tables → Run outputs: writes tables
README.md - Interactive reporting → Run outputs: writes report
README.md