Skip to content

Commit

Permalink
Fixing Dockerfile, travis tests, MultiQC config for docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed May 11, 2017
1 parent 7bab7d0 commit b9b511c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ RUN mkdir /opt/bowtie2 && \
RUN mkdir /opt/Bismark && \
curl -fsSL https://github.com/FelixKrueger/Bismark/archive/0.17.0.zip -o /opt/Bismark/bismark.zip && \
unzip /opt/Bismark/bismark.zip -d /opt/Bismark && \
echo "export PATH=/opt/Bismark/Bismark-0.17.0:$PATH" >> ~/.bashrc && \
rm /opt/Bismark/bismark.zip
ENV PATH="/opt/Bismark/Bismark-0.17.0:${PATH}"

# Install Qualimap
RUN mkdir /opt/Qualimap && \
Expand Down
6 changes: 4 additions & 2 deletions bismark.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ params.bismark_index = params.genome ? params.genomes[ params.genome ].bismark ?
params.saveReference = false
params.reads = "data/*_R{1,2}.fastq.gz"
params.outdir = './results'
params.multiqc_config = "$baseDir/conf/multiqc_config.yaml"
params.notrim = false
params.nodedup = false
params.unmapped = false
Expand All @@ -47,6 +48,7 @@ if( params.bismark_index ){
} else {
exit 1, "No reference genome specified! Please use --genome or --bismark_index"
}
multiqc_config = file(params.multiqc_config)

params.rrbs = false
params.pbat = false
Expand Down Expand Up @@ -395,6 +397,7 @@ process multiqc {
echo true

input:
file multiqc_config
file (fastqc:'fastqc/*') from fastqc_results.collect()
file ('trimgalore/*') from trimgalore_results.collect()
file ('bismark/*') from bismark_align_log_3.collect()
Expand All @@ -412,8 +415,7 @@ process multiqc {
script:
prefix = fastqc[0].toString() - '_fastqc.html' - 'fastqc/'
"""
cp $baseDir/conf/multiqc_config.yaml multiqc_config.yaml
multiqc -f . 2>&1
multiqc -f -c $multiqc_config . 2>&1
"""
}

Expand Down

0 comments on commit b9b511c

Please sign in to comment.