comparison bismark_wrapper.py @ 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 120b7b35e442
comparison
equal deleted inserted replaced
17:aa9bf0f29a9f 18:bb74e17e47d7
165 cmd.append('--fastq') 165 cmd.append('--fastq')
166 166
167 # alignment options 167 # alignment options
168 if args.num_threads > 2: 168 if args.num_threads > 2:
169 # divide num_threads by 2 here since bismark will spawn 2 jobs with -p threads each 169 # divide num_threads by 2 here since bismark will spawn 2 jobs with -p threads each
170 cmd.extend(['-p', str(math.ceil(args.num_threads / 2))]) 170 cmd.extend(['-p', str(int(math.floor(args.num_threads / 2)))])
171 if args.seed_mismatches: 171 if args.seed_mismatches:
172 cmd.extend(['-N', str(args.seed_mismatches)]) 172 cmd.extend(['-N', str(args.seed_mismatches)])
173 if args.seed_len: 173 if args.seed_len:
174 cmd.extend(['-L', str(args.seed_len)]) 174 cmd.extend(['-L', str(args.seed_len)])
175 if args.seed_extention_attempts: 175 if args.seed_extention_attempts: