pipeline for MintChIP
R, ChIPQC[http://bioconductor.org/packages/release/bioc/html/ChIPQC.html]
git clone https://github.com/jianhong/MintChIP.git
edit the nextflow.config file depend on your local setting.
barcode file should be a text file with two columns: sample_Name and barcode. sample file is bar.txt
put the original fastq files in the folder of ${dataDir}/fastq/original/
put the inputs for the samples with inputs. sample file is inputs.txt. The column should be treatment fastq file name, treatment barcode file name, input fastq file name, input barcode file name.
put additional parameters for findPeaks or trimmomatic in a text file. sample file is findPeaks.txt. The delimiter must be tab.
nextflow run main.nf --dataDir fastq/original --barcode bar.txt
nextflow run main.nf --dataDir fastq/original --barcode bar.txt --inputs inputs.txt
nextflow run main.nf --dataDir fastq/original --barcode bar.txt --findPeaks findPeaks.txt
nextflow run main.nf --dataDir fastq/original --barcode bar.txt --trim trimmomatic.txt
The output files will be in the folder of results be default. You can change it in the nextflow.config file.