Relatedness inference using KING
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: ped file

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

kinship inference

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
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?

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.)


Login before adding your answer.

Traffic: 1840 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6