diff options
| -rwxr-xr-x | gen-prime.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gen-prime.sh b/gen-prime.sh index c373279..3c66850 100755 --- a/gen-prime.sh +++ b/gen-prime.sh @@ -32,15 +32,20 @@ function gen_prime () { --resume True tag="${primer}_${sample_length}" - if [ "$primer_a" != "0" ] then + + if [ "$primer_a" != "0" ] + then tag="${tag}_${primer_a}" fi - if [ "$primer_b" != "0" ] then + if [ "$primer_b" != "0" ] + then tag="${tag}_${primer_b}" fi - if [ "$recursive" = "True" ] then + if [ "$recursive" = "True" ] + then tag="${tag}_recursive" fi + ./latest.pl -l $tag $1 } |
