Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for empty lines in HPF #31

Merged
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This will produce the following files:
#### Produce Imputation Results for Subjects

```
>>> from grim.grim import graph_freqs, impute
>>> from grim.grim import impute
>>> impute(conf_file='conf/minimal-configuration.json')
****************************************************************************************************
Performing imputation based on:
Expand Down
55 changes: 0 additions & 55 deletions conf/minimal-configuration-script.json

This file was deleted.

2 changes: 2 additions & 0 deletions graph_generation/generate_neo4j_multi_hpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ def generate_graph(
num_of_alleles = len(FULL_LOCI)
with open(freq_file) as f:
for hap_line in f:
if not hap_line:
continue
haplotype, pop, freq = hap_line.split(",")
if haplotype == "hap":
continue
Expand Down
Loading