Skip to content
Snippets Groups Projects
main.nf 1.67 KiB
Newer Older
Celine Noirot's avatar
Celine Noirot committed
#!/usr/bin/env nextflow
Celine Noirot's avatar
Celine Noirot committed

nextflow.enable.dsl = 2
Celine Noirot's avatar
Celine Noirot committed

/*
Copyright INRAE 2021

This software is a computer program whose purpose is to
analyze high-throughput sequencing data.
You can use, modify and/ or redistribute the software under the terms
of license (see the LICENSE file for more details).
The software is distributed in the hope that it will be useful,
but "AS IS" WITHOUT ANY WARRANTY OF ANY KIND.
Users are therefore encouraged to test the software's suitability as regards
their requirements in conditions enabling the security of their systems and/or data.
The fact that you are presently reading this means that you have had knowledge
of the license and that you accept its terms.
This script is based on : 
 - the nf-core guidelines . See https://nf-co.re/ for more information
 - the Curie institute template https://github.com/bioinfo-pf-curie/geniac-template/
Celine Noirot's avatar
Celine Noirot committed

import java.text.SimpleDateFormat
SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss")
include {createSummary} from "$baseDir/conf/functions.config"
params.summary = createSummary(format.format(new Date()))
params.summary.collect{k,v -> println "$k : $v"}

Celine Noirot's avatar
Celine Noirot committed

Celine Noirot's avatar
Celine Noirot committed
/*
========================================================================================
    NAMED WORKFLOW FOR PIPELINE
========================================================================================
Celine Noirot's avatar
Celine Noirot committed
*/
include { SHORT_READS_QC } from "$baseDir/workflow/illumina_qc.nf"
Celine Noirot's avatar
Celine Noirot committed

workflow PLAGE {
    SHORT_READS_QC()
Celine Noirot's avatar
Celine Noirot committed

/*
========================================================================================
    RUN ALL WORKFLOWS
========================================================================================
Jules Sabban's avatar
Jules Sabban committed
*/
Celine Noirot's avatar
Celine Noirot committed

Jules Sabban's avatar
Jules Sabban committed
workflow {