gPartition

gPartition is a fast model-based program that automatically partition an alignment into subsets such that sites in a subset follow the same evolutionary process.

View project on GitHub

gPartition


A fast and accurate method for partitioning genome alignments

I. About gPartition
gPartition is a fast model-based program that automatically partition an alignment into disjoint subsets such that sites in the same subset follow the same evolutionary process. The gPartition program is orders of magnitudes faster than the existing partitioning programs and applicable to analyze genome alignments with million sites. The partition schemes generated from gPartition help construct better maximum likelihood trees.

II. Versions
The gPartition program is available for both Linux and Windows operating system.

III. Setup
1. The program requires several software
 - python 2 or python 3 (with numpy library)
 - IQ-TREE software (http://www.iqtree.org/)
2. Run “setup.py”
Note that the setup.py program will create a new config.py file. You can directly edit the path of IQ-TREE in the config.py file.

IV. Commands
python gPartition.py -f alignment -o output

The resulting partition scheme will be written to the alignment.FINAL.nex in the output directory.
-f   A nucleotide alignment in the Phylip format.
-o   A folder that contains the result files.

Example: python gPartition.py -f sample.phy -o output