Skip to content
GitLab
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
fe78d034
Commit
fe78d034
authored
Nov 17, 2014
by
Peter van 't Hof
Browse files
Changed default fill char
parent
8552aa61
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/utils/VcfUtils.scala
View file @
fe78d034
...
...
@@ -17,7 +17,7 @@ object VcfUtils {
alleles
(
longestAlleleId
)
}
def
fillAllele
(
bases
:
String
,
newSize
:
Int
,
fillWith
:
Char
=
'
N
'
)
:
String
=
{
def
fillAllele
(
bases
:
String
,
newSize
:
Int
,
fillWith
:
Char
=
'
-
'
)
:
String
=
{
bases
+
(
Array
.
fill
[
Char
](
newSize
-
bases
.
size
)(
fillWith
)).
mkString
}
}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment