Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
b0e7d37d
Commit
b0e7d37d
authored
Aug 26, 2016
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix format
parent
2a3db002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala
...scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala
+1
-1
No files found.
biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/ExtractAlignedFastq.scala
View file @
b0e7d37d
...
@@ -63,7 +63,7 @@ object ExtractAlignedFastq extends ToolCommand {
...
@@ -63,7 +63,7 @@ object ExtractAlignedFastq extends ToolCommand {
def
intFromCoord
(
s
:
String
)
:
Int
=
s
.
replaceAll
(
","
,
""
).
replaceAll
(
"\\."
,
""
).
toInt
def
intFromCoord
(
s
:
String
)
:
Int
=
s
.
replaceAll
(
","
,
""
).
replaceAll
(
"\\."
,
""
).
toInt
inStrings
.
map
{
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
)
=>
case
ptn2
(
chr
,
start
)
=>
val
startCoord
=
intFromCoord
(
start
)
val
startCoord
=
intFromCoord
(
start
)
new
Interval
(
chr
,
startCoord
,
startCoord
)
new
Interval
(
chr
,
startCoord
,
startCoord
)
...
...
Write
Preview
Markdown
is supported
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