Skip to content
Snippets Groups Projects
Commit 65b0cd8c authored by Cedric Cabau's avatar Cedric Cabau
Browse files

Get n cpu for bwa.pl from drap.cfg

parent 04b6ea7c
No related branches found
No related tags found
No related merge requests found
......@@ -532,7 +532,7 @@ sub get_mapping_analysis {
$opt->{binpath}."/bwa.pl --reference %s --R1 %s %s --bam %s -t %s --vmem %s --mem %s%s",
$assembly, join(" ", @{$opt->{R1}}), (scalar(@{$opt->{R2}}) > 0 ? "--R2 ".join(" ", @{$opt->{R2}}) : ""),
$mapping_out_path, $opt->{env}->{n_cpu}, $opt->{memory}, $opt->{memory},$opt->{local_param}
), $opt->{local_param} ? 8 : 1
), $opt->{local_param} ? $opt->{env}->{n_cpu} : 1
)
);
......
......@@ -532,7 +532,7 @@ sub get_mapping_analysis {
$opt->{binpath}."/bwa.pl --reference %s --R1 %s %s --bam %s -t %s --vmem %s --mem %s%s",
$assembly, join(" ", @{$opt->{R1}}), (scalar(@{$opt->{R2}}) > 0 ? "--R2 ".join(" ", @{$opt->{R2}}) : ""),
$mapping_out_path, $opt->{env}->{n_cpu}, $opt->{memory}, $opt->{memory},$opt->{local_param}
), $opt->{local_param} ? 8 : 1
), $opt->{local_param} ? $opt->{env}->{n_cpu} : 1
)
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment