Skip to content
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
5 changes: 5 additions & 0 deletions neat/read_simulator/utils/vcf_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ def parse_input_vcf(input_dict: dict[str: ContigVariants],
f'{reference_string}')
continue

# Quality score could be missing, in this case, we treat it as ground truth and assign a default score
default_qual = "42"
if record[5] == ".":
record[5] = default_qual

# We'll need the genotype when we generate reads, and output the records, if applicable
genotype = None
normal_sample_field = None
Expand Down
Loading