Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cnvpipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SVdetection
cnvpipelines
Commits
8c64d91c
Commit
8c64d91c
authored
6 years ago
by
Floreal Cabanettes
Browse files
Options
Downloads
Patches
Plain Diff
Fix CNV pipeline
parent
4c95b317
No related branches found
No related tags found
1 merge request
!8
Connect cnv pipeline to global pipeline + make it generic
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
snakecnv/bin/cnvpipeline.sh
+36
-2
36 additions, 2 deletions
snakecnv/bin/cnvpipeline.sh
with
36 additions
and
2 deletions
snakecnv/bin/cnvpipeline.sh
+
36
−
2
View file @
8c64d91c
...
...
@@ -67,7 +67,10 @@ export LD_LIBRARY_PATH=/SGE/ogs/lib/linux-x64:$LD_LIBRARY_PATH
mx
=
"-Xmx4g"
classpath
=
"
${
SV_DIR
}
/lib/SVToolkit.jar:
${
SV_DIR
}
/lib/gatk/GenomeAnalysisTK.jar:
${
SV_DIR
}
/lib/gatk/Queue.jar"
echo
"-- Run CNVPipeline -- "
echo
"-- Run CNVPipeline -- "
if
[
-n
"
$SV_PARALLEL_DRMAA
"
]
&&
[
"
$SV_PARALLEL_DRMAA
"
-eq
"1"
]
;
then
LC_ALL
=
C java
-cp
${
classpath
}
${
mx
}
\
org.broadinstitute.gatk.queue.QCommandLine
\
-S
${
SV_DIR
}
/qscript/discovery/cnv/CNVDiscoveryPipeline.q
\
...
...
@@ -80,7 +83,36 @@ LC_ALL=C java -cp ${classpath} ${mx} \
-jobRunner
Drmaa
\
-gatkJobRunner
Drmaa
\
-jobQueue
workq
\
-jobNative
'-l mem=16G -l h_vmem=16G'
\
-jobNative
"
${
SV_PARALLEL_NATIVES
}
"
\
-R
${
reference_prefix
}
.fasta
\
-genderMaskBedFile
${
reference_prefix
}
.gendermask.bed
\
-genomeMaskFile
${
reference_prefix
}
.svmask.fasta
\
-genderMapFile
${
gendermap
}
\
-ploidyMapFile
${
reference_prefix
}
.ploidymap.txt
\
-md
${
metadata
}
\
-runDirectory
${
runDir
}
\
-jobLogDir
${
runDir
}
/logs
\
-I
${
inputFile
}
\
-intervalList
$intervallist
\
-tilingWindowSize
5000
\
-tilingWindowOverlap
2500
\
-maximumReferenceGapLength
2500
\
-boundaryPrecision
200
\
-minimumRefinedLength
2500
\
-run
\
||
exit
1
else
LC_ALL
=
C java
-cp
${
classpath
}
${
mx
}
\
org.broadinstitute.gatk.queue.QCommandLine
\
-S
${
SV_DIR
}
/qscript/discovery/cnv/CNVDiscoveryPipeline.q
\
-S
${
SV_DIR
}
/qscript/SVQScript.q
\
-cp
${
classpath
}
\
-gatk
${
SV_DIR
}
/lib/gatk/GenomeAnalysisTK.jar
\
-configFile
${
SV_DIR
}
/conf/genstrip_parameters.txt
\
--disableJobReport
\
-jobProject
Capri
\
-R
${
reference_prefix
}
.fasta
\
-genderMaskBedFile
${
reference_prefix
}
.gendermask.bed
\
-genomeMaskFile
${
reference_prefix
}
.svmask.fasta
\
...
...
@@ -99,6 +131,8 @@ LC_ALL=C java -cp ${classpath} ${mx} \
-run
\
||
exit
1
fi
sites
=
${
runDir
}
/results/gs_cnv.genotypes.vcf.gz
genotypes
=
${
outdir
}
/
${
outprefix
}
.vcf.gz
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment