This repository provides a comprehensive Nextstrain analysis of Coxsackievirus A10 (CVA10), suitable for both VP1 run (≥600 bp) and whole genome run (≥6400 bp) analyses.
For those unfamiliar with Nextstrain or needing installation guidance, see the Nextstrain documentation.
- ingest/: Python scripts and Snakefile for automatic downloading of CVA10 sequences and metadata (GenBank), formatting, and preparation.
- scripts/: Custom Python scripts called by the main Snakefile.
- snakefile: The main computational pipeline, managed using Snakemake. Snakemake docs
- vp1/: Sequences and configuration files for the VP1 run.
- whole_genome/: Sequences and configuration files for the whole genome run.
- data/: Static data files used by the workflow.
The following files may be found under config/, vp1/config/, or whole_genome/config/:
colors.tsv: Color schemegeo_regions.tsv: Geographical regionslat_longs.tsv: Latitude/longitude locationsdropped_strains.txt: List of excluded strainsclades_genome.tsv: Virus clade definitions/assignmentsreference_sequence.gb: Reference sequence (GenBank format)auspice_config.json: Auspice display config
⚠️ Note: The reference sequence used is Kowalik, accession number AY421767, sampled in 1950.
Follow instructions in the Nextstrain installation guide.
CVA10 sequence and metadata ingestion is automated via the ingest/ workflow.
Prepare reference files:
-
Check
config/config.yamland confirm taxid (NCBI) is correct. -
Run the reference extraction script:
python3 ingest/bin/generate_from_genbank.py --reference "AY421767.1" --output-dir whole_genome/config/- The script may prompt for reference protein/CDS selection. Typical codes:
[0][product][2].
- The script may prompt for reference protein/CDS selection. Typical codes:
-
Ensure attributes in
data/references/pathogen.jsonare up-to-date.- Reference: Nextclade pathogen config docs
Run the ingest workflow:
cd ingest
chmod +x ./vendored/*; chmod +x ./bin/*
snakemake --cores 4 allThis gathers/fetches and processes the latest public (and optionally, private) CVA10 sequence and metadata for downstream analysis.
In the project root:
snakemake --cores 9 allOr, for a specific result:
- VP1:
snakemake auspice/coxsackievirus_A10_vp1.json --cores 9
- Whole genome:
snakemake auspice/coxsackievirus_A10_genome.json --cores 9
To view build results in Auspice:
auspice view --datasetDir auspice- Automatic: The
ingest/pipeline fetches up-to-date public data. Private sequences or metadata (e.g. new submissions) can be incorporated by adding todata/meta_manually_added.tsv. - Manual: Download from NCBI Virus, searching for “CVA10” or Taxid.
This repository uses git subrepo to manage ingest scripts in ingest/vendored. To update:
git subrepo pull ingest/vendoredSee details in ingest/vendored/README.md.
- Reference collection date/inclusion: Make sure the true collection date for the reference sequence is in your metadata to avoid downstream tree artifacts.
- Colors: If not found in Auspice, make sure your
auspice_config.jsondoes include them.
For questions or comments, please contact us per e-mail (eve-group[at]swisstph.ch) or open an issue.
For advanced users and further workflow options, see the documentation in each subdirectory (especially ingest/README.md).