Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: more meaningful info for patient overview table #609

Merged
merged 6 commits into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions workflow/scripts/generate-overview-table.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def is_patient_report():
# add kraken estimates
species_columns = pd.DataFrame()
for sample, file in iter_with_samples(snakemake.input.kraken):

kraken_results = pd.read_csv(
file,
delimiter="\t",
Expand Down Expand Up @@ -133,7 +132,7 @@ def register_contig_lengths(assemblies, name):
elif "consensus" == used:
data.loc[sample, "Best Quality"] = "Consensus"
elif "not-accepted" == used:
data.loc[sample, "Best Quality"] = "-"
data.loc[sample, "Best Quality"] = "not accepted by QA"

# add pangolin results
for sample, file in iter_with_samples(snakemake.input.pangolin):
Expand Down
Loading