Skip to content

Distance matrix ? #4

@aguilar-gomez

Description

@aguilar-gomez

What is the output supposed to look like?

I have a bcf.gz file that I ran hoping to calculate distances between 347 individuals. I do not think the documentation is super clear, so I ran it like this:
distAngsd -method geno -vcf ttc39b.bcf.gz -is2Dinfer 0 -RD 1.0 -e 0.002 -tdiv 1.0 -t1 0.4 -t2 0.25
and as output I just go this:

-> readbcfvcf seek:(null)
-> Done with preliminary parsing of file: we have data for 1 out of 631034 reference sequences
-> Setting iterator to: P_RNA_scaffold_17998
-> [file='ttc39b.bcf.gz'][chr='P_RNA_scaffold_17998'] Read 274 records 274 of which were SNPs. Number of sites used for downstream analysis (MAF >= 

0.000000):274
Done reading everything we have nsites:274 for samples:347
1 1 1 1 1 0.25 0.25 0.25 0.25
Model Method Vcf Threading Out_uchar Out_binary
JC geno ttc39b.bcf.gz 0 0 1
vcftest done!
Estimated t = 0.0466514

Is the t the distance between the first two individuals of the vcf? Is there a way of calculating distances with this method for many individuals at the same time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions