Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 693f57f

Browse files
authored
Merge pull request #440 from sanger-pathogens/thouio
Revert "thouio removal"
2 parents 43d0bad + f9cdb4a commit 693f57f

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

lib/VertRes/Pipelines/Import.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ our $options =
3737
# Executables
3838
'fastqcheck' => 'fastqcheck',
3939
'mpsa' => '/software/solexa/bin/mpsa_download',
40-
'bsub_opts' => "-q normal -R 'select[type==X86_64]'",
40+
'bsub_opts' => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
4141
'local_bam_dir' => '',
4242
};
4343

lib/VertRes/Pipelines/Import_Bam.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ our @actions =
3434
our $options =
3535
{
3636
'bamcheck' => 'bamcheck -q 20',
37-
'bsub_opts' => "-q normal -R 'select[type==X86_64]'",
37+
'bsub_opts' => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
3838
'local_bam_dir' => '',
3939
};
4040

lib/VertRes/Pipelines/Import_iRODS.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ our @actions =
3434
our $options =
3535
{
3636
'bamcheck' => 'bamcheck -q 20',
37-
'bsub_opts' => " -q normal -R 'select[type==X86_64]' ",
37+
'bsub_opts' => " -q normal -R 'select[type==X86_64] rusage[thouio=1]' ",
3838
};
3939

4040

lib/VertRes/Pipelines/Import_iRODS_fastq.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ our @actions =
109109
our $options =
110110
{
111111
'bamcheck' => 'bamcheck -q 20',
112-
'bsub_opts' => "-q normal -R 'select[type==X86_64]'",
112+
'bsub_opts' => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
113113
};
114114

115115

lib/VertRes/Pipelines/SNPs.pm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ data =>
3535
{
3636
task => 'mpileup,gatk,update_db,cleanup,pseudo_genome',
3737
38-
bsub_opts => "-q normal -M3500 -R 'select[type==X86_64] select[mem>3500] rusage[mem=3500] rusage[tmp=16000]'",
39-
bsub_opts_long => "-q normal -M3500 -R 'select[type==X86_64 select[mem>3500] rusage[mem=3500] rusage[tmp=16000]'",
40-
bsub_opts_qcall => "-q normal -M3500 -R 'select[type==X86_64 select[mem>3500 && tmp>17000] rusage[mem=3500] rusage[tmp=17000]'",
41-
bsub_opts_mpileup => "-q normal -R 'select[type==X86_64]'",
38+
bsub_opts => "-q normal -M3500 -R 'select[type==X86_64] select[mem>3500] rusage[mem=3500] rusage[thouio=1] rusage[tmp=16000]'",
39+
bsub_opts_long => "-q normal -M3500 -R 'select[type==X86_64 select[mem>3500] rusage[mem=3500] rusage[thouio=1] rusage[tmp=16000]'",
40+
bsub_opts_qcall => "-q normal -M3500 -R 'select[type==X86_64 select[mem>3500 && tmp>17000] rusage[mem=3500] rusage[thouio=1] rusage[tmp=17000]'",
41+
bsub_opts_mpileup => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
4242
4343
split_size_mpileup => 300_000_000,
4444
split_size_gatk => 100_000_000,
@@ -221,9 +221,9 @@ our @actions =
221221
our $options =
222222
{
223223
bcftools => 'bcftools',
224-
bsub_opts_varfilter => "-q normal -R 'select[type==X86_64]'",
225-
bsub_opts_mpileup => "-q normal -R 'select[type==X86_64]'",
226-
bsub_opts_qcall => "-q normal -R 'select[type==X86_64]'",
224+
bsub_opts_varfilter => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
225+
bsub_opts_mpileup => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
226+
bsub_opts_qcall => "-q normal -R 'select[type==X86_64] rusage[thouio=1]'",
227227
bsub_opts_gatk => "-q normal -M3000 -R 'select[mem>3000] rusage[mem=3000]'",
228228
chunks_overlap => 250,
229229
fai_chr_regex => '\d+|x|y',

lib/VertRes/Pipelines/TrackQC_Bam.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ our $options =
9090

9191
'adapters' => '/software/pathogen/projects/protocols/ext/solexa-adapters.fasta',
9292
'bsub_opts' => "-q normal -M5000 -R 'select[type==X86_64] select[mem>5000] rusage[mem=5000]'",
93-
'bsub_opts_merge' => "-q normal -M5000 -R 'select[type==X86_64] select[mem>5000] rusage[mem=5000]'",
93+
'bsub_opts_merge' => "-q normal -M5000 -R 'select[type==X86_64] select[mem>5000] rusage[mem=5000] rusage[thouio=5]'",
9494
'gc_depth_bin' => 20000,
9595
'gtype_confidence'=> 5.0,
9696
'mapstat_id' => 'mapstat_id.txt',
@@ -131,7 +131,7 @@ our $options =
131131
adapters .. the location of .fa with adapter sequences
132132
assembly .. e.g. NCBI36
133133
bsub_opts .. LSF bsub options for jobs
134-
bsub_opts_merge .. LSF bsub options for the rename_and_merge task
134+
bsub_opts_merge .. LSF bsub options for the rename_and_merge task (thouio=50)
135135
bwa_ref .. the prefix to reference files, as required by bwa
136136
clean_fastqs .. If set, .fastq files will be deleted as the last step in update_db
137137
do_samtools_rmdup .. If set, pipes the bam through samtools rmdup to get stats without duplicates

lib/VertRes/Pipelines/TrackQC_ExomeBam.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ our $options = {
133133

134134
'adapters' => '/software/pathogen/projects/protocols/ext/solexa-adapters.fasta',
135135
'bsub_opts' => "-q normal -M5000 -R 'select[mem>5000] rusage[mem=5000]'",
136-
'bsub_opts_merge' => "-q normal -M5000 -R 'select[mem>5000] rusage[mem=5000]'",
136+
'bsub_opts_merge' => "-q normal -M5000 -R 'select[mem>5000] rusage[mem=5000]' -R 'rusage[thouio=5]'",
137137
'bsub_opts_stats' => "-q normal -M3500 -R 'select[mem>3500] rusage[mem=3500]'",
138138
'gc_depth_bin' => 20000,
139139
'gtype_confidence'=> 5.0,

lib/VertRes/Utils/Mapping.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ sub _bsub_opts {
271271
$bsub_opts{bsub_opts} .= ' -q normal -M5100 -R \'select[mem>5100] rusage[mem=5100]\'';
272272
}
273273
elsif ($action && $action =~ /map|merge/) {
274-
$bsub_opts{bsub_opts} .= ' -M1000 -R \'select[mem>1000] rusage[mem=1000]\'';
274+
$bsub_opts{bsub_opts} .= ' -R \'rusage[thouio=5]\' -M1000 -R \'select[mem>1000] rusage[mem=1000]\'';
275275
}
276276
elsif ($action && $action =~ /split/) {
277-
$bsub_opts{bsub_opts} .= '-n 2 -R \'span[hosts=1]\' -M1000 -R \'select[mem>1000] rusage[mem=1000]\'';
277+
$bsub_opts{bsub_opts} .= '-n 2 -R \'span[hosts=1]\' -R \'rusage[thouio=5]\' -M1000 -R \'select[mem>1000] rusage[mem=1000]\'';
278278
}
279279

280280
return \%bsub_opts;

0 commit comments

Comments
 (0)