Skip to content

Commit

Permalink
Edited clade-count-comparison.py. Adapted comp-fig-1 script to use hu…
Browse files Browse the repository at this point in the history
…man_clade_counts_new.tsv (will have to fix that in future.)#FIXME.
  • Loading branch information
simonleandergrimm committed Jul 10, 2024
1 parent 3e49417 commit 733367d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions figures/clade-count-comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@


TARGET_STUDY_METADATA = {
"Bengtsson-Palme 2016": ["PRJEB14051"],
"Munk 2022": [
"PRJEB13831",
"PRJEB27054",
"PRJEB27621",
"PRJEB40798",
"PRJEB40815",
"PRJEB40816",
"PRJEB51229",
],
"Brinch 2020": ["PRJEB13832", "PRJEB34633"],
"Ng 2019": ["PRJNA438174"],
"Maritz 2019": ["PRJEB28033"],
"Brumfield 2022": ["PRJNA812772"],
"Yang 2020": ["PRJNA645711"],
"Spurbeck 2023": ["PRJNA924011"],
"CC 2021": ["PRJNA661613"],
# "Bengtsson-Palme 2016": ["PRJEB14051"],
# "Munk 2022": [
# "PRJEB13831",
# "PRJEB27054",
# "PRJEB27621",
# "PRJEB40798",
# "PRJEB40815",
# "PRJEB40816",
# "PRJEB51229",
# ],
# "Brinch 2020": ["PRJEB13832", "PRJEB34633"],
# "Ng 2019": ["PRJNA438174"],
# "Maritz 2019": ["PRJEB28033"],
# "Brumfield 2022": ["PRJNA812772"],
# "Yang 2020": ["PRJNA645711"],
# "Spurbeck 2023": ["PRJNA924011"],
# "CC 2021": ["PRJNA661613"],
"Rothman 2021": ["PRJNA729801"],
}

Expand Down
4 changes: 2 additions & 2 deletions figures/composite_fig_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

sample_files = [
"taxonomic_composition",
"hv_clade_counts",
"hv_clade_counts_new", # FIXME
"kraken_reports",
"qc_basic_stats",
"sample-metadata",
Expand Down Expand Up @@ -146,7 +146,7 @@ def assemble_plotting_dfs() -> tuple[pd.DataFrame, pd.DataFrame]:
}

hv_clade_counts = pd.read_csv(
f"../{BIOPROJECT_DIR}/{study_bioproject}/hv_clade_counts.tsv",
f"../{BIOPROJECT_DIR}/{study_bioproject}/hv_clade_counts_new.tsv",
sep="\t",
)

Expand Down

0 comments on commit 733367d

Please sign in to comment.