Skip to content

Commit 7b30904

Browse files
Temp fixes in pre_imputation_check
1 parent 500a80f commit 7b30904

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

rules/relatives_ibis.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ rule ersa:
9696
TEMPFILE=ersa/temp_relatives.tsv
9797
rm -f $TEMPFILE
9898
rm -f {output}
99-
99+
echo "ersa --avuncular-adj -ci -a {params.a} --dmax 14 -t {params.t} -l {params.l} {params.r} -th {params.th}"
100100
for input_file in $FILES; do
101101
ersa --avuncular-adj -ci -a {params.a} --dmax 14 -t {params.t} -l {params.l} \
102102
{params.r} -th {params.th} $input_file -o $TEMPFILE |& tee {log}

scripts/client_background_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def extract_cb_matches_from_local(input150_path: str, input18_path: str, local_m
5252
if __name__ == '__main__':
5353
input150_samples_path = 'workdir/input150.samples'
5454
input18_samples_path = 'workdir/input18.samples'
55-
local_matches_path = 'workdir/relatives_ibis168.tsv'
55+
local_matches_path = 'workdir/relatives_ibis168_3.tsv'
5656
cb_matches_path = 'workdir/relatives_cb_input18_150_2.tsv'
5757

5858
local_cb_matches_path = 'workdir/relatives_18_150_2.tsv'

scripts/pre_imputation_check.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ def pre_imputation_check(params, reference):
120120
elif matching == 3:
121121
flip_file.write(id_ + "\n")
122122
flip_swap += 1
123+
else:
124+
print(id_)
123125

124126
logging.info("Exclude: {} Keep: {}".format(exclude, in_ref - exclude))
125127
logging.info("Total flip: {}.".format(strand_flip))

0 commit comments

Comments
 (0)