Relatedness inference using KING
0
0
Entering edit mode
2.3 years ago

Hi everyone! I need some help on KING. I have a multivcf, containing informations about a certain number of trios and I want to confirm the relationship of the trios: so parent-proband = 1st degree, parent-parent = unrelated/2nd degree (if they're consanguineous) etc...

I have the pedigree file which I created from scratch and looks like this: https://drive.google.com/open?id=1-oJFXZH7jCN1VBz1dKHyND3KhBmuHmhf

I tried to run king without calling the pedigree file and this is what I get using this command:

king -b multisample.bed --related --degree 2


I would like to use the new pedigree file using king, but I don't know how to do this, but on KING's manual there's nothing about it.

Thank you very much in advance.

genome SNP next-gen sequencing Tool • 901 views
0
Entering edit mode

Ok I understand that from the ped and the map file I have to create the binary ped (bed, bim, fam). I tried to do this but I get this error:

Error: Line 1 of .ped file has fewer tokens than expected.


But the ped file has exactly the 6 mandatory columns that should have. How can I solve this problem?

0
Entering edit mode

Unfortunately, there are two different types of .ped files; .ped + .map pairs require the .ped file to contain pedigree and genotype information.

Instead, try plink2 --vcf <VCF filename> --fam <pedigree-only .ped filename> --make-bed. (This requires plink 2.0.)