Skip to content

Commit 4828265

Browse files
committed
add support for absolute paths and fix typo in default config
1 parent 37c51c1 commit 4828265

File tree

11 files changed

+5
-393717
lines changed

11 files changed

+5
-393717
lines changed

conf/minimal-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
"imputation_out_miss_filename": "don.miss",
5353
"imputation_out_problem_filename": "don.problem",
5454
"max_haplotypes_number_in_phase": 100,
55-
"imuptation_out_path": "output"
55+
"imputation_out_path": "output"
5656
}

graph_generation/generate_hpf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pathlib
55
import argparse
66

7-
project_dir = "./"
7+
project_dir = ""
88

99
parser = argparse.ArgumentParser()
1010
parser.add_argument(
@@ -32,7 +32,7 @@
3232

3333

3434
# Create output directory if it doesn't exist
35-
pathlib.Path(output_dir).mkdir(parents=False, exist_ok=True)
35+
pathlib.Path(output_dir).mkdir(parents=True, exist_ok=True)
3636

3737
# Display the configurations we are using
3838
print(

graph_generation/generate_neo4j_multi_hpf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def make_allele_list(haplotype, full_name_index_dict, num_of_alleles):
6262
sorted_h1 = ["0"] * num_of_alleles
6363
for allele in hl:
6464
locus = allele.split("*")[0]
65+
# print(allele, hl)
6566
sorted_h1[full_name_index_dict[locus] - 1] = allele
6667
return sorted_h1
6768

0 commit comments

Comments
 (0)