Skip to content

Commit

Permalink
add index prefix tar parameter for RSEM
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed May 25, 2020
1 parent 35db323 commit 7b2cc54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflow/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "com.genomealmanac.rnaseq"
version = "1.1.4"
version = "1.1.5"
val artifactID = "rnaseq-workflow"

repositories {
Expand Down
4 changes: 3 additions & 1 deletion workflow/src/main/kotlin/workflow/task/Rsemquant.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ data class RsemQuantParams(
val strand: String = "unstranded",
val seed: Int? = null,
val cores: Int = 1,
val ramGb: Int = 16
val ramGb: Int = 16,
val indexTarPrefix: String? = null
)

data class RsemQuantInput(
Expand Down Expand Up @@ -50,6 +51,7 @@ fun WorkflowBuilder.rsemquantTask(name: String, i: Publisher< RsemQuantInput>)
--strand ${params.strand} \
--cores ${params.cores} \
--ram-gb ${params.ramGb} \
${ if (params.indexTarPrefix !== null) "--index-tar-prefix ${params.indexTarPrefix}" else "" } \
${ if (params.seed !== null) "--seed ${params.seed}" else "" } \
${ if (input.pairedEnd) "--paired-end" else "" }
"""
Expand Down

0 comments on commit 7b2cc54

Please sign in to comment.