Skip to content

Commit

Permalink
fix for singularity/docker standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszChilinski committed Jul 24, 2024
1 parent 4d572a1 commit bbf9e70
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@ RUN pip3 install plumbum

RUN curl -s https://get.nextflow.io | bash && mv nextflow /opt/

RUN wget https://github.com/SFGLab/nf-hichip/archive/refs/tags/1.4.tar.gz && tar -xvzf 1.4.tar.gz && mv nf-hichip-1.4/* . && rm 1.4.tar.gz && rm -r nf-hichip-1.4
RUN wget https://github.com/SFGLab/nf-hichip/archive/refs/tags/1.5.tar.gz && tar -xvzf 1.4.tar.gz && mv nf-hichip-1.5/* . && rm 1.5.tar.gz && rm -r nf-hichip-1.5

RUN /opt/nextflow
8 changes: 4 additions & 4 deletions main.nf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Authors: Mateusz Chiliński (nextflow version) & Zofia Tojek (original version)

params.ref = "/app/hichip-nf-pipeline/ref/Homo_sapiens_assembly38.fasta"
params.ref = "/app/ref/Homo_sapiens_assembly38.fasta"
params.outdir = "results"
params.design = "/app/hichip-nf-pipeline/design_high.csv"
params.chrom_sizes = "/app/hichip-nf-pipeline/hg38.chrom.sizes"
params.design = "/app/design_high.csv"
params.chrom_sizes = "/app/hg38.chrom.sizes"
params.threads = 4
params.mem = 16
params.mapq = 30
Expand Down Expand Up @@ -181,7 +181,7 @@ process RunMapsSingleReplicate {
export BWA_INDEX=${params.ref}
export MAPQ=${params.mapq}
export THREADS=${params.threads}
/app/hichip-nf-pipeline/tasks/run_maps.sh > ${sample}_maps.txt
/app/tasks/run_maps.sh > ${sample}_maps.txt
mv MAPS_output/${sample}_current/${sample}.5k.2.sig3Dinteractions.bedpe .
"""
}
Expand Down
6 changes: 3 additions & 3 deletions main_chipseq.nf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Authors: Mateusz Chiliński (nextflow version) & Zofia Tojek (original version)

params.ref = "/app/hichip-nf-pipeline/ref/Homo_sapiens_assembly38.fasta"
params.ref = "/app/ref/Homo_sapiens_assembly38.fasta"
params.outdir = "results"
params.design = "/app/hichip-nf-pipeline/design_high.csv"
params.chrom_sizes = "/app/hichip-nf-pipeline/hg38.chrom.sizes"
params.design = "/app/design_high.csv"
params.chrom_sizes = "/app/hg38.chrom.sizes"
params.threads = 4
params.mem = 16
params.mapq = 30
Expand Down

0 comments on commit bbf9e70

Please sign in to comment.