diff --git a/astrocyte_package.yml b/astrocyte_package.yml index 697e657ea785527d6ec90ad787266ed4ca242c84..9e99a113ca25306a06e095e5ba723fb6e5474790 100644 --- a/astrocyte_package.yml +++ b/astrocyte_package.yml @@ -17,7 +17,7 @@ title: 'BICF ChIP-seq Analysis Workflow' # A summary of the workflow package in plain text description: | This is a workflow package for the BioHPC/BICF ChIP-seq workflow system. - It implements a simple ChIP-seq analysis workflow using deepTools, Diffbind, ChipSeeker MAnorm and MEME-CHIP, visualization application. + It implements a simple ChIP-seq analysis workflow using deepTools, Diffbind, ChipSeeker MAnorm and HOMER, visualization application. # ----------------------------------------------------------------------------- # DOCUMENTATION @@ -40,6 +40,7 @@ documentation_files: # Specify versioned module names to ensure reproducability. workflow_modules: - 'deeptools/2.3.5' + - 'homer/4.7' # A list of parameters used by the workflow, defining how to present them, # options etc in the web interface. For each parameter: # @@ -86,7 +87,7 @@ workflow_parameters: - id: design type: file required: true - regex: ".*txt" + regex: ".*csv" description: | A design file listing pairs of sample name and sample group. Columns must include: SampleID,SampleName,SampleGroup,FullPathToFqR1,FullPathToFqR2 diff --git a/workflow/main.nf b/workflow/main.nf index 0c1825b2515616f9be665d9058c7a17ae2bbd66a..658835264a92f08f1dfecc433e7ea7fc944345fa 100644 --- a/workflow/main.nf +++ b/workflow/main.nf @@ -75,6 +75,18 @@ process peakanno { """ } +//Run deeptools for QC and other plots +//Since this problem also need all input files, need to build another channel? +process deeptools { + publishDir "$baseDir/output", mode: 'copy' + input: + file peak_file from input + file bam_file from imput + output: + set + +} + //Need to do it with more than 1 condition process diffbind { publishDir "$baseDir/output", mode: 'copy'