Add Nextflow pipeline for PROPKA with Docker configuration
Some checks failed
Tests / build (ubuntu-latest, 3.10) (push) Has been cancelled
Tests / build (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / build (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / build (ubuntu-latest, 3.8) (push) Has been cancelled
Tests / build (ubuntu-latest, 3.9) (push) Has been cancelled
Tests / build (windows-latest, 3.10) (push) Has been cancelled
Tests / build (windows-latest, 3.11) (push) Has been cancelled
Tests / build (windows-latest, 3.12) (push) Has been cancelled
Tests / build (windows-latest, 3.8) (push) Has been cancelled
Tests / build (windows-latest, 3.9) (push) Has been cancelled
Tests / static_type_check (push) Has been cancelled

This commit is contained in:
2025-03-14 10:46:31 -07:00
parent 27e0ad2f8d
commit 1c6d9582d0
4 changed files with 159 additions and 0 deletions

30
main.nf Normal file
View File

@@ -0,0 +1,30 @@
#!/usr/bin/env nextflow
nextflow.enable.dsl=2
params.pdb = "/mnt/OmicNAS/private/old/olamide/propka/input/1HPX.pdb"
params.outdir = "/mnt/OmicNAS/private/old/olamide/propka/output"
params.ph = 7.0
params.options = ""
process PROPKA {
container 'propka:latest'
publishDir params.outdir, mode: 'copy'
input:
path pdb
output:
path "${pdb.baseName}.pka", emit: pka_file
path "run.log"
script:
"""
propka3 ${params.options} --pH ${params.ph} ${pdb} 2>&1 | tee run.log
"""
}
workflow {
pdb_files = Channel.fromPath(params.pdb)
PROPKA(pdb_files)
}