-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SLURM job example for Verkko (#68)
* Add SLURM job example for Verkko * Update verkko_slurm.submit --------- Co-authored-by: Natasha Pavlovikj <[email protected]>
- Loading branch information
1 parent
6b60867
commit 446ccdb
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |