Skip to content

Commit

Permalink
Phylogenetic: Change genbank_accession to accession
Browse files Browse the repository at this point in the history
Use the combination of `accession` and `url` fields in the phylogenetic build.
This change follows a similar change to the ingest workflow.
  • Loading branch information
j23414 committed Dec 18, 2024
1 parent cca844c commit a56685a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion phylogenetic/defaults/config_dengue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
sequences_url: "https://data.nextstrain.org/files/workflows/dengue/sequences_{serotype}.fasta.zst"
metadata_url: "https://data.nextstrain.org/files/workflows/dengue/metadata_{serotype}.tsv.zst"

strain_id_field: "genbank_accession"
strain_id_field: "accession"
display_strain_field: "strain"

filter:
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/example_data/metadata_all.tsv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
strain virus genbank_accession date region country division city db segment authors url title journal paper_url
strain virus accession date region country division city db segment authors url title journal paper_url
DENV1/VIETNAM/BIDV1862/2008 dengue FJ410220 2008-XX-XX Southeast Asia Vietnam Vietnam Vietnam ? genome Alvarado et al. ? ? ? ?
DENV3/WALLIS_AND_FUTUNA/1404838/1989 dengue JQ920487 1989-08-14 ? Wallis And Futuna French Overseas Collectivity Wallis And Futuna ? genome Aubry et al. ? ? ? ?
DENV/BRAZIL/SJRP778/2013 dengue KT438585 2013-02-04 South America Brazil Brazil Brazil ? genome Araujo et al. ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/example_data/metadata_denv1.tsv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
strain virus genbank_accession date region country division city db segment authors url title journal paper_url
strain virus accession date region country division city db segment authors url title journal paper_url
DENV1/INDIA/237/1962 dengue JF297572 1962-XX-XX South Asia India India India ? genome Cecilia et al. ? ? ? ?
DENV1/CHINA/RL6/2013 dengue KJ470727 2013-09-XX China China China China ? genome Guo et al. ? ? ? ?
DENV1/THAILAND/AILANDKPPKDV08491NC04528V0L/2007 dengue JQ993108 2007-XX-XX Southeast Asia Thailand Thailand Thailand ? genome Aldstadt et al. ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/example_data/metadata_denv2.tsv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
strain virus genbank_accession date region country division city db segment authors url title journal paper_url
strain virus accession date region country division city db segment authors url title journal paper_url
DENV2/INDONESIA/MKS0084/2007 dengue KC762660 2007-11-21 Southeast Asia Indonesia Makassar Makassar ? genome Bifani et al. ? ? ? ?
DENV2/TAIWAN/71/2002 dengue EF016253 2002-XX-XX China Taiwan Taiwan Taiwan ? genome Ke et al. ? ? ? ?
DENV2/PAKISTAN/8D/2011 dengue JX042512 2011-XX-XX West Asia Pakistan Pakistan Pakistan ? genome Alvi et al. ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/example_data/metadata_denv3.tsv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
strain virus genbank_accession date region country division city db segment authors url title journal paper_url
strain virus accession date region country division city db segment authors url title journal paper_url
DENV3/PUERTO_RICO/BIDV1615/2004 dengue FJ373302 2004-XX-XX North America Puerto Rico Puerto Rico Puerto Rico ? genome Alvarado et al. ? ? ? ?
DENV3/THAILAND/BIDV2323/2001 dengue FJ744734 2001-XX-XX Southeast Asia Thailand Kamphaeng Phet Kamphaeng Phet ? genome Alvarado et al. ? ? ? ?
DENV3/BANGLADESH/JACOB/NA dengue AY656673 ? South Asia Bangladesh Bangladesh Bangladesh ? genome Aaskov et al. ? ? ? ?
Expand Down
2 changes: 1 addition & 1 deletion phylogenetic/example_data/metadata_denv4.tsv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
strain virus genbank_accession date region country division city db segment authors url title journal paper_url
strain virus accession date region country division city db segment authors url title journal paper_url
DENV4/ECUADOR/FSE2098/2006 dengue GQ139572 2006-XX-XX South America Ecuador Ecuador Ecuador ? genome Alava et al. ? ? ? ?
DENV4/BRAZIL/SJRP580/2012 dengue KP188562 2012-12-10 South America Brazil Brazil Brazil ? genome Araujo et al. ? ? ? ?
DENV4/BRAZIL/GUSP0670/2013 dengue KP704043 2013-03-17 South America Brazil Brazil Brazil ? genome Balarini et al. ? ? ? ?
Expand Down
3 changes: 2 additions & 1 deletion phylogenetic/rules/export.smk
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ rule prepare_auspice_config:
"author"
],
"metadata_columns": [
"genbank_accession"
"accession",
"url"
]
}

Expand Down

0 comments on commit a56685a

Please sign in to comment.