Skip to content
Snippets Groups Projects
Verified Commit 81f280a0 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

agat: add main.nf

parent b00d2558
No related branches found
No related tags found
No related merge requests found
version = "0.8.0"
container_url = "lbmc/agat:${version}"
params.gff_to_bed = ""
params.gff_to_bed_out = ""
process gff_to_bed {
container = "${container_url}"
label "big_mem_mono_cpus"
tag "$file_id"
if (params.gff_to_bed_out != "") {
publishDir "results/${params.gff_to_bed_out}", mode: 'copy'
}
input:
tuple val(file_id), path(gff)
output:
tuple val(file_id), path("*.bed"), emit: bed
script:
"""
agat_convert_sp_gff2bed.pl --gff ${gff} -o ${gff.simpleName}.bed
"""
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment