Skip to content

A quick program that midpoint roots trees with dendropy then calculates and reports their root-to-tip variance.

Notifications You must be signed in to change notification settings

HollyMaeRobertson/RootingAndVariance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RootingAndVariance

A program that midpoint roots trees then calculates and reports their root-to-tip variance.

Usage:

python3 RootingAndVariance.py folder_of_genes outfile_prefix

For example, using the ExampleGenes folder to create the outputs example.csv and example.log as included here, the command was:

python3 RootingAndVariance.py ExampleGenes example

Details

The output file [outfile_prefix].csv lists the name of each file in the gene column and the corresponding root-to-tip variance, as calculated by the phyx tool pxlstr, in the root_tip_var column.

Phyx will also produce a log called phyx.logfile, and the program generates a file called temp.tre that can be deleted after running.

Dependencies

This program uses DendroPy to midpoint root unrooted trees and phyx to calculate root-to-tip variance.

About

A quick program that midpoint roots trees with dendropy then calculates and reports their root-to-tip variance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages