Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
8fc17a50
Commit
8fc17a50
authored
May 11, 2016
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed file names
parent
ab0764f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
toucan/src/main/scala/nl/lumc/sasc/biopet/pipelines/toucan/Toucan.scala
...n/scala/nl/lumc/sasc/biopet/pipelines/toucan/Toucan.scala
+7
-5
No files found.
toucan/src/main/scala/nl/lumc/sasc/biopet/pipelines/toucan/Toucan.scala
View file @
8fc17a50
...
...
@@ -45,11 +45,13 @@ class Toucan(val root: Configurable) extends QScript with BiopetQScript with Sum
@Input
(
doc
=
"Input GVCF file"
,
shortName
=
"gvcf"
,
required
=
false
)
var
inputGvcf
:
Option
[
File
]
=
None
def
outputName
=
inputVcf
.
getName
.
stripSuffix
(
".vcf.gz"
)
def
outputVcf
:
File
=
(
gonlVcfFile
,
exacVcfFile
)
match
{
case
(
Some
(
_
),
Some
(
_
))
=>
swapExt
(
outputDir
,
inputVcf
,
".vcf.gz"
,
"
.vep.normalized.gonl.exac.vcf.gz"
)
case
(
Some
(
_
),
_
)
=>
swapExt
(
outputDir
,
inputVcf
,
".vcf.gz"
,
"
.vep.normalized.gonl.vcf.gz"
)
case
(
_
,
Some
(
_
))
=>
swapExt
(
outputDir
,
inputVcf
,
".vcf.gz"
,
"
.vep.normalized.exac.vcf.gz"
)
case
_
=>
swapExt
(
outputDir
,
inputVcf
,
".vcf.gz"
,
"
.vep.normalized.vcf.gz"
)
case
(
Some
(
_
),
Some
(
_
))
=>
new
File
(
outputDir
,
s
"$outputName
.vep.normalized.gonl.exac.vcf.gz"
)
case
(
Some
(
_
),
_
)
=>
new
File
(
outputDir
,
s
"$outputName
.vep.normalized.gonl.vcf.gz"
)
case
(
_
,
Some
(
_
))
=>
new
File
(
outputDir
,
s
"$outputName
.vep.normalized.exac.vcf.gz"
)
case
_
=>
new
File
(
outputDir
,
s
"$outputName
.vep.normalized.vcf.gz"
)
}
lazy
val
minScatterGenomeSize
:
Long
=
config
(
"min_scatter_genome_size"
,
default
=
75000000
)
...
...
@@ -114,7 +116,7 @@ class Toucan(val root: Configurable) extends QScript with BiopetQScript with Sum
cv
.
variant
=
outputVcfFiles
.
toList
cv
.
outputFile
=
outputVcf
add
(
cv
)
}
else
runChunk
(
useVcf
,
outputDir
,
"toucan"
)
}
else
runChunk
(
useVcf
,
outputDir
,
outputName
)
addSummaryJobs
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment