-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1140319
commit 8d76ec5
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
#assigning branch lengths to using randomized method and deterministic method, using pw distance scaled 10 k 5 | ||
#current dir = reproducibility | ||
|
||
kegg_tree_no_lengths="data/kegg_trees/kegg_ko00001_no_edge_lengths_filtered.txt" | ||
ko_dm_file="data/pairwise_distances/KOs_sketched_scaled_10_k_5" | ||
label_file="data/pairwise_distances/KOs_sketched_scaled_10_k_5.labels.txt" | ||
out_dir="data/kegg_trees" | ||
deterministic_output="data/kegg_trees/kegg_ko00001_scaled_10_k_5_assigned_positivity_enforced.txt" | ||
A_matrix="data/kegg_trees/fununifrac_A.npz" | ||
rand_output="data/kegg_trees/kegg_ko00001_randomized_method.txt" | ||
|
||
#deterministic method | ||
#python real_data_branch_assignment.py -e $kegg_tree_no_lengths -dm $ko_dm_file -l $label_file -s $deterministic_output | ||
|
||
#randomized method | ||
#python ../create_edge_matrix.py -e $kegg_tree_no_lengths -d $ko_dm_file -o $out_dir -b ko00001 | ||
python ../create_edge_lengths.py -d "../../fununifrac/reproducibility/"$ko_dm_file -e "d../../fununifrac/reproducibility/$kegg_tree_no_lengths" "../../fununifrac/reproducibility/$A_matrix" -b ko00001 -o "../../fununifrac/reproducibility/data/$rand_output" --force --distance |