changeset 35:a81701137fa0 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:21 -0400
parents e5105f7e7b0d
children 510201905412
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:07:31 2019 -0400
+++ b/bismark_wrapper.py	Tue Oct 01 12:43:21 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: