changeset 18:bb74e17e47d7 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bismark commit 02087ce2966cf8b4aac9197a41171e7f986c11d1"
author bgruening
date Tue, 01 Oct 2019 12:43:53 -0400
parents aa9bf0f29a9f
children 359f8b60d316
files bismark_wrapper.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: