Skip to content

Home

effectorVAR is a Nextflow pipeline that assembles Illumina genomes de novo (or takes existing assemblies), checks assembly quality, and searches every genome for one or more query genes. For each query it extracts the hits, aligns them and builds trees and, optionally, recovers the exact coding sequences, classifies them as intact or truncated, and groups them into isoforms. It accepts paired-end reads from local files, NCBI/ENA SRA accessions, or pre-assembled scaffolds, in any combination.

Optional modules add a BUSCO species tree, a paralog check of the hits, read coverage at the query locus of a reference genome, and the transposable elements next to each hit. Please report any issues or share feature requests on the GitHub Issues page.

The pipeline is designed to run both on HPC clusters via SLURM or on single machines, and uses Singularity containers so all software dependencies are reproducible and portable. Every sample is assembled and searched independently, so large panels of genomes are processed in parallel.

Get started View on GitHub bioRxiv preprint DOI


Pipeline Summary

effectorVAR pipeline overview. Genome assembly: Illumina paired-end reads or SRA accessions (optional SRA retrieval with entrez-direct and sratools) are trimmed with fastp and assembled with SPAdes, with QUAST for assembly QC. Effector search: BLAST+ searches each genome with the effector query (CDS or protein), and hits are aligned with MAFFT, with an optional BLAST+ paralog check. Effector variation (exonerate mode): exonerate extracts the CDS, IQ-TREE builds a per-effector isoform tree, and unique CDS and protein sequences are reported as isoforms. Optional modules: read mapping with bwa-mem2 and query locus coverage; genome completeness with BUSCO and a species tree with RAxML-NG or IQ-TREE; TE annotation around hits with RepeatMasker.

The pipeline accepts three input modes, which can be combined in one run and converge at the assembly QC step:

  1. Local FASTQ files (--reads): paired-end Illumina reads are trimmed with fastp and assembled per sample with SPAdes.
  2. SRA/ENA accessions (--SRA_index): accessions are resolved to runs and downloaded from ENA, with NCBI sra-tools as fallback; paired-end and single-end runs are handled automatically before joining the same trimming and assembly path.
  3. Existing assemblies (--scaffolds): FASTA assemblies skip trimming and assembly.

Every assembly is checked with QUAST and, with --busco_lineage, BUSCO, whose single-copy genes can be turned into a species tree (--phylo_tree). Each query gene (--blast_query) is searched with BLAST in every assembly; the best hit locus per sample is extracted with flanking sequence, aligned with MAFFT, and placed in an IQ-TREE tree. With --search_tool exonerate, Exonerate recovers the exact CDS and protein of each hit, which are checked codon by codon for truncations and grouped into numbered isoforms with their own trees. --query_paralog keeps hits on known paralogs out of all of these, --reference_genome with --locus_coverage checks the read depth at the query locus of a reference genome, and --repeat_library reports the transposable elements next to each hit.


Key features

  • Flexible input


    Local FASTQ, SRA/ENA accessions, or existing assemblies — all in the same run.

  • Query gene search


    BLAST hits, exact Exonerate CDS and protein, intact/truncated calls and frequency-numbered isoforms for every query.

  • Trees and paralogs


    Per-query and isoform trees, a BUSCO species tree, and a paralog check that keeps paralog hits out of all outputs.

  • HPC-ready


    SLURM profile with resources matched to each tool, capped by --max_cpus, --max_memory and --max_time.

  • Fully containerised


    All tools run inside Singularity images pulled automatically from BioContainers (quay.io) and Docker Hub.

  • Summary tables


    One table per query and topic: hits, CDS integrity, mutations, isoforms, paralogs, TEs near hits and locus coverage.


Software used by effectorVAR

Please cite the underlying tools if you use them through this pipeline.

Tool Version Role Reference
entrez-direct 26.0 NCBI SRA accession resolution NCBI
sra-tools 3.2.1 NCBI SRA data download (fallback to ENA) NCBI
fastp 1.4.0 Adapter trimming, read QC Chen et al. 2018, Bioinformatics doi:10.1093/bioinformatics/bty560
SPAdes 4.3.0 De novo assembly Prjibelski et al. 2020, Curr. Protoc. Bioinformatics doi:10.1002/cpbi.102
QUAST 5.3.0 Assembly QC Gurevich et al. 2013, Bioinformatics doi:10.1093/bioinformatics/btt086
BUSCO 6.1.0 Genome completeness, single-copy genes for the species tree Manni et al. 2021, Mol. Biol. Evol. doi:10.1093/molbev/msab199
BLAST+ 2.17.0 Query, paralog and reference locus search Camacho et al. 2009, BMC Bioinformatics doi:10.1186/1471-2105-10-421
Exonerate 2.4.0 Spliced alignment, CDS and protein Slater & Birney 2005, BMC Bioinformatics doi:10.1186/1471-2105-6-31
MAFFT 7.525 Multiple sequence alignment Katoh & Standley 2013, Mol. Biol. Evol. doi:10.1093/molbev/mst010
IQ-TREE 3.1.4 Per-query, isoform and (optionally) BUSCO trees Minh et al. 2020, Mol. Biol. Evol. doi:10.1093/molbev/msaa015
RAxML-NG 2.0.4 BUSCO species tree Kozlov et al. 2019, Bioinformatics doi:10.1093/bioinformatics/btz305
ape (R) ggtree 4.0.4 image Isoform tree plots Paradis & Schliep 2019, Bioinformatics doi:10.1093/bioinformatics/bty633
RepeatMasker 4.2.3 TE annotation Smit, Hubley & Green, RepeatMasker Open-4.0
bwa-mem2 2.3 Reference read mapping Vasimuddin et al. 2019, IPDPS doi:10.1109/IPDPS.2019.00041
SAMtools 1.25 BAM sorting, depth, sequence extraction Danecek et al. 2021, GigaScience doi:10.1093/gigascience/giab008
R / tidyverse 4.6.2 fastp and mapping summary tables R Core Team; Wickham et al. 2019, JOSS doi:10.21105/joss.01686

Release notes

v1.0.4 (November 2026)

  • BUSCO uses the MetaEuk gene predictor by default for eukaryote lineages (new option --busco_predictor); it needs far less memory than miniprot on large assemblies. Prokaryote lineages keep prodigal.
  • Updated containers (SPAdes 4.3.0, SAMtools 1.25, BUSCO 6.1.0, IQ-TREE 3.1.4, RAxML-NG 2.0.4, fastp 1.4.0 and others); results on the example data are unchanged.
  • Fixes: RAxML-NG no longer aborts with "CPU core oversubscription", the RAxML-NG BUSCO tree with 3 samples is skipped cleanly, the BUSCO summary fills the Lineage column, and NCBI downloads delivered as SRA Lite are converted.

v1.0.3 (November 2026)

  • SPAdes retries: memory doubles on every attempt (up to --max_memory, now 256 GB by default), and SPAdes no longer stops at half its memory.
  • Locus coverage (--locus_coverage) no longer fails with exit status 141.
  • --exonerate_refine is checked at startup, and --reference_genome without read input warns that the mapping is skipped.

v1.0.2 (November 2026)

  • New name, effectorVAR, with the repository and this site at new addresses; parameters and outputs are unchanged.

v1.0.1 (November 2026)

  • Locus coverage (--locus_coverage) filtered on base quality instead of mapping quality; depths now use every alignment in the BAM, filtered once at MAPQ ≥ 10.
  • Absence call (--locus_coverage): samples without the query in their assembly are absent when the read depth over the reference hit is below 0.1× their genome depth (--locus_absent_max_depth_ratio), otherwise unresolved.

v1.0.0 (October 2026)

  • First stable release, archived on Zenodo; documentation moved to this site.
  • Coverage conflict flag (--locus_coverage): samples whose assembly lacks the query but whose reads cover its reference locus are flagged.
  • Paralog hits are kept out of all downstream outputs (--query_paralog), including neighbouring paralog copies in the hit flanks and paralog loci on the reference.
  • Proteins are translated in the correct frame when Exonerate starts mid-codon; a lone non-canonical splice site no longer makes a model truncated.
  • Task resources matched to what each tool uses, capped by --max_cpus, --max_memory and --max_time; runs under Nextflow 26.

v0.9.1 (October 2026)

  • Paralog check (--query_paralog), alignment filter for the per-query trees (--min_align_prop) and --exonerate_refine.
  • CDS integrity classification (full-length, truncated, stop-lost, partial at contig edges) with per-mutation tables, isoform sequences and isoform trees; isoforms numbered by frequency.
  • TEs near each hit (--repeat_library with --blast_query), sample_names.tsv and a sample name collision check before assembly.
  • Fixes to Exonerate CDS recovery (nucleotide queries, divergent alleles, antisense models), blastn sensitivity, sample names with special characters and --NCBI_API_key.

v0.9.0 (September 2026)

  • First tagged pre-release: local FASTQ, SRA or scaffold input; fastp, SPAdes, QUAST and BUSCO; BLAST and Exonerate query search with MAFFT alignments and isoform IDs.

Questions and feature requests

Questions, bug reports and feature requests are welcome on the GitHub Issues page.

Questions? Found a bug? Feature requests?

Go to the GitHub Issues page


How to cite

If you use effectorVAR in your research, please cite the preprint:

Sampaio, A. M., Adjei, B., & Croll, D. (2026). effectorVAR: a pipeline for tracking effector diversity and evolution across fungal genomes. bioRxiv. https://doi.org/10.64898/2026.11.30.770197

bioRxiv preprint

To refer to the exact version of the software you ran, you can also cite its Zenodo archive (the DOI below always resolves to the latest release; each release has its own version DOI on Zenodo):

Croll, D. (2026). effectorVAR - a Nextflow pipeline to track effector gene variation across genome panels (v1.0.4). Zenodo. https://doi.org/10.5281/zenodo.23764357

DOI

Please also cite the underlying tools listed in the Software table above.