/group_genetic_distance

To derive within- and between-groups genetic distance based on pairwise genetic distance matrix

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

bold_identification

1 Introduction

  1. The pairwise genetic distance between specimens is generated with R ape package dist.dna(a, as.matrix = TRUE)

  2. The average distance between groups is the arithmetic mean of all pairwise distances between two groups in the inter-group comparisons.

2 Installation and usage

git clone https://github.com/linzhi2013/group_genetic_distance
cd group_genetic_distance
pip install .
python3 group_genetic_distance/group_dist.py

Copyright

Guanliang Meng

If you use the scripts in your publications, or "steal" the codes, I must be one of the co-authors!