Terrible. Swapping the paternal and sample ids.

This commit is contained in:
Christopher Hartl 2012-02-02 11:41:16 -05:00
parent 0c562756eb
commit 0111505ea9
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ public class VariantsToPed extends RodWalker<Integer,Integer> {
String mid = mVals.containsKey("mom") ? mVals.get("mom") : String.format("dummy_%d",++dummyID);
String sex = mVals.containsKey("sex") ? mVals.get("sex") : "3";
String pheno = mVals.get("phenotype");
outFam.printf("%s\t%s\t%s\t%s\t%s\t%s%n",fid,pid,sample,mid,sex,pheno);
outFam.printf("%s\t%s\t%s\t%s\t%s\t%s%n",fid,sample,pid,mid,sex,pheno);
}
}
}