Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
e4c45c85
Commit
e4c45c85
authored
Feb 26, 2015
by
Peter van 't Hof
Browse files
Add more options
parent
285e2e4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/Gatk.scala
View file @
e4c45c85
...
...
@@ -9,18 +9,35 @@ import org.broadinstitute.gatk.utils.commandline.Input
/**
* Created by pjvan_thof on 2/26/15.
*/
class
Gatk
(
val
root
:
Configurable
)
extends
BiopetJavaCommandLineFunction
{
abstract
class
Gatk
extends
BiopetJavaCommandLineFunction
{
override
def
subPath
=
"gatk"
::
super
.
subPath
jarFile
=
config
(
"gatk_jar"
)
val
analysisType
:
String
override
val
defaultVmem
=
"5G"
@Input
(
required
=
true
)
val
reference
:
File
=
config
(
"reference"
)
var
reference
:
File
=
config
(
"reference"
)
@Input
(
required
=
false
)
var
gatkKey
:
File
=
config
(
"gatk_key"
)
@Input
(
required
=
false
)
va
l
gatkKey
:
File
=
config
(
"
gatk_key
"
)
va
r
intervals
:
List
[
File
]
=
config
(
"
intervals
"
)
//val intervals: List[File] = config("intervals")
@Input
(
required
=
false
)
var
excludeIntervals
:
List
[
File
]
=
config
(
"exclude_intervals"
)
@Input
(
required
=
false
)
var
pedigree
:
List
[
File
]
=
config
(
"pedigree"
)
override
def
commandLine
=
super
.
commandLine
+
required
(
"-T"
,
analysisType
)
+
required
(
"-R"
,
reference
)
+
optional
(
"-K"
,
gatkKey
)
+
repeat
(
"-I"
,
intervals
)
+
repeat
(
"-XL"
,
excludeIntervals
)
+
repeat
(
"-ped"
,
pedigree
)
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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