Skip to content

Commit 6492cd5

Browse files
committed
removed comments
1 parent be2a00c commit 6492cd5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

genotools/qc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ def run_related_prune(self, related_cutoff=0.0884, duplicated_cutoff=0.354, prun
416416
if related_cutoff < 0 or related_cutoff > 1 or duplicated_cutoff < 0 or duplicated_cutoff > 1:
417417
raise ValueError("related_cutoff and duplicated_cutoff should be between 0 and 1.")
418418

419-
# grm1 = f"{out_path}_total_grm"
420419
king1 = f"{out_path}_related_king"
421420
king2 = f"{out_path}_duplicated_king"
422421

@@ -425,7 +424,6 @@ def run_related_prune(self, related_cutoff=0.0884, duplicated_cutoff=0.354, prun
425424
related_pruned_out = f"{out_path}.pruned"
426425

427426
# create pfiles
428-
# king_cmd1 = f'{plink2_exec} --pfile {geno_path} --hwe 0.0001 --mac 2 --make-pgen psam-cols=fid,parents,sex,pheno1,phenos --out {grm1}'
429427
# create table of related pairs
430428
king_cmd1 = f'{plink2_exec} --pfile {geno_path} --make-king-table --make-king triangle bin --king-table-filter {related_cutoff} --out {related_pairs}'
431429
# see if any samples are related (includes duplicates)

0 commit comments

Comments
 (0)