PTreeGenerator
1.0
Simple phylogenetic tree generation from multiple sequence alignment.
|
Functions | |
def | p_distance |
Computation of the uncorrected p-distance. | |
def | poisson_corrected |
Poisson corrected p-distance. | |
def | jukes_cantor |
Distance according to the Jukes-Cantor model. |
def ptreegen.distance_functions.jukes_cantor | ( | seq1, | |
seq2, | |||
args, | |||
kwargs | |||
) |
Distance according to the Jukes-Cantor model.
For more info see: http://goo.gl/upr3wR
seq1 | first sequence |
seq2 | second sequence |
*args | positional arguments |
**kwargs | keyword arguments ("sequence_type" option is used to determine the parameters for the formula) |
Definition at line 66 of file distance_functions.py.
References ptreegen.distance_functions.p_distance().
def ptreegen.distance_functions.p_distance | ( | seq1, | |
seq2, | |||
args, | |||
kwargs | |||
) |
Computation of the uncorrected p-distance.
The formula is similar to the one used in EMBOSS (see http://emboss.sourceforge.net/apps/release/6.6/emboss/apps/distmat.html).
seq1 | first sequence |
seq2 | second sequence |
*args | positional arguments |
**kwargs | keyword arguments (the "gap_penalty" argument is used to determine the gap penalty) |
Definition at line 22 of file distance_functions.py.
Referenced by ptreegen.distance_functions.jukes_cantor(), and ptreegen.distance_functions.poisson_corrected().
def ptreegen.distance_functions.poisson_corrected | ( | seq1, | |
seq2, | |||
args, | |||
kwargs | |||
) |
Poisson corrected p-distance.
For more info see: http://goo.gl/upr3wR
seq1 | first sequence |
seq2 | second sequence |
*args | positional arguments |
**kwargs | keyword arguments |
Definition at line 50 of file distance_functions.py.
References ptreegen.distance_functions.p_distance().