Orochi is a Snakemake-based metagenomics pipeline designed for comprehensive analysis of metagenomic data, including preprocessing, assembly, binning, taxonomic and functional annotation, and Biosynthetic Gene Cluster (BGC) prediction.
The Orochi project is a collaboration between the Microbial Ecology group at the Netherlands Institute of Ecology (NIOO-KNAW) and the Bioinformatics Group at Wageningen University & Research (WUR).
The Orochi pipeline integrates several state-of-the-art bioinformatics tools to process raw metagenomic reads and produce high-quality insights into microbial communities. It supports both single-sample assembly and co-assembly approaches.
- Preprocessing: Quality control with
fastpand host/contaminant removal withbbmap. - Assembly: Supports
MEGAHIT(for co-assembly) andSPAdes(for single-sample assembly). - Binning: Multi-tool binning using
MetaBAT2andMaxBin2, refined withDAS Tooland dereplicated withdRep. - Annotation:
- Taxonomic profiling with
MetaPhlAn4andCAT. - Functional annotation with
eggNOG-mapper. - Eukaryotic gene prediction with
Augustus.
- Taxonomic profiling with
- BGC Prediction: Identification of secondary metabolite clusters using
antiSMASH. - MAG Linkage: Linking MAGs using
markerMAG. - Reporting: Interactive HTML reports and visualizations.
- Conda or Mamba (recommended)
- Snakemake (>= 7.0.0)
- Python (>= 3.8)
- R (for reporting)
-
Clone the repository:
git clone https://github.com/your-repo/orochi_nioo.git cd orochi_nioo -
Install Snakemake and Mamba: It is highly recommended to use Mamba for environment management.
conda install -c conda-forge mamba mamba create -c conda-forge -c bioconda -n snakemake snakemake
-
Configure Databases: The pipeline requires several external databases. Update the paths in
config/configfile.yaml:phyloflash_dbemapper_databaseantismash_dbCAT_database&CAT_taxonomycheckm_db
For antiSMASH, you can set
download_antismash_db: trueto let the pipeline handle the installation.
-
Prepare the Sample Sheet: Edit
config/samples.tsv. It should be a tab-separated file with the following columns:sample: Unique sample identifier.treatment1,treatment2: Metadata columns.fq1,fq2: Paths to raw paired-end FastQ files.sample_pool: Grouping for co-assembly.
-
Configure the Pipeline: Edit
config/configfile.yamlto set your output directory, assembly method, and tool parameters. -
Run the Pipeline: Activate your Snakemake environment and run:
snakemake --use-conda --cores <number_of_threads>
.
├── config/ # Configuration files (configfile.yaml, samples.tsv)
├── resources/ # Reference genomes, contaminant sequences, and static data
├── workflow/
│ ├── envs/ # Conda environment definitions (.yaml)
│ ├── rules/ # Snakemake rule modules (.smk)
│ ├── scripts/ # Custom Python, R, and Bash scripts
│ └── Snakefile # Main workflow entry point
├── README.md # This file
└── LICENSE.md # Project license
preprocessing.smk: QC and filtering.coassembly.smk/single_sample_assembly.smk: Assembly logic.binning.smk: Binning, refinement, and dereplication.prokaryote-gene_prediction_and_annotation.smk: Taxonomic and functional profiling.BGC_prediction.smk: antiSMASH analysis.plots.smk: Report generation and visualization.
render_report.R: Renders the final HTML report.augustify.py: Wrapper for Augustus eukaryotic gene prediction.summarize_antismash.py: Aggregates antiSMASH results.regenerate_antismash_html.py: Utility for antiSMASH report formatting.
The pipeline primarily relies on the configfile.yaml for configuration. Ensure that any system-specific paths are correctly set there.