Skip to content

Commit

Permalink
Merge pull request #23 from CCBR/dev/feature-SVCNV
Browse files Browse the repository at this point in the history
Dev/feature svcnv
  • Loading branch information
dnousome authored Dec 6, 2023
2 parents a55b5d4 + f06b472 commit 07aa992
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions docker/logan_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ RUN wget https://github.com/biod/sambamba/releases/download/v0.8.1/sambamba-0.8.
&& mv /opt2/sambamba-0.8.1-linux-amd64-static /opt2/sambamba \
&& chmod a+rx /opt2/sambamba

# Install GATK4 (GATK/4.4.0.0)
# Requires Java17
RUN wget https://github.com/broadinstitute/gatk/releases/download/4.4.0.0/gatk-4.4.0.0.zip \
&& unzip /opt2/gatk-4.4.0.0.zip \
&& rm /opt2/gatk-4.4.0.0.zip \
&& /opt2/gatk-4.4.0.0/gatk --list
ENV PATH="/opt2/gatk-4.4.0.0:$PATH"

# Use DISCVRSeq For CombineVariants Replacement
RUN wget https://github.com/BimberLab/DISCVRSeq/releases/download/1.3.62/DISCVRSeq-1.3.62.jar
ENV DISCVRSeq_JAR="/opt2/DISCVRSeq-1.3.62.jar"
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ profiles {
autoMounts = true
cacheDir = "$PWD/singularity"
envWhitelist='https_proxy,http_proxy,ftp_proxy,DISPLAY,SLURM_JOBID'
runOptions = '-B /gs10,/gs11,/gs12,/gs8,/gs9,/spin1,/data/CCBR_Pipeliner/,/data/CCBR_Pipeliner/Pipelines/XAVIER/resources/,/data/nousomedr/,/data/CCBR/projects/,/vf/users,/gpfs,/fdb'
runOptions = '-B /gs10,/gs11,/gs12,/gs9,/spin1,/data/CCBR_Pipeliner/,/data/CCBR_Pipeliner/Pipelines/XAVIER/resources/,/data/nousomedr/,/data/CCBR/projects/,/vf/users,/gpfs,/fdb'
}
}

Expand Down Expand Up @@ -276,7 +276,7 @@ profiles {
autoMounts = true
cacheDir = "$PWD/singularity"
envWhitelist='https_proxy,http_proxy,ftp_proxy,DISPLAY,SLURM_JOBID'
runOptions = '-B /gs10,/gs11,/gs12,/gs8,/gs9,/spin1,/data/CCBR_Pipeliner/,/data/CCBR_Pipeliner/Pipelines/XAVIER/resources/,/data/nousomedr/,/data/CCBR/projects/,/vf/users,/gpfs,/fdb'
runOptions = '-B /gs10,/gs11,/gs12,/gs9,/spin1,/data/CCBR_Pipeliner/,/data/CCBR_Pipeliner/Pipelines/XAVIER/resources/,/data/nousomedr/,/data/CCBR/projects/,/vf/users,/gpfs,/fdb'
}
}

Expand Down
8 changes: 4 additions & 4 deletions workflow/modules/workflows_tonly.nf
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ workflow VC_TONLY {


emit:
somaticcall_input=combineVariants_octopus.out
somaticcall_input=octopus_in_tonly


}
Expand Down Expand Up @@ -320,10 +320,10 @@ workflow INPUT_TONLY_BAM {
main:
//Either BAM Input or File sheet input
if(params.bam_input){
bambai=params.bam_input +".bai"
bambai = params.bam_input +".bai"
baionly = bambai.replace(".bam", "")
bamcheck1=file(bambai)
bamcheck2=file(baionly)
bamcheck1 = file(bambai)
bamcheck2 = file(baionly)

if (bamcheck1.size()>0){
baminputonly=Channel.fromPath(params.bam_input)
Expand Down

0 comments on commit 07aa992

Please sign in to comment.