Skip to content

Commit

Permalink
Add SLURM job example for Verkko (#68)
Browse files Browse the repository at this point in the history
* Add SLURM job example for Verkko

* Update verkko_slurm.submit

---------

Co-authored-by: Natasha Pavlovikj <[email protected]>
  • Loading branch information
npavlovikj and Natasha Pavlovikj authored May 8, 2024
1 parent 6b60867 commit 446ccdb
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
7 changes: 7 additions & 0 deletions verkko/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Using Verkko on HCC Clusters

Example job script for [Verkko](https://github.com/marbl/verkko), adapted from [here](https://github.com/marbl/verkko?tab=readme-ov-file#test-data).

- `verkko_local.submit`: Example submit script using 4 cores and running on one compute node.

- `verkko_slurm.submit`: Example submit script using 4 cores and submitting multiple jobs to the cluster via [Slurm](https://github.com/marbl/verkko?tab=readme-ov-file#running-on-a-grid).
15 changes: 15 additions & 0 deletions verkko/verkko_local.submit
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
#SBATCH --job-name=verkko
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --mem=10G
#SBATCH --time=01:00:00
#SBATCH --partition=batch
#SBATCH --error=verkko.%J.err
#SBATCH --output=verkko.%J.out

module purge
module load verkko/2.0

# test data is available at https://github.com/marbl/verkko?tab=readme-ov-file#test-data
verkko -d asm --hifi ./hifi.fastq.gz --nano ./ont.fastq.gz --threads $SLURM_NTASKS_PER_NODE
15 changes: 15 additions & 0 deletions verkko/verkko_slurm.submit
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
#SBATCH --job-name=verkko
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --mem=10G
#SBATCH --time=10:00:00
#SBATCH --partition=batch
#SBATCH --error=verkko.%J.err
#SBATCH --output=verkko.%J.out

module purge
module load verkko/2.0

# test data is available at https://github.com/marbl/verkko?tab=readme-ov-file#test-data
verkko -d asm --hifi ./hifi.fastq.gz --nano ./ont.fastq.gz --threads $SLURM_NTASKS_PER_NODE --slurm

0 comments on commit 446ccdb

Please sign in to comment.