picme

Software Screenshot:
picme
Software Details:
Version: 1.0
Upload Date: 11 May 15
Distribution Type: Freeware
Downloads: 12

Rating: nan/5 (Total Votes: 0)

picme is a Python package that contains programs to estimate and plot phylogenetic informativeness for large datasets.

Installation

For the moment, the easiest way to install the program is:

git clone git://github.com/faircloth-lab/picme.git /path/to/picme

To run tests:

cd /path/to/picme/
python test/test_townsend_code.py

Use

The estimate_p_i.py code calls a batch file for hyphy that is in templates/. This file needs to be in the same position relative to wherever you put estimate_p_i.py. If you install thins as above, you'll be fine, for the moment.

To run:

cd /path/to/picme/

python picme_compute.py Input_Folder_of_Nexus_Files/ Input.tree \
 --output Output_Directory \
 --epochs=32-42,88-98,95-105,164-174 \
 --times=37,93,100,170 \
 --multiprocessing


--multiprocessing is optional, without it, each locus will be run consecutively.

If you have already run the above and saved results to your output folder (see below), you can use the pre-existing site-rate records rather than estimating those again with:

python picme_compute.py Input_Folder_of_Site_Rate_JSON_Files/ Input.tree \
 --output Output_Directory \
 --epochs=32-42,88-98,95-105,164-174 \
 --times=37,93,100,170 \
 --multiprocessing \
 --site-rates


Results

picme writes results to a sqlite database in the output directory of your choosing. This directory also holds site rate files in JSON format for each locus passed through picme_compute.py.

You can access the results in the database as follows. For more examples, including plotting, see the documentation

- crank up sqlite:

 sqlite3 Output_Directory/phylogenetic-informativeness.sqlite

- get integral data for all epochs:

 select locus, interval, pi from loci, interval where loci.id = interval.id

- get integral data for a specific epoch:

 select locus, interval, pi from loci, interval
 where interval = '95-105' and loci.id = interval.id;


- get the count of loci having max(PI) at different epochs:

 create temporary table max as select id, max(pi) as max from interval group by id;

 create temporary table t as select interval.id, interval, max from interval, max
 where interval.pi = max.max;

 select interval, count(*) from t group by interval;


Citing picme

When using picme, please cite:

- Faircloth BC, Chang J, Alfaro ME: picme enables high throughput analysis of phylogenetic informativeness.
- Townsend JP: Profiling phylogenetic informativeness. Systematic Biol. 2007, 56:222-231.
- Pond SLK, Frost SDW, Muse SV: HyPhy: hypothesis testing using phylogenies. Bioinformatics 2005, 21:676-679.

Requirements:

  • Python
  • hyphy2
  • NumPy
  • SciPy
  • DendroPy

Similar Software

Staden Package
Staden Package

12 May 15

pyNetConv
pyNetConv

3 Jun 15

OpenElectrophy
OpenElectrophy

15 Apr 15

bein
bein

12 May 15

Other Software of Developer Brant Faircloth, Jonathan Chang and Mi...

tapir
tapir

11 May 15

Comments to picme

Comments not found
Add Comment
Turn on images!