¶
bash_command¶
Executes bash command in subprocess
Args
- cmd (str) : bash command to be runned in subprocess
Returns
- 0 : returns 0 if everything's alright
quartet¶
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¶
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