¶
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
hashrf¶
Computes unweighted Robison Foulds 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
hashrf_weighted¶
Computes weighted Robison Foulds 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