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
9cae1c11
Commit
9cae1c11
authored
9 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Gentrap test are now divided over 7 threads
parent
f8785ed4
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/gentrap/src/test/scala/nl/lumc/sasc/biopet/pipelines/gentrap/GentrapTest.scala
+11
-3
11 additions, 3 deletions
...a/nl/lumc/sasc/biopet/pipelines/gentrap/GentrapTest.scala
with
11 additions
and
3 deletions
public/gentrap/src/test/scala/nl/lumc/sasc/biopet/pipelines/gentrap/GentrapTest.scala
+
11
−
3
View file @
9cae1c11
...
@@ -28,7 +28,7 @@ import org.scalatest.Matchers
...
@@ -28,7 +28,7 @@ import org.scalatest.Matchers
import
org.scalatest.testng.TestNGSuite
import
org.scalatest.testng.TestNGSuite
import
org.testng.annotations.
{
AfterClass
,
DataProvider
,
Test
}
import
org.testng.annotations.
{
AfterClass
,
DataProvider
,
Test
}
class
GentrapTest
extends
TestNGSuite
with
Matchers
{
abstract
class
GentrapTest
Abstract
(
val
expressionMeasure
:
String
)
extends
TestNGSuite
with
Matchers
{
def
initPipeline
(
map
:
Map
[
String
,
Any
])
:
Gentrap
=
{
def
initPipeline
(
map
:
Map
[
String
,
Any
])
:
Gentrap
=
{
new
Gentrap
()
{
new
Gentrap
()
{
...
@@ -70,7 +70,7 @@ class GentrapTest extends TestNGSuite with Matchers {
...
@@ -70,7 +70,7 @@ class GentrapTest extends TestNGSuite with Matchers {
.
toMap
.
toMap
)
)
private
lazy
val
validExpressionMeasures
=
Set
(
val
validExpressionMeasures
=
Set
(
"fragments_per_gene"
,
"fragments_per_exon"
,
"bases_per_gene"
,
"bases_per_exon"
,
"fragments_per_gene"
,
"fragments_per_exon"
,
"bases_per_gene"
,
"bases_per_exon"
,
"cufflinks_strict"
,
"cufflinks_guided"
,
"cufflinks_blind"
)
"cufflinks_strict"
,
"cufflinks_guided"
,
"cufflinks_blind"
)
...
@@ -96,7 +96,7 @@ class GentrapTest extends TestNGSuite with Matchers {
...
@@ -96,7 +96,7 @@ class GentrapTest extends TestNGSuite with Matchers {
for
{
for
{
sampleConfig
<-
sampleConfigs
.
toArray
sampleConfig
<-
sampleConfigs
.
toArray
expressionMeasure
<-
expressionMeasures
//
expressionMeasure <- expressionMeasures
strandProtocol
<-
strandProtocols
strandProtocol
<-
strandProtocols
}
yield
Array
(
sampleConfig
,
List
(
expressionMeasure
),
strandProtocol
)
}
yield
Array
(
sampleConfig
,
List
(
expressionMeasure
),
strandProtocol
)
}
}
...
@@ -175,6 +175,14 @@ class GentrapTest extends TestNGSuite with Matchers {
...
@@ -175,6 +175,14 @@ class GentrapTest extends TestNGSuite with Matchers {
}
}
}
}
class
GentrapFragmentsPerGeneTest
extends
GentrapTestAbstract
(
"fragments_per_gene"
)
class
GentrapFragmentsPerExonTest
extends
GentrapTestAbstract
(
"fragments_per_exon"
)
class
GentrapBasesPerGeneTest
extends
GentrapTestAbstract
(
"bases_per_gene"
)
class
GentrapBasesPerExonTest
extends
GentrapTestAbstract
(
"bases_per_exon"
)
class
GentrapCufflinksStrictTest
extends
GentrapTestAbstract
(
"cufflinks_strict"
)
class
GentrapCufflinksGuidedTest
extends
GentrapTestAbstract
(
"cufflinks_guided"
)
class
GentrapCufflinksBlindTest
extends
GentrapTestAbstract
(
"cufflinks_blind"
)
object
GentrapTest
{
object
GentrapTest
{
val
outputDir
=
Files
.
createTempDir
()
val
outputDir
=
Files
.
createTempDir
()
new
File
(
outputDir
,
"input"
).
mkdirs
()
new
File
(
outputDir
,
"input"
).
mkdirs
()
...
...
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