File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ custom_rules :
2+ - profiles/example-open/overwrite_auspice_config.smk
3+
14strain_id_field : accession
25
36inputs :
@@ -32,7 +35,9 @@ builds:
3235 clades : " config/h3n2/ha/clades.tsv"
3336 subclades : " config/h3n2/{segment}/subclades.tsv"
3437 lineage : " h3n2"
35- auspice_config : " config/h3n2/{segment}/auspice_config.json"
38+ # Created in the workflow with custom rule `overwrite_auspice_config`
39+ auspice_config : " data/h3n2/{segment}/auspice_config.json"
40+ description : " profiles/example-open/description.md"
3641 subsamples :
3742 global :
3843 filters : " --exclude-where 'ha!=True' 'na!=True' --exclude-ambiguous-dates-by any --subsample-max-sequences 300 --group-by region month --min-date 3Y"
Original file line number Diff line number Diff line change 1+ We gratefully acknowledge the authors, originating and submitting laboratories
2+ of the genetic sequences and metadata for sharing their work. This work is made
3+ possible by the open sharing of genetic data by research groups from all over
4+ the world. We gratefully acknowledge their contributions.
5+
6+ Special thanks to [ GenSpectrum] ( https://loculus.genspectrum.org ) for the
7+ curation work to link multiple INSDC segment sequences to a single sample and
8+ for making the data accessible via an open API.
Original file line number Diff line number Diff line change 1+ rule overwrite_auspice_config :
2+ input :
3+ auspice_config = "config/{lineage}/{segment}/auspice_config.json" ,
4+ output :
5+ auspice_config = "data/{lineage}/{segment}/auspice_config.json" ,
6+ shell :
7+ """
8+ jq '.data_provenance = [{{"name": "GenSpectrum", "url": "https://loculus.genspectrum.org"}}]' \
9+ {input.auspice_config:q} \
10+ > {output.auspice_config:q}
11+ """
You can’t perform that action at this time.
0 commit comments