aboutsummaryrefslogtreecommitdiff
path: root/SelectiveGenomeAmplification
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-01-22 13:31:24 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-01-22 13:31:24 -0500
commit879f60783fc9f879fbdd3f1590bc5420994415ca (patch)
treecabff4bbdb39f2e7023b3a3466407657a2e01df2 /SelectiveGenomeAmplification
parentacc1534c45a33b37368cf82dec3d6eb6fedb9442 (diff)
rename in script
Diffstat (limited to 'SelectiveGenomeAmplification')
-rwxr-xr-xSelectiveGenomeAmplification13
1 files changed, 5 insertions, 8 deletions
diff --git a/SelectiveGenomeAmplification b/SelectiveGenomeAmplification
index 4e14ecb..075d7c7 100755
--- a/SelectiveGenomeAmplification
+++ b/SelectiveGenomeAmplification
@@ -107,7 +107,7 @@ bg_counts=$counts_directory/$(basename $background)-counts
fg_tmp=$tmp_directory/$(basename $foreground)
bg_tmp=$tmp_directory/$(basename $background)
-selected=$tmp_directory/$(basename $foreground)$(basename $background)-selected
+selected=$tmp_directory/$(basename $foreground)_$(basename $background)-selected-mers
# remove ignored mers
if [ "$ignore_mers" ]; then
@@ -127,11 +127,8 @@ echo "checking if mers are below melting temperature in the background"
rm $bg_counts-non-melting
melting_range $min_melting_temp $max_melting_temp < $bg_counts > $bg_counts-non-melting
-#echo "scoring mer selectivity"
-# python ./mer_selectivity.py $fg_counts-non-melting $bg_counts-non-melting
-mer_selectivity.py $fg_counts-non-melting $fg_tmp $bg_counts-non-melting $bg_tmp > $selected
+echo "scoring mer selectivity"
+select_mers.py $fg_counts-non-melting $fg_tmp $bg_counts-non-melting $bg_tmp > $selected
-
-# echo "scoring top 100 mers based on selectivity"
-# select_mers.py $selected $output_directory/output_`date +%s`
-select_mers.py $selected $fg_tmp $bg_tmp $output_directory/output_`date +%s`
+echo "scoring top mers based on selectivity"
+score_mers.py $selected $fg_tmp $bg_tmp $output_directory/output_`date +%s`