linzhi2013 / group_genetic_distance

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

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

License:GNU General Public License v3.0


Languages

Language:Python 60.6%Language:Jupyter Notebook 36.5%Language:Shell 2.9%