Skip to content

Commit

Permalink
fix calculation (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
alethomas authored Apr 16, 2024
1 parent 07d6fe2 commit 186926b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/scripts/generate-overview-table.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def is_patient_report():
number_reads = json.load(infile)["summary"]["before_filtering"][
"total_reads"
]
data.loc[sample, "Raw Reads (#)"] = int(int(number_reads) / 2)
data.loc[sample, "Raw Reads (#)"] = int(number_reads)

# add numbers of trimmed reads
for sample, file in iter_with_samples(snakemake.input.reads_trimmed):
Expand All @@ -90,7 +90,7 @@ def is_patient_report():
number_reads = json.load(infile)["summary"]["after_filtering"][
"total_reads"
]
data.loc[sample, "Trimmed Reads (#)"] = int(int(number_reads) / 2)
data.loc[sample, "Trimmed Reads (#)"] = int(number_reads)

# add numbers of reads used for assembly
for sample, file in iter_with_samples(snakemake.input.reads_used_for_assembly):
Expand Down

0 comments on commit 186926b

Please sign in to comment.