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
07c70b86
Commit
07c70b86
authored
9 years ago
by
Wai Yi Leung
Browse files
Options
Downloads
Patches
Plain Diff
Code style change and avoid "empty" File definition
parent
9f572fe3
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/gears/src/main/scala/nl/lumc/sasc/biopet/pipelines/gears/GearsTrait.scala
+16
-16
16 additions, 16 deletions
...cala/nl/lumc/sasc/biopet/pipelines/gears/GearsTrait.scala
with
16 additions
and
16 deletions
public/gears/src/main/scala/nl/lumc/sasc/biopet/pipelines/gears/GearsTrait.scala
+
16
−
16
View file @
07c70b86
...
...
@@ -31,7 +31,7 @@ import nl.lumc.sasc.biopet.tools.FastqSync
import
org.broadinstitute.gatk.queue.QScript
import
org.broadinstitute.gatk.queue.function.QFunction
import
scala.collection.JavaConversions._
//import scala.language.reflectiveCalls
/**
* This is a trait for the Gears pipeline
* The ShivaTrait is used as template for this pipeline
...
...
@@ -246,23 +246,23 @@ trait GearsTrait extends MultiSampleQScript with SummaryQScript { qscript =>
private
def
makeCombineJob
(
inFiles
:
List
[
File
],
outFile
:
File
,
mergeSortOrder
:
String
=
"coordinate"
)
:
Ln
=
{
require
(
inFiles
.
nonEmpty
,
"At least one input files for combine job"
)
va
r
input
:
File
=
new
File
(
""
)
if
(
inFiles
.
size
==
1
)
{
input
=
inFiles
.
head
}
else
{
val
mergedBam
=
createFile
(
".merged.bam"
)
val
job
=
new
MergeSamFiles
(
qscript
)
job
.
in
put
=
inFiles
job
.
output
=
mergedBam
job
.
sortOrder
=
mergeSortOrder
input
=
job
.
output
va
l
input
:
File
=
{
if
(
inFiles
.
size
==
1
)
inFiles
.
head
else
{
val
mergedBam
=
createFile
(
".merged.bam"
)
val
job
=
new
MergeSamFiles
(
qscript
)
job
.
input
=
inFiles
job
.
out
put
=
mergedBam
job
.
sortOrder
=
mergeSortOrder
job
.
output
}
}
val
j
ob
=
new
Ln
(
qscript
)
j
ob
.
input
=
input
j
ob
.
output
=
outFile
j
ob
val
linkJ
ob
=
new
Ln
(
qscript
)
linkJ
ob
.
input
=
input
linkJ
ob
.
output
=
outFile
linkJ
ob
}
...
...
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