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
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:
30
main.nf
Normal file
30
main.nf
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user