Skip to content

Commit 9fef258

Browse files
authored
Fixed header of nuclear_contamination.txt
"Num_SNPs" was missing form the header.
1 parent 47c016b commit 9fef258

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/print_x_contamination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def make_float(x):
2525
Input_files=sys.argv[1:]
2626

2727
output = open("nuclear_contamination.txt", 'w')
28-
print ("Individual", "Method1_MOM_estimate", "Method1_MOM_SE", "Method1_ML_estimate", "Method1_ML_SE", "Method2_MOM_estimate", "Method2_MOM_SE", "Method2_ML_estimate", "Method2_ML_SE", sep="\t", file=output)
28+
print ("Individual", "Num_SNPs", "Method1_MOM_estimate", "Method1_MOM_SE", "Method1_ML_estimate", "Method1_ML_SE", "Method2_MOM_estimate", "Method2_MOM_SE", "Method2_ML_estimate", "Method2_ML_SE", sep="\t", file=output)
2929
for fn in Input_files:
3030
## For each file, reset the values to "N/A" so they don't carry over from last file.
3131
mom1, err_mom1= "N/A","N/A"

0 commit comments

Comments
 (0)