# HG changeset patch # User bgruening # Date 1569948233 14400 # Node ID bb74e17e47d72489fad027bf46d2bde621925a4a # Parent aa9bf0f29a9ff45fc1dd1bd76256350480bd6c75 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bismark commit 02087ce2966cf8b4aac9197a41171e7f986c11d1" 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: