Skip to content

Commit 45862e2

Browse files
committed
For KING, use --related, which is a superset of --kinship
1 parent fe025f6 commit 45862e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/variant/KingInferenceStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
6464

6565
File plinkOut = new File(outputDirectory, "plink");
6666
output.addIntermediateFile(new File(plinkOut.getPath() + ".bed"));
67-
output.addIntermediateFile(new File(plinkOut.getPath() + ".fam"));
67+
//output.addIntermediateFile(new File(plinkOut.getPath() + ".fam"));
6868
output.addIntermediateFile(new File(plinkOut.getPath() + ".bim"));
6969
output.addIntermediateFile(new File(plinkOut.getPath() + ".log"));
7070
output.addIntermediateFile(new File(plinkOut.getPath() + "-temporary.psam"));
@@ -135,7 +135,7 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
135135
kingArgs.add(threads.toString());
136136
}
137137

138-
kingArgs.add("--kinship");
138+
kingArgs.add("--related");
139139

140140
File kinshipOutput = new File(outputDirectory, SequenceAnalysisService.get().getUnzippedBaseName(inputVCF.getName()) + ".kin");
141141
wrapper.execute(kingArgs);

0 commit comments

Comments
 (0)