Skip to content

Commit

Permalink
merge change to extract_haplotype_read_counts.py from development branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gmcvicker committed Apr 21, 2016
1 parent 0ce63eb commit b0bd0ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHT/extract_haplotype_read_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@ def set_snp_counts(data_files, region_list, snps, test_snp, options):
snp.ref_hap_count = alt_count
snp.alt_hap_count = ref_count
else:
raise ValueError("expected haplotype to be defined")
# haplotypes are undefined at this position
snp.ref_hap_count = 0
snp.alt_hap_count = 0



Expand Down

0 comments on commit b0bd0ba

Please sign in to comment.