Skip to content
Snippets Groups Projects
Select Git revision
  • f17ea6ff25bd2229464e64c6594ad34098d2b2ea
  • master default protected
  • fmortreu-master-patch-11d2
  • origin_hicstuff
  • dev
  • modified_containers
  • hicstuff
  • nico
  • TEMPLATE
  • nf-core-template-merge-2.7.2
  • nf-core-template-merge-2.7.1
  • nf-core-template-merge-2.6
  • nf-core-template-merge-2.5.1
  • nf-core-template-merge-2.5
  • nf-core-template-merge-2.4
  • nf-core-template-merge-2.3.2
  • nf-core-template-merge-2.3.1
  • nf-core-template-merge-2.3
  • nf-core-template-merge-2.2
  • nf-core-template-merge-2.1
  • nf-core-template-merge-2.0.1
  • 1.3.0
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.0
27 results

main.nf

Blame
  • user avatar
    nservant authored
    48c932dd
    History
    main.nf 1.95 KiB
    #!/usr/bin/env nextflow
    /*
    ========================================================================================
        nf-core/hic
    ========================================================================================
        Github : https://github.com/nf-core/hic
        Website: https://nf-co.re/hic
        Slack  : https://nfcore.slack.com/channels/hic
    ----------------------------------------------------------------------------------------
    */
    
    nextflow.enable.dsl = 2
    
    /*
    ========================================================================================
        GENOME PARAMETER VALUES
    ========================================================================================
    */
    
    params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
    params.bwt2_index = WorkflowMain.getGenomeAttribute(params, 'bowtie2')
    
    /*
    ========================================================================================
        VALIDATE & PRINT PARAMETER SUMMARY
    ========================================================================================
    */
    
    WorkflowMain.initialise(workflow, params, log)
    
    /*
    ========================================================================================
        NAMED WORKFLOW FOR PIPELINE
    ========================================================================================
    */
    
    include { HIC } from './workflows/hic'
    
    //
    // WORKFLOW: Run main nf-core/hic analysis pipeline
    //
    workflow NFCORE_HIC {
        HIC ()
    }
    
    /*
    ========================================================================================
        RUN ALL WORKFLOWS
    ========================================================================================
    */
    
    //
    // WORKFLOW: Execute a single named workflow for the pipeline
    // See: https://github.com/nf-core/rnaseq/issues/619
    //
    workflow {
        NFCORE_HIC ()
    }
    
    /*
    ========================================================================================
        THE END
    ========================================================================================
    */