Skip to content

Commit

Permalink
resources
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Oct 10, 2024
1 parent c10be82 commit 0815b4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions qp_meta/sortmerna/sortmerna.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

# resources per job
PPN = 10
MEMORY = '40g'
MEMORY = '4g'
WALLTIME = '30:00:00'
FINISH_MEMORY = '1g'
FINISH_WALLTIME = '10:00:00'
MAX_RUNNING = 8
MAX_RUNNING = 12


def generate_sortmerna_commands(forward_seqs, reverse_seqs, map_file,
Expand Down
8 changes: 4 additions & 4 deletions qp_meta/sortmerna/tests/test_sortmerna.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ def test_generate_sortmerna_analysis_commands_forward_reverse(self):
'#SBATCH -N 1\n',
'#SBATCH -n 10\n',
'#SBATCH --time 30:00:00\n',
'#SBATCH --mem 40g\n',
'#SBATCH --mem 4g\n',
f'#SBATCH --output {out_dir}/{job_id}_%a.log\n',
f'#SBATCH --error {out_dir}/{job_id}_%a.err\n',
'#SBATCH --array 1-2%8\n',
'#SBATCH --array 1-2%12\n',
'set -e\n',
f'cd {out_dir}\n',
f'{self.params["environment"]}\n',
Expand Down Expand Up @@ -313,10 +313,10 @@ def test_generate_sortmerna_analysis_commands_forward(self):
'#SBATCH -N 1\n',
'#SBATCH -n 10\n',
'#SBATCH --time 30:00:00\n',
'#SBATCH --mem 40g\n',
'#SBATCH --mem 4g\n',
f'#SBATCH --output {out_dir}/{job_id}_%a.log\n',
f'#SBATCH --error {out_dir}/{job_id}_%a.err\n',
'#SBATCH --array 1-2%8\n',
'#SBATCH --array 1-2%12\n',
'set -e\n',
f'cd {out_dir}\n',
f'{self.params["environment"]}\n',
Expand Down

0 comments on commit 0815b4a

Please sign in to comment.