Repository 'bismark'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/bismark

Changeset 18:bb74e17e47d7 (2019-10-01)
Previous changeset 17:aa9bf0f29a9f (2019-08-28) Next changeset 19:359f8b60d316 (2019-10-04)
Commit message:
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bismark commit 02087ce2966cf8b4aac9197a41171e7f986c11d1"
modified:
bismark_wrapper.py
b
diff -r aa9bf0f29a9f -r bb74e17e47d7 bismark_wrapper.py
--- a/bismark_wrapper.py Wed Aug 28 07:08:45 2019 -0400
+++ b/bismark_wrapper.py Tue Oct 01 12:43:53 2019 -0400
[
@@ -167,7 +167,7 @@
     # alignment options
     if args.num_threads > 2:
         # divide num_threads by 2 here since bismark will spawn 2 jobs with -p threads each
-        cmd.extend(['-p', str(math.ceil(args.num_threads / 2))])
+        cmd.extend(['-p', str(int(math.floor(args.num_threads / 2)))])
     if args.seed_mismatches:
         cmd.extend(['-N', str(args.seed_mismatches)])
     if args.seed_len: