How nhm-sequencing-facility/map works
MAP is a containerized metabarcoding analysis pipeline. The user supplies read files and a parameter spreadsheet, then invokes MAP.sh; the documented workflow demultiplexes and trims reads, clusters OTUs, corrects and filters sequences, assigns taxonomy and BINs, and produces tables and reports. The graph preserves those documented stages and the reference-library capability. Most stage implementations are not sampled, so their paths and ordering follow the README and tree; the internal sequence-correction implementation is evidenced by its excerpt.
Main entry points: Docker Taxonomy assignment · 6-MAP_binmatch.R BOLD BIN matching · MAP.sh MAP runner · 2-MAP_runwideotuformat.R Run-wide OTUs
Components 15
Run control
- MAP runner
Docker/MAP.sh - Reads and parameters
workdir/data/parameters.xlsx
Sequence processing
- Demultiplex and trim
Docker - Per-sample OTUs
Docker - Run-wide OTUs
Docker/2-MAP_runwideotuformat.R - Sequence correction
Docker/3-MAP_sequence_correction.py
Classification and filtering
- Chimera screening
Docker - Taxonomy assignment
Docker - Contaminant removal
Docker/4-RemoveContaminants.R - BOLD BIN matching
Docker/6-MAP_binmatch.R - Reference library
Docker
Reporting
- Final results
Docker/5-MAP_final_results.R - Interactive report
Docker/7a-MAP_reporting.qmd
Other components
- Pipeline user
- Internet access
Connections 15
- Pipeline user → MAP runner: invokes
README.md - Pipeline user → Reads and parameters: provides
README.md - MAP runner → Demultiplex and trim: runs
README.md - Demultiplex and trim → Per-sample OTUs: produces reads
README.md - Per-sample OTUs → Run-wide OTUs: clusters OTUs
README.md - Run-wide OTUs → Sequence correction: corrects sequences
README.md - Sequence correction → Chimera screening: screens
README.md - Chimera screening → Taxonomy assignment: assigns taxonomy
README.md - Taxonomy assignment → Contaminant removal: filters OTUs
README.md - Contaminant removal → BOLD BIN matching: matches BINs
README.md - Taxonomy assignment → Reference library: uses library
README.md - BOLD BIN matching → Reference library: matches against
README.md - Internet access → Reference library: downloads library
README.md - BOLD BIN matching → Final results: writes tables
README.md - Final results → Interactive report: renders report
README.md