- Python >= 2.7 (3.x is recommended)
- ETE3 package
You can get a summary of available command-line options with branch_site_pipeline.py -h
$ python branch_site_pipeline.py -h
usage: branch_site_pipeline.py [-h] [-i INPUT_FILE] [-o OUTPUT_DIR] [-v]
[-l LOGFILE] [-t THREADS]
[...]
You need to prepare a text file including these information:
- cDNA alignment file (*.fasta, *.paml);
- tree file (newick format);
- Any specific nodes in the tree. (Cautions: all nodes need to be monophyletic). If you want to test all branches, just leave blank here.
Note: test.txt
in the source package is an example input file.
Two files will be output in the output directory:
all_results.txt
including all calculation results and nodes diagrams;positive_selection_tree.png
showing all nodes with positive selection.