# This configuration file should contain all required configuration parameters
# for the ingest workflow to run with additional Nextstrain automation rules.

# Custom rules to run as part of the Nextstrain automated workflow
# The paths should be relative to the ingest directory.
custom_rules:
  - build-configs/nextstrain-automation/upload.smk

# Nextstrain CloudFront domain to ensure that we invalidate CloudFront after the S3 uploads
# This is required as long as we are using the AWS CLI for uploads
cloudfront_domain: "data.nextstrain.org"

# Nextstrain AWS S3 Bucket with pathogen prefix
# Replace <pathogen> with the pathogen repo name.
s3_dst: "s3://nextstrain-data/files/workflows/lassa"

# Mapping of files to upload
files_to_upload:
  ncbi.ndjson.zst: data/ncbi.ndjson
  all/metadata.tsv.zst: results/all/metadata.tsv
  all/sequences.fasta.zst: results/all/sequences.fasta
  l/metadata.tsv.zst: results/l/metadata.tsv
  l/sequences.fasta.zst: results/l/sequences.fasta
  s/metadata.tsv.zst: results/s/metadata.tsv
  s/sequences.fasta.zst: results/s/sequences.fasta
  gpc/metadata.tsv.zst: results/gpc/metadata.tsv
  gpc/sequences.fasta.zst: results/gpc/sequences.fasta
