Commit bd892614 authored by nlecouvr's avatar nlecouvr
Browse files

Update main.nf

parent 0eadba41
container
nextflow.enable.dsl=2
container_url = "nathanlecouvreur/gatc_finder"
params.fasta = ""
params.genome = ""
params.out_file = ""
process GATC_finder {
container = "/home/nathan/projects/vscode_nextflow/nextflow-nathan/src/.docker_modules/GATC_finder"
label "?"
tag "?"
}
channel
.fromPath(params.fasta)
.view()
.set{genome}
process gatc_finder {
container = "${container_url}"
input:
val params.genome
val params.out_file
path(genome)
output:
file "sites.bed"
path "*.bed", emit: gatc_sites
script:
"""
docker run --volume ${genome}:/genome.fa gatc_finder \
gatc_finder genome.fa
"""
gatc_finder ${params.genome} ${params.out_file}
"""
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment