A script to parse and verify migrate-n infiles with loads
Project description
INTRODUCTION
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.
INSTALLATION
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+https://www.github.com/andersgs/migverify.git`
USAGE
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`
QUESTIONS or ISSUES
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file migverify-0.1.tar.gz
.
File metadata
- Download URL: migverify-0.1.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e9c17bfc76b0539bd26ed163fd84be37f10270a9f0938bb0221424da053fecf |
|
MD5 | afd92a13e097fed21bf078fdc5be308b |
|
BLAKE2b-256 | d93977a0bb67299a6d60b99555e92c764123cc01b9a841cbc4f1c9a7768c85ea |
File details
Details for the file migverify-0.1-py3-none-any.whl
.
File metadata
- Download URL: migverify-0.1-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ebe735f89e0934189734a098e3217f5f255390417832e8cfd30b610b1a06f88 |
|
MD5 | e8ae99c8c8edf71a2f86627063d8ea3b |
|
BLAKE2b-256 | f1e06bd870e262c0bac926e8eb3ea1b9878156255e340bfc5200b56f0b9244bb |