This repository has been archived by the owner on Jun 1, 2020. It is now read-only.
Releases: choishingwan/GreedyRelated
Releases · choishingwan/GreedyRelated
Function update
Update log
- Now allow plink file format
- Allow user to specify which samples to keep
Modernization of Script
Update Log
- Replace random number generator with C++11 random library
Fix edge case
Update log
- Previous version cannot handle cases where two individual are tie with the number of related samples
- When tie is observed, we will do the following
- If sample phenotype is provided, always remove sample with lower phenotype (i.e. if sample A has phenotype of 0.1 and sample B has phenotype of 0.2, we will remove sample A)
- if no phenotype is provided, we will remove samples randomly.
- You can reproduce the same results by specifying the --seed option
Speed up
Update on Algorithm
We try to localise all the sort operation, thus increase the speed drastically
GreedyRelated
Try to allow DOI citation
GreedyRelated
A simple program for removing related samples based on a greedy algorithm.