summaryrefslogtreecommitdiff
path: root/gen-prime.sh
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-14 20:40:01 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-14 20:40:01 +0200
commited547c67deb4d2b7a6ca32b6ed82e528d241a721 (patch)
treebacdb92bdbe7daac22f43aa8328c40fa1e757d3d /gen-prime.sh
parented412dbeac600c943e229e6875530253244b78ed (diff)
gen-prime..
Diffstat (limited to 'gen-prime.sh')
-rwxr-xr-xgen-prime.sh11
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
}