Skip to content

Commit

Permalink
Compute kinship using both KING and plink's implementation of KING
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Feb 15, 2025
1 parent bb1ed8f commit 3cfb627
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
plinkArgs1.add("--out");
plinkArgs1.add(plinkOut.getPath());

plink.execute(plinkArgs);
plink.execute(plinkArgs1);

File plinkOutBed = new File(plinkOut.getPath() + ".bed");
if (!plinkOutBed.exists())
Expand All @@ -154,7 +154,7 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
plinkArgs2.add("--out");
plinkArgs2.add(plinkOutKing.getPath());

plink.execute(plinkArgs1);
plink.execute(plinkArgs2);

File plinkOutKingFile = new File(plinkOut.getPath() + ".kin0");
if (!plinkOutKingFile.exists())
Expand Down

0 comments on commit 3cfb627

Please sign in to comment.