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
82437aa9
Commit
82437aa9
authored
Mar 03, 2015
by
bow
Browse files
Move Gentrap-specific scripts and their wrappers to the Gentrap package
parent
a517be04
Changes
10
Hide whitespace changes
Inline
Side-by-side
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/aggr_base_count.R
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/aggr_base_count.R
View file @
82437aa9
File moved
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/bam_rna.py
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/bam_rna.py
View file @
82437aa9
File moved
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/gc_dist.py
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/gc_dist.py
View file @
82437aa9
File moved
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/insert_dist.py
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/insert_dist.py
View file @
82437aa9
File moved
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/parse_cuffcmp.py
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/parse_cuffcmp.py
View file @
82437aa9
File moved
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/pdf_report.py
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/pdf_report.py
View file @
82437aa9
File moved
public/
biopet-framework
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/rna_metrics.py
→
public/
gentrap
/src/main/resources/nl/lumc/sasc/biopet/pipelines/gentrap/scripts/rna_metrics.py
View file @
82437aa9
File moved
public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
View file @
82437aa9
...
...
@@ -132,20 +132,20 @@ class Gentrap(val root: Configurable) extends QScript with MultiSampleQScript wi
/** Adds output merge jobs for the given expression mode */
// TODO: can we combine the enum with the file extension (to reduce duplication and potential errors)
def
makeMergeTableJob
(
inFunc
:
(
Sample
=>
Option
[
File
]),
ext
:
String
,
idCols
:
List
[
Int
],
valCol
:
Int
,
outBaseName
:
String
=
"all_samples"
)
:
Option
[
MergeTables
]
=
{
outBaseName
:
String
=
"all_samples"
)
:
Option
[
MergeTables
]
=
{
val
tables
=
samples
.
values
.
map
{
inFunc
}.
toList
.
flatten
tables
.
nonEmpty
.
option
{
val
job
=
new
MergeTables
(
qscript
)
job
.
inputTables
=
tables
job
.
output
=
new
File
(
outputDir
,
outBaseName
+
ext
)
job
.
idColumnIndices
=
idCols
.
map
(
_
.
toString
)
job
.
valueColumnIndex
=
valCol
job
.
fileExtension
=
Option
(
ext
)
// TODO: separate the addition into another function?
add
(
job
)
job
}
val
job
=
new
MergeTables
(
qscript
)
job
.
inputTables
=
tables
job
.
output
=
new
File
(
outputDir
,
outBaseName
+
ext
)
job
.
idColumnIndices
=
idCols
.
map
(
_
.
toString
)
job
.
valueColumnIndex
=
valCol
job
.
fileExtension
=
Option
(
ext
)
// TODO: separate the addition into another function?
add
(
job
)
job
}
}
// merge htseq outputs
...
...
public/
biopet-framework
/src/main/scala/nl/lumc/sasc/biopet/scripts/AggrBaseCount.scala
→
public/
gentrap
/src/main/scala/nl/lumc/sasc/biopet/
pipelines/gentrap/
scripts/AggrBaseCount.scala
View file @
82437aa9
...
...
@@ -7,9 +7,10 @@
package
nl.lumc.sasc.biopet.pipelines.gentrap.scripts
import
java.io.File
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
import
nl.lumc.sasc.biopet.core.config.Configurable
import
nl.lumc.sasc.biopet.extensions.RScriptCommandLineFunction
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
/**
* Wrapper for the aggr_base_count.R script, used internally in Gentrap
...
...
public/
biopet-framework
/src/main/scala/nl/lumc/sasc/biopet/scripts/Hist2Count.scala
→
public/
gentrap
/src/main/scala/nl/lumc/sasc/biopet/
pipelines/gentrap/
scripts/Hist2Count.scala
View file @
82437aa9
...
...
@@ -7,9 +7,10 @@
package
nl.lumc.sasc.biopet.pipelines.gentrap.scripts
import
java.io.File
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
import
nl.lumc.sasc.biopet.core.config.Configurable
import
nl.lumc.sasc.biopet.extensions.PythonCommandLineFunction
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
/**
* Wrapper for the hist2count.py script, used internally in Gentrap
...
...
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