diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-01-22 16:48:18 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-01-22 16:48:18 -0500 |
commit | 1bb292d10cf62e9a899405daf14939ee833bc9ec (patch) | |
tree | f15fcc5a3c22421f5779fd93a6b24d341aca9c02 /SelectiveGenomeAmplification | |
parent | 879f60783fc9f879fbdd3f1590bc5420994415ca (diff) |
add different outputs for each run
Diffstat (limited to 'SelectiveGenomeAmplification')
-rwxr-xr-x | SelectiveGenomeAmplification | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/SelectiveGenomeAmplification b/SelectiveGenomeAmplification index 075d7c7..9358e39 100755 --- a/SelectiveGenomeAmplification +++ b/SelectiveGenomeAmplification @@ -71,6 +71,8 @@ if [ ! -d $tmp_directory ]; then fi +current_run=$output_`date +%s` +mkdir -p $output_directory/$current_run for fasta_file in $foreground $background; do @@ -107,7 +109,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-mers +selected=$output_directory/$current_run/selected-mers # remove ignored mers if [ "$ignore_mers" ]; then @@ -131,4 +133,4 @@ echo "scoring mer selectivity" select_mers.py $fg_counts-non-melting $fg_tmp $bg_counts-non-melting $bg_tmp > $selected echo "scoring top mers based on selectivity" -score_mers.py $selected $fg_tmp $bg_tmp $output_directory/output_`date +%s` +score_mers.py $selected $fg_tmp $bg_tmp $output_directory/$current_run/scores-output |