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
ca7bba56
Commit
ca7bba56
authored
9 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Init for mini pipeline for combining reads
parent
b5c6727b
No related branches found
No related tags found
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/CombineReads.scala
+40
-0
40 additions, 0 deletions
...la/nl/lumc/sasc/biopet/pipelines/gears/CombineReads.scala
with
40 additions
and
0 deletions
public/gears/src/main/scala/nl/lumc/sasc/biopet/pipelines/gears/CombineReads.scala
0 → 100644
+
40
−
0
View file @
ca7bba56
package
nl.lumc.sasc.biopet.pipelines.gears
import
nl.lumc.sasc.biopet.core.SampleLibraryTag
import
nl.lumc.sasc.biopet.core.summary.SummaryQScript
import
nl.lumc.sasc.biopet.extensions.Flash
import
nl.lumc.sasc.biopet.utils.config.Configurable
import
org.broadinstitute.gatk.queue.QScript
/**
* Created by pjvanthof on 29/12/15.
*/
class
CombineReads
(
val
root
:
Configurable
)
extends
QScript
with
SummaryQScript
with
SampleLibraryTag
{
@Input
(
doc
=
"R1 reads in FastQ format"
,
shortName
=
"R1"
,
required
=
false
)
var
fastqR1
:
File
=
_
@Input
(
doc
=
"R2 reads in FastQ format"
,
shortName
=
"R2"
,
required
=
false
)
var
fastqR2
:
File
=
_
/** Init for pipeline */
def
init
()
:
Unit
=
{
}
/** Pipeline itself */
def
biopetScript
()
:
Unit
=
{
val
flash
=
new
Flash
(
this
)
flash
.
outputDirectory
=
new
File
(
outputDir
,
"flash"
)
flash
.
fastqR1
=
fastqR1
flash
.
fastqR2
=
fastqR2
add
(
flash
)
}
/** Must return a map with used settings for this pipeline */
def
summarySettings
:
Map
[
String
,
Any
]
=
Map
()
/** File to put in the summary for thie pipeline */
def
summaryFiles
:
Map
[
String
,
File
]
=
Map
()
/** Name of summary output file */
def
summaryFile
:
File
=
new
File
(
outputDir
,
"combine_reads.summary.json"
)
}
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