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
f6fc4c5e
Commit
f6fc4c5e
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Fix picard version, only work with a picard jar
parent
a10bd09e
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/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala
+8
-4
8 additions, 4 deletions
.../scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala
with
8 additions
and
4 deletions
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala
+
8
−
4
View file @
f6fc4c5e
...
...
@@ -30,6 +30,8 @@ import scala.io.Source
abstract
class
Picard
extends
BiopetJavaCommandLineFunction
{
override
def
subPath
=
"picard"
::
super
.
subPath
if
(
config
.
contains
(
"picard_jar"
))
jarFile
=
config
(
"picard_jar"
)
@Argument
(
doc
=
"VERBOSITY"
,
required
=
false
)
var
verbosity
:
Option
[
String
]
=
config
(
"verbosity"
)
...
...
@@ -51,10 +53,12 @@ abstract class Picard extends BiopetJavaCommandLineFunction {
@Argument
(
doc
=
"CREATE_MD5_FILE"
,
required
=
false
)
var
createMd5
:
Boolean
=
config
(
"createmd5"
,
default
=
false
)
//FIXME: picard version
// override def versionCommand = executable + " " + javaOpts + " " + javaExecutable + " -h"
// override val versionRegex = """Version: (.*)""".r
// override val versionExitcode = List(0, 1)
override
def
versionCommand
=
{
if
(
jarFile
!=
null
)
executable
+
" -cp "
+
jarFile
+
" "
+
javaMainClass
+
" -h"
else
null
}
override
val
versionRegex
=
"""Version: (.*)"""
.
r
override
val
versionExitcode
=
List
(
0
,
1
)
override
val
defaultVmem
=
"8G"
memoryLimit
=
Option
(
3.0
)
...
...
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