Skip to content

Commit

Permalink
Merge branch 'single-read-raw-clean' into single-read-profile
Browse files Browse the repository at this point in the history
  • Loading branch information
simonleandergrimm committed Dec 4, 2024
2 parents 6216f77 + 3fe2bd2 commit 3648257
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
6 changes: 1 addition & 5 deletions configs/profiles.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Currently universal settings and params
// Currently universal setting
docker.enabled = true
wave.enabled = true
aws.client.maxConnections = 1000
Expand All @@ -7,10 +7,6 @@ aws.client.connectionTimeout = 0
aws.client.socketTimeout = 0
nextflow.enable.moduleBinaries = true

params {
// Whether the underlying data is paired-end or single-end
single_end = new File(params.sample_sheet).text.readLines()[0].contains('fastq_2') ? false : true
}

// Workflow run profiles
profiles {
Expand Down
6 changes: 6 additions & 0 deletions configs/read_type.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Universal flags for read type (single-end vs paired-end)

params {
// Whether the underlying data is paired-end or single-end
single_end = new File(params.sample_sheet).text.readLines()[0].contains('fastq_2') ? false : true
}
1 change: 1 addition & 0 deletions configs/run.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ includeConfig "${projectDir}/configs/containers.config"
includeConfig "${projectDir}/configs/resources.config"
includeConfig "${projectDir}/configs/profiles.config"
includeConfig "${projectDir}/configs/output.config"
includeConfig "${projectDir}/configs/read_type.config"
process.queue = "will-batch-queue" // AWS Batch job queue
1 change: 1 addition & 0 deletions configs/run_dev_se.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ includeConfig "${projectDir}/configs/containers.config"
includeConfig "${projectDir}/configs/resources.config"
includeConfig "${projectDir}/configs/profiles.config"
includeConfig "${projectDir}/configs/output.config"
includeConfig "${projectDir}/configs/read_type.config"
process.queue = "simon-batch-queue" // AWS Batch job queue
1 change: 1 addition & 0 deletions tests/run.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ params {

includeConfig "${projectDir}/configs/containers.config"
includeConfig "${projectDir}/configs/profiles.config"
includeConfig "${projectDir}/configs/read_type.config"
includeConfig "${projectDir}/configs/output.config"
3 changes: 2 additions & 1 deletion tests/run_dev_se.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ params {

includeConfig "${projectDir}/configs/containers.config"
includeConfig "${projectDir}/configs/profiles.config"
includeConfig "${projectDir}/configs/output.config"
includeConfig "${projectDir}/configs/output.config"
includeConfig "${projectDir}/configs/read_type.config"

0 comments on commit 3648257

Please sign in to comment.