Skip to content

Commit

Permalink
Refactor configs
Browse files Browse the repository at this point in the history
  • Loading branch information
iracooke committed Sep 13, 2024
1 parent d9ff0ec commit 1bbbdd9
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ jobs:
sudo mv nextflow /usr/local/bin/
- name: Run movp test
run: |
nextflow run marine-omics/movp -profile docker,test -r main
nextflow run marine-omics/movp -profile docker,test -r main --callers gatk
- name: Whereami
if: always()
run: |
pwd
ls -a
- name: Archive nextflow log
if: always()
uses: actions/upload-artifact@v4
Expand Down
57 changes: 57 additions & 0 deletions conf/setonix.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
process {
cache = 'lenient'
stageInMode = 'symlink'

withName: 'fastq2ubam'{
cpus = 1
}

withName: 'freebayes'{
cpus = 1
memory = 20.GB
ext.args='-m 20 -q 20 -R 0 -S 0'
}

withName: 'mpileup_call'{
cpus = 1
memory = 10.GB
}

withName: 'mpileup_collect'{
memory = 40.GB
}

withName: 'freebayes_collect'{
memory = 40.GB
}


}

params {
workDir = "$MYSCRATCH/nxf_work"



singularity {
enabled = true
envWhitelist = 'SINGULARITY_BINDPATH, SINGULARITYENV_LD_LIBRARY_PATH, SINGULARITYENV_LD_PRELOAD'
cacheDir = "$MYSOFTWARE/.nextflow_singularity"
runOptions = "--rocm"
}

slurm_account = 'pawsey1088'
process {
executor = 'slurm'
clusterOptions = "--account=${params.slurm_account}"
queue = 'work'
cpus = 1
time = '1h'
memory = '1800MB'

}
executor {
$slurm {
queueSize = 1024
}
}
1 change: 1 addition & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ profiles {

zodiac { includeConfig 'conf/zodiac.config' }
genomics { includeConfig 'conf/genomics.config' }
setonix { includeConfig 'conf/setonix.config' }


}
Expand Down

0 comments on commit 1bbbdd9

Please sign in to comment.