Skip to content

Commit

Permalink
fix: Update workflow/scripts/sample_mixup_check.py
Browse files Browse the repository at this point in the history
  • Loading branch information
monikaBrandt authored Oct 1, 2024
1 parent 9527682 commit 3ab78f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/scripts/sample_mixup_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def read_vcf(vcf_filename, vcf_dict, samples):
if rna_samples[rna_sample][dna_sample] > best_gt_match:
best_dna_sample = dna_sample
best_gt_match = rna_samples[rna_sample][dna_sample]
p_match = round(best_gt_match * 100 / 42.0, 1)
p_match = round(best_gt_match / 42.0, 1)
report.write(f"{rna_sample}\t{best_dna_sample}\t{best_gt_match}\t{p_match}%\t")
if p_match > match_cutoff:
report.write(f"yes\n")
Expand Down

0 comments on commit 3ab78f3

Please sign in to comment.