add nextflow d30e48d

This commit is contained in:
2026-04-29 23:01:54 +02:00
parent d0b12d668d
commit 97cc9058d3
2840 changed files with 730250 additions and 0 deletions

32
nextflow/tests/ampa.nf Normal file
View File

@@ -0,0 +1,32 @@
#!/usr/bin/env nextflow
params.in = "$baseDir/data/sample.fa"
/*
* For each sequence that is sent over the 'seq' channel
* the below task is executed
*/
process ampaTask {
input:
path seq
output:
path 'result'
// The BASH script to be executed - for each - sequence
script:
"""
AMPA.pl -in=${seq} -noplot -rf=result -df=data
"""
}
workflow {
channel.fromPath(params.in) |
splitFasta(file:true) |
ampaTask |
view { it.text }
}