¶
bash_command¶
.bash_command(
cmd
)
Executes bash command in subprocess
Args
- cmd (str) : bash command to be runned in subprocess
Returns
- 0 : returns 0 if everything's alright
quartet¶
.quartet(
file, n_trees, output_file
)
Computes quartet distances
Args
- file (str) : name of input file with phylogenetic trees in newick format
- n_trees (int) : number of trees in file
- output_file (str) : name of output file that will contain the distance matrix
Returns
- distance_matrix (pandas.DataFrame) : computed distance matrix
triplet¶
.triplet(
file, n_trees, output_file
)
Computes triplet distances
Args
- file (str) : name of input file with phylogenetic trees in newick format
- n_trees (int) : number of trees in file
- output_file (str) : name of output file that will contain the distance matrix
Returns
- distance_matrix (pandas.DataFrame) : computed distance matrix
Last update: 2024-04-29