Skip to main content

A script to parse and verify migrate-n infiles with loads

Project description


In our experience, Migrate-N does not work well with monomorphic loci. migverify will go through your infile, and output an infile_clean.

By default, migverify will remove all loci that have fewer than two haplotypes, and will remove loci with samples with more than 10% missing data. These values can be changed.


migverify is written in Python3 (requires version >=3.6). It can be installed with pip:

`pip3 install migverify`

To get the latest version:

`pip3 install git+`


Installation will make available a script called run_migverify, which should be in your PATH.

You can checkout the help with:

`run_migverify --help`

Running with default settings

`run_migverify infile`

Filter out loci with fewer than 3 haplotypes

`run_migverify -m 3 infile`

Filter out loci with samples with more than 20% missing data

`run_migverify -p 0.2 infile`


GitHub Issues

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for migverify, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size migverify-0.1.tar.gz (17.2 kB) File type Source Python version None Upload date Hashes View
Filename, size migverify-0.1-py3-none-any.whl (42.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page