diff options
-rwxr-xr-x | SelectiveWholeGenomeAmplification | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/SelectiveWholeGenomeAmplification b/SelectiveWholeGenomeAmplification index 5b33be1..104495f 100755 --- a/SelectiveWholeGenomeAmplification +++ b/SelectiveWholeGenomeAmplification @@ -49,7 +49,8 @@ check_mers() { rmdir $tmp_directory/counts-lock } -all=run +all=1 + # Parse in our arguments if [[ -z "$foreground" ]] && [[ -z "$background" ]]; then if (( $# < 2 )); then @@ -64,7 +65,12 @@ else start=1 fi -if (( $# > 2 )); then +if [[ -n "$step_mers" ]] || [[ -n "$step_filters" ]] || [[ -n "$step_select" ]] || [[ -n "$step_score" ]]; then + echo "unset all" + unset all +fi + +if (( $# != 0 )); then unset all for i in "${@:$start}"; do |