Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraFuhrmann authored and DrYak committed Jun 7, 2024
1 parent 1b257c0 commit 56ff76d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def convert_vcf(fname):
zero_based_pos = variant.POS - 1 # VCF is 1-based
variant_list.add(f"{zero_based_pos}{base}")
return variant_list
vim

def convert_groundtruth(fname):
df = pd.read_csv(fname, index_col=0)
Expand All @@ -49,7 +48,7 @@ def mutation_calls_details(vcf_list, groundtruth_list):
for iter_row, gt_row in pd.read_csv(fname_groundtruth, index_col=0).iterrows():
true_variant = str(gt_row["position"]) + gt_row["variant"]
mutation_type = str(gt_row["type"])
if method.startswith(('lofreq', 'shorah'):
if method.startswith(('lofreq', 'shorah')):
is_false_negative = True
for variant in VCF(fname_vcf):
for idx_base, base in enumerate(variant.ALT):
Expand Down

0 comments on commit 56ff76d

Please sign in to comment.