What is the input to Plink's distance matrix function?
0
0
Entering edit mode
3.3 years ago

I want to calculate a pairwise distance matrix (DM) on several samples (~100). When I look at Plink's documentation for calculating a DM, at no point does it seem to give a clue as to what the input file has to be. https://www.cog-genomics.org/plink/1.9/distance.

Am I missing something really obvious here?

I have a concatenated vcf for these samples. Will this suffice?

Thanks

plink dist distance matrix • 1.6k views
ADD COMMENT
0
Entering edit mode

What do you mean by concatenated VCF? If you've called the variants from multiple samples in a single vcf file i.e. every sample is a column after the INFO columns, that should be enough. If not you need to use bcftools merge to merge your vcf files.

ADD REPLY

Login before adding your answer.

Traffic: 2537 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6