Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
d4901714
Commit
d4901714
authored
9 years ago
by
Wai Yi Leung
Browse files
Options
Downloads
Patches
Plain Diff
Add pindel2vcf to pipeline
parent
2e9fffdb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/svcallers/Pindel.scala
+15
-4
15 additions, 4 deletions
...l/lumc/sasc/biopet/pipelines/shiva/svcallers/Pindel.scala
with
15 additions
and
4 deletions
public/shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/svcallers/Pindel.scala
+
15
−
4
View file @
d4901714
...
...
@@ -16,11 +16,12 @@
package
nl.lumc.sasc.biopet.pipelines.shiva.svcallers
import
java.io.File
import
java.text.SimpleDateFormat
import
java.util.Calendar
import
nl.lumc.sasc.biopet.core.
{
BiopetQScript
,
PipelineCommand
}
import
nl.lumc.sasc.biopet.extensions.pindel.
{
PindelCaller
,
PindelCaller
$
,
PindelConfig
}
import
nl.lumc.sasc.biopet.core.PipelineCommand
import
nl.lumc.sasc.biopet.extensions.pindel.
_
import
nl.lumc.sasc.biopet.utils.config.Configurable
import
org.broadinstitute.gatk.queue.QScript
/// Pindel is actually a mini pipeline executing binaries from the pindel package
class
Pindel
(
val
root
:
Configurable
)
extends
SvCaller
{
...
...
@@ -32,7 +33,7 @@ class Pindel(val root: Configurable) extends SvCaller {
for
((
sample
,
bamFile
)
<-
inputBams
)
{
val
pindelDir
=
new
File
(
outputDir
,
sample
)
val
config_file
:
File
=
new
File
(
outputDir
+
"."
+
sample
+
".pindel.cfg"
)
val
config_file
:
File
=
new
File
(
pindelDir
,
sample
+
".pindel.cfg"
)
val
cfg
=
new
PindelConfig
(
this
)
cfg
.
input
=
bamFile
...
...
@@ -44,6 +45,16 @@ class Pindel(val root: Configurable) extends SvCaller {
val
pindel
=
PindelCaller
(
this
,
cfg
.
output
,
pindelDir
)
add
(
pindel
)
// Current date
val
today
=
Calendar
.
getInstance
().
getTime
()
val
todayformat
=
new
SimpleDateFormat
(
"yyyyMMdd"
)
val
pindelVcf
=
new
PindelVCF
(
this
)
pindelVcf
.
pindelOutputRoot
=
Some
(
pindelDir
)
pindelVcf
.
referenceDate
=
todayformat
.
format
(
today
)
// officially, we should enter the date of the genome here
pindelVcf
.
outputVCF
=
new
File
(
pindelDir
,
s
"${sample}.pindel.vcf"
)
add
(
pindelVcf
)
}
}
...
...
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