-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Vars and output dirs in demultiplexing_illumina workkflow
- Loading branch information
1 parent
f0f41df
commit fa10fb1
Showing
6 changed files
with
65 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// -*- mode: groovy -*- | ||
|
||
/* | ||
* Reference for useful snippets: | ||
publishDir "${params.output_dir}/${f1}/${f2}/${f3}/${meta.id}", | ||
saveAs: { filename -> filename.split("/")[1] }, | ||
mode: 'copy', | ||
overwrite: true | ||
f1, f2, f3 = getHierarchy("${task.process}") | ||
*/ | ||
|
||
params { | ||
denoise_cluster { | ||
sequence_processing { | ||
// Demultiplexing illumina workflow | ||
'demultiplexing_illumina' { | ||
rev_comp_barcodes = "False" | ||
rev_comp_mapping_barcodes = "False" | ||
} | ||
'join_reads' { | ||
min_overlap = 6 | ||
perc_max_diff = 8 | ||
} | ||
// Trim filter fixed workflow | ||
'export_visualization' { | ||
seq_samplesize = 10000 | ||
} | ||
// TODO: Demultiplexing 454 workflow | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// -*- mode: groovy -*- | ||
|
||
// trace | ||
// dag | ||
// conda envs | ||
// env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
def get_samplesheet_paths(LinkedHashMap row) { | ||
def meta = [:] | ||
meta.id = row.sample | ||
meta.single_end = row.single_end.toBoolean() | ||
meta.strandedness = row.strandedness | ||
return meta | ||
} | ||
|
||
def getHierarchy(String task_process) { | ||
def hierarchy = task_process.split(":") | ||
return hierarchy.collect { it.replaceAll("_workflow", "") } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters