Skip to content

PhyParts

PhyParts maps the clades of a set of gene trees onto a species tree and counts how many gene trees support or conflict with each clade. The gene trees may contain gene duplications and missing taxa, which is common in transcriptome and genome data.

License

Free to download and use from the PhyParts repository. The repository does not state a specific license.

Available

  • Roihu-CPU: 0.0.1, via the bio-apps module.

Usage

PhyParts is part of the bio-apps collection on Roihu. Load the bio-apps module tree and then the PhyParts module:

module load bio-apps/v202603
module load phyparts/0.0.1

For example, run a full concordance and conflict analysis of the gene trees in the directory genetrees/ against the species tree species.tre:

phyparts -a 1 -v -d genetrees/ -m species.tre -o out

PhyParts assumes rooted trees, so root the gene trees and the species tree before the analysis. The main options are:

  • -a: type of analysis: 0 concordance and conflict, 1 full concordance and conflict (also counts the alternative topologies), 2 gene duplications
  • -d: directory or file of gene trees
  • -m: species tree to map the gene trees onto
  • -s: ignore gene tree clades with support lower than this value, for example 70 for bootstrap support
  • -o: prefix of the output files
  • -v: verbose output, also lists the concordant and conflicting gene trees for each node

The output files include out.concon.tre, which contains the species tree three times: annotated with the number of concordant gene trees, the number of conflicting gene trees and the ICA score of each clade. out.node.key gives the clade of each node number used in the other output files.

PhyParts is a Java program, and Java may limit it to a fraction of the memory reserved for your job. For large datasets, set the maximum memory with the JAVA_OPTS environment variable, for example export JAVA_OPTS="-Xmx7g" in a job that reserves 8 GiB.

Small analyses finish quickly in an interactive session. Run large datasets as a batch job.

Support

CSC Service Desk

More information

Do you find this page useful?
Thank you for your feedback!
Thank you! Your feedback is appreciated.

Please let us know how we could improve this page by contacting us or by creating an issue in GitHub. You can also edit this page yourself and contribute your improvements by creating a pull request.

November 13, 2026