Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ComparativeGenomicsToolkit
cactus
Commits
475e2cd7
Commit
475e2cd7
authored
May 18, 2022
by
Glenn Hickey
Browse files
pass through cores options in align-batch subjobs
parent
c0cc1076
Pipeline
#1543
failed with stage
in 7 minutes and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/cactus/setup/cactus_align.py
View file @
475e2cd7
...
...
@@ -873,7 +873,10 @@ def align_toil(job, chrom, seq_file_id, paf_file_id, config_id, options):
log_file
=
os
.
path
.
join
(
work_dir
,
'{}.hal.log'
.
format
(
chrom
))
cmd
=
[
'cactus-align'
,
js
,
seq_file
,
paf_file
,
out_file
,
'--logFile'
,
log_file
,
'--configFile'
,
config_file
]
+
options
.
alignOptions
.
split
()
cores
=
options
.
alignCoresOverrides
[
chrom
]
if
chrom
in
options
.
alignCoresOverrides
else
options
.
alignCores
if
cores
:
cmd
+=
[
'--consCores'
,
str
(
cores
)]
cmd
+=
[
'--maxCores'
,
str
(
cores
)]
cactus_call
(
parameters
=
cmd
)
ret_ids
=
[
None
,
None
,
None
,
None
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment