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
f7f087b2
Commit
f7f087b2
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Added intermediates in creator object
parent
c4c4c974
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mapping/src/main/scala/nl/lumc/sasc/biopet/function/aligners/Star.scala
+6
-2
6 additions, 2 deletions
...in/scala/nl/lumc/sasc/biopet/function/aligners/Star.scala
with
6 additions
and
2 deletions
mapping/src/main/scala/nl/lumc/sasc/biopet/function/aligners/Star.scala
+
6
−
2
View file @
f7f087b2
...
...
@@ -82,28 +82,32 @@ class Star(val root:Configurable) extends BiopetCommandLineFunction {
}
object
Star
{
def
apply
(
configurable
:
Configurable
,
R1
:
File
,
R2
:
File
,
outputDir
:
String
)
:
Star
=
{
def
apply
(
configurable
:
Configurable
,
R1
:
File
,
R2
:
File
,
outputDir
:
String
,
isIntermediate
:
Boolean
=
false
)
:
Star
=
{
val
star
=
new
Star
(
configurable
)
star
.
R1
=
R1
if
(
R2
!=
null
)
star
.
R2
=
R2
star
.
outputDir
=
outputDir
star
.
isIntermediate
=
isIntermediate
star
.
afterGraph
return
star
}
def
_2pass
(
configurable
:
Configurable
,
R1
:
File
,
R2
:
File
,
outputDir
:
String
)
:
(
File
,
List
[
Star
])
=
{
def
_2pass
(
configurable
:
Configurable
,
R1
:
File
,
R2
:
File
,
outputDir
:
String
,
isIntermediate
:
Boolean
=
false
)
:
(
File
,
List
[
Star
])
=
{
val
outDir
=
if
(
outputDir
.
endsWith
(
"/"
))
outputDir
else
outputDir
+
"/"
val
starCommand_pass1
=
Star
(
configurable
,
R1
,
if
(
R2
!=
null
)
R2
else
null
,
outDir
+
"aln-pass1/"
)
starCommand_pass1
.
isIntermediate
=
isIntermediate
starCommand_pass1
.
afterGraph
val
starCommand_reindex
=
new
Star
(
configurable
)
starCommand_reindex
.
sjdbFileChrStartEnd
=
starCommand_pass1
.
outputTab
starCommand_reindex
.
outputDir
=
outDir
+
"re-index/"
starCommand_reindex
.
runmode
=
"genomeGenerate"
starCommand_reindex
.
isIntermediate
=
isIntermediate
starCommand_reindex
.
afterGraph
val
starCommand_pass2
=
Star
(
configurable
,
R1
,
if
(
R2
!=
null
)
R2
else
null
,
outDir
+
"aln-pass2/"
)
starCommand_pass2
.
genomeDir
=
starCommand_reindex
.
outputDir
starCommand_pass2
.
isIntermediate
=
isIntermediate
starCommand_pass2
.
afterGraph
return
(
starCommand_pass2
.
outputSam
,
List
(
starCommand_pass1
,
starCommand_reindex
,
starCommand_pass2
))
...
...
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