Skip to content

Commit

Permalink
Make example build a starting point for new users
Browse files Browse the repository at this point in the history
Converts the "example" build configuration from one that depends on
access to our internal database (fauna) to one that depends only on the
example data provided by this repository. New users can run this
workflow as a quickstart before moving on to the GISAID-based
quickstart, since this workflow doesn't require users to curate any
data.

The CI workflow is not a good quickstart for users, since it analyzes
titer data that most people will not have at the start of their
analysis.
  • Loading branch information
huddlej committed Mar 27, 2024
1 parent 202263a commit ff0ea25
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions profiles/example/builds.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
# Define inputs.
data_source: fauna
fauna_fasta_fields:
- strain
- virus
- locus
- accession
- collection_date
- virus_inclusion_date
- region
- country
- division
- location
- passage_category
- originating_lab
- submitting_lab
- age
- gender
custom_rules:
- profiles/ci/prepare_data.smk

fasta_fields:
- strain
- virus
- segment
- accession
- date
- date_submitted
Expand Down Expand Up @@ -62,8 +46,7 @@ builds:
tree_exclude_sites: "config/h3n2/{segment}/exclude-sites.txt"
clades: "config/h3n2/ha/clades.tsv"
lineage: "h3n2"
min_date: "2019-01-01"
auspice_config: "config/h3n2/auspice_config.json"
subsamples:
global:
filters: "--group-by region year month --subsample-max-sequences 200 --min-date 2019-01-01 --exclude-where 'ha!=True' 'na!=True'"
filters: "--exclude-where 'ha!=True' 'na!=True'"

0 comments on commit ff0ea25

Please sign in to comment.