Reader small image

You're reading from  Bioinformatics with Python Cookbook. - Second Edition

Product typeBook
Published inNov 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789344691
Edition2nd Edition
Languages
Right arrow
Author (1)
Tiago Antao
Tiago Antao
author image
Tiago Antao

Tiago Antao is a bioinformatician currently working in the field of genomics. A former computer scientist, Tiago moved into computational biology with an MSc in Bioinformatics from the Faculty of Sciences at the University of Porto (Portugal) and a PhD on the spread of drug-resistant malaria from the Liverpool School of Tropical Medicine (UK). Postdoctoral, Tiago has worked with human datasets at the University of Cambridge (UK) and with mosquito whole genome sequencing data at the University of Oxford (UK), before helping to set up the bioinformatics infrastructure at the University of Montana. He currently works as a data engineer in the biotechnology field in Boston, MA. He is one of the co-authors of Biopython, a major bioinformatics package written in Python.
Read more about Tiago Antao

Right arrow

Computing F-statistics


Nearly 100 years ago, Sewall Wright developed F-statistics to quantify inbreeding effects at a certain level of population subdivision. FST is the most widely used of these statistics and is mostly interpreted as the genetic variation caused by the population structure.

Getting ready

You will need to have run the first two recipes and should have the hapmap10_auto_noofs_2.gp and hapmap10_auto_noofs_2.pops files downloaded. We will also use the metadata file that we downloaded in the first recipe. For the type of comparison that we will perform here, it's important to assure that there is little relatedness among sampled individuals, so we want to remove the offspring at the very least. For efficiency, we will use only chromosome 2, subsampled at 10 percent.

For this code to work, you will need to install Genepop from http://kimura.univ-montp2.fr/~rousset/Genepop.htm or, with Anaconda Python, use conda install -c bioconda genepop. We will use the interface provided by...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Bioinformatics with Python Cookbook. - Second Edition
Published in: Nov 2018Publisher: PacktISBN-13: 9781789344691

Author (1)

author image
Tiago Antao

Tiago Antao is a bioinformatician currently working in the field of genomics. A former computer scientist, Tiago moved into computational biology with an MSc in Bioinformatics from the Faculty of Sciences at the University of Porto (Portugal) and a PhD on the spread of drug-resistant malaria from the Liverpool School of Tropical Medicine (UK). Postdoctoral, Tiago has worked with human datasets at the University of Cambridge (UK) and with mosquito whole genome sequencing data at the University of Oxford (UK), before helping to set up the bioinformatics infrastructure at the University of Montana. He currently works as a data engineer in the biotechnology field in Boston, MA. He is one of the co-authors of Biopython, a major bioinformatics package written in Python.
Read more about Tiago Antao