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
b0e7d37d
Commit
b0e7d37d
authored
Aug 26, 2016
by
Peter van 't Hof
Browse files
Fix format
parent
2a3db002
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala
View file @
b0e7d37d
...
...
@@ -63,7 +63,7 @@ object ExtractAlignedFastq extends ToolCommand {
def
intFromCoord
(
s
:
String
)
:
Int
=
s
.
replaceAll
(
","
,
""
).
replaceAll
(
"\\."
,
""
).
toInt
inStrings
.
map
{
case
ptn1
(
chr
,
start
,
end
)
if
intFromCoord
(
end
)
>=
intFromCoord
(
start
)
=>
new
Interval
(
chr
,
intFromCoord
(
start
),
intFromCoord
(
end
))
case
ptn1
(
chr
,
start
,
end
)
if
intFromCoord
(
end
)
>=
intFromCoord
(
start
)
=>
new
Interval
(
chr
,
intFromCoord
(
start
),
intFromCoord
(
end
))
case
ptn2
(
chr
,
start
)
=>
val
startCoord
=
intFromCoord
(
start
)
new
Interval
(
chr
,
startCoord
,
startCoord
)
...
...
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