How lucvzon/virubench works
ViruBench is a Snakemake pipeline for comparing long-read viral metagenome assemblers. Its documented workflow takes sample FASTQs through cleanup, viral-read enrichment and chimeric-read filtering, then creates primary, reassembled and hybrid assemblies for evaluation. The graph preserves annotation, quality/accuracy assessment and reporting as product capabilities, while distinguishing Inspector’s read-mapping and assembly-error analysis. The README documents the main pipeline stages; sampled Inspector source confirms its internal analysis calls. Some workflow rules and later README details were not provided, so their implementation-level links are omitted.
Main entry points: assemblers.smk Primary assemblies · inspector.py Assembly inspection · snakefile.smk Snakemake workflow · overview_tables.smk CheckV evaluation
Components 28
Read workflow
- Run configuration
config/virubench.yaml - Snakemake workflow
workflow/snakefile.smk - Read preparation
workflow/rules - Target read filtering
workflow/rules - Chimera filtering
workflow/rules
Assembly tiers
- Primary assemblies
workflow/rules/assemblers.smk - Reassembly
workflow/rules/reassembly.smk - Hybrid assembly
workflow/rules/reassembly.smk
Annotation and analysis
- Contig annotation
workflow/rules - DIAMOND post-processing
scripts/post_process_diamond_v1.0.py - Taxonomy dictionary
scripts/build_taxon_dict.py - Best-hit aggregation
scripts/aggregate_best_hits.py - Assembly inspection
scripts/inspector.py - Contig statistics
scripts/denovo_static.py - Structural variant detection
scripts/debreak_detect.py - Structural variant merging
scripts/debreak_merge.py - Error clustering
scripts/debreak_merge_clustering.py - Base-error analysis
scripts/denovo_baseerror.py
Evaluation and reporting
- CheckV evaluation
workflow/rules/overview_tables.smk - QUAST evaluation
workflow/rules/overview_tables.smk - Benchmark summaries
scripts/summarize_benchmarks.py - CheckV summaries
scripts/summarize_checkv.py - Benchmark report
workflow/rules/generate_report.smk
Other components
- Researcher
- Sample FASTQs
- Protein database
- CheckV database
- NCBI taxonomy
Connections 37
- Researcher → Run configuration: configures
README.md - Researcher → Snakemake workflow: runs
README.md - Sample FASTQs → Read preparation: provides reads
README.md - Run configuration → Snakemake workflow: configures
README.md - Snakemake workflow → Read preparation: runs
README.md - Read preparation → Target read filtering: clean reads
README.md - Target read filtering → Protein database: classifies against
README.md - Target read filtering → Chimera filtering: target reads
README.md - Chimera filtering → Primary assemblies: filtered reads
README.md - Snakemake workflow → Primary assemblies: runs
README.md - Primary assemblies → Reassembly: primary contigs
README.md - Primary assemblies → Hybrid assembly: unique contigs
README.md - Reassembly → Hybrid assembly: reassembled contigs
README.md - Primary assemblies → Contig annotation: contigs
README.md - Contig annotation → Protein database: searches
README.md - Contig annotation → DIAMOND post-processing: DIAMOND results
README.md - DIAMOND post-processing → Taxonomy dictionary: uses taxonomy
- NCBI taxonomy → Taxonomy dictionary: taxonomy data
scripts/build_taxon_dict.py - DIAMOND post-processing → Best-hit aggregation: annotated hits
- Primary assemblies → Assembly inspection: assemblies
- Assembly inspection → Contig statistics: calls statistics
scripts/inspector.py - Assembly inspection → Structural variant detection: calls detection
scripts/inspector.py - Assembly inspection → Structural variant merging: calls merging
scripts/inspector.py - Assembly inspection → Error clustering: calls clustering
scripts/inspector.py - Assembly inspection → Base-error analysis: calls analysis
scripts/inspector.py - Primary assemblies → CheckV evaluation: assembly tiers
README.md - Reassembly → CheckV evaluation: assembly tiers
README.md - Hybrid assembly → CheckV evaluation: assembly tiers
README.md - CheckV evaluation → CheckV database: evaluates with
README.md - Primary assemblies → QUAST evaluation: assembly tiers
README.md - Reassembly → QUAST evaluation: assembly tiers
README.md - Hybrid assembly → QUAST evaluation: assembly tiers
README.md - CheckV evaluation → CheckV summaries: quality results
- QUAST evaluation → Benchmark summaries: evaluation results
- Benchmark summaries → Benchmark report: summary data
- CheckV summaries → Benchmark report: quality tables
- Snakemake workflow → Benchmark report: generates
README.md