File tree 1 file changed +6
-1
lines changed
neat/read_simulator/utils
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ def parse_input_vcf(input_dict: dict[str: ContigVariants],
73
73
74
74
n_skipped = 0
75
75
mismatched = 0
76
+ records_found = 0
76
77
# maximum number of columns we are interested in. Used for trimming unwanted samples.
77
78
max_col = 7
78
79
with open_input (vcf_path ) as f :
@@ -276,14 +277,18 @@ def parse_input_vcf(input_dict: dict[str: ContigVariants],
276
277
if rc == 1 :
277
278
_LOG .warning (f"Input variant skipped because a variant already existed at that location:"
278
279
f"{ chrom } : { location } ({ temp_variant } )" )
280
+ n_skipped += 1
281
+ else :
282
+ records_found += 1
279
283
280
284
if tumor_normal :
281
285
"""
282
286
Not yet implemented
283
287
"""
284
288
pass
285
289
286
- _LOG .info (f'Found { len ( input_dict ) } variants in input VCF.' )
290
+ _LOG .info (f'Found { records_found } variants in input VCF.' )
287
291
_LOG .info (f'Skipped { n_skipped } variants because of multiples at the same location' )
292
+ _LOG .info (f'Skipped { mismatched } variants because of a mismatch between Ref and reference.' )
288
293
289
294
return sample_columns
You can’t perform that action at this time.
0 commit comments