How cbg-innov/bip works
BIP is a containerized DNA-barcoding pipeline: a user supplies raw FASTQ data, a parameter spreadsheet, and a reference library; the run processes reads through clustering, correction and classification to produce per-well barcode tables and reports. The README documents the ordered stages and COI-5P and Illumina-specific options. Only the homopolymer-correction script was sampled, so unsampled subsystem paths and relationships below rely on the README and file tree rather than inspected implementation.
Main entry points: BIP.sh FASTQ merging · bip1_otu-consensus.R Consensus building · bip3_barcode_inference.R Barcode inference · bip4_reporting.R Run reporting
Components 17
Run orchestration
- Pipeline runner
Docker/BIP.sh - Input validation
Docker/BIP.sh
Read processing
- FASTQ merging
Docker/BIP.sh - Primer orientation
Docker/BIP.sh - Size filtering
Docker/BIP.sh - Well demultiplexing
Docker/BIP.sh
Sequence analysis
- OTU clustering
Docker/bip1_otu-consensus.R - Consensus building
Docker/bip1_otu-consensus.R - Indel correction
Docker/bip2_homopolymer_error_fix.py - Chimera removal
Docker/BIP.sh - Reference library
Classification and reports
- Tax assignment
Docker/BIP.sh - Barcode inference
Docker/bip3_barcode_inference.R - BIN matching
Docker/BIP.sh - Run reporting
Docker/bip4_reporting.R - Result files
Other components
- Data provider
Connections 19
- Data provider → Pipeline runner: starts run
README.md - Pipeline runner → Input validation: validates inputs
README.md - Input validation → FASTQ merging: passes reads
README.md - FASTQ merging → Primer orientation: passes reads
README.md - Primer orientation → Size filtering: passes reads
README.md - Size filtering → Well demultiplexing: passes reads
README.md - Well demultiplexing → OTU clustering: passes reads
README.md - OTU clustering → Consensus building: builds consensus
README.md - Consensus building → Indel correction: passes sequences
README.md - Indel correction → Chimera removal: passes sequences
README.md - Chimera removal → Tax assignment: passes sequences
README.md - Reference library → Tax assignment: classifies against
README.md - Tax assignment → Barcode inference: informs inference
README.md - Barcode inference → BIN matching: passes OTUs
- Barcode inference → Run reporting: reports results
README.md - BIN matching → Run reporting: reports matches
- Run reporting → Result files: writes results
README.md - FASTQ merging → Primer orientation: skips merge
- Consensus building → Chimera removal: skips correction