diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-14 20:40:01 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-14 20:40:01 +0200 |
| commit | ed547c67deb4d2b7a6ca32b6ed82e528d241a721 (patch) | |
| tree | bacdb92bdbe7daac22f43aa8328c40fa1e757d3d /gen-prime.sh | |
| parent | ed412dbeac600c943e229e6875530253244b78ed (diff) | |
gen-prime..
Diffstat (limited to 'gen-prime.sh')
| -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 } |
