-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a3df5a
commit bfc158b
Showing
5 changed files
with
83 additions
and
75 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Merge missing loci | ||
|
||
process LOCIDEX_MERGE { | ||
tag 'Merge Profiles' | ||
label 'process_medium' | ||
|
||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/locidex:0.1.1--pyhdfd78af_0' : | ||
'quay.io/biocontainers/locidex:0.1.1--pyhdfd78af_0' }" | ||
|
||
input: | ||
val input_values // [file(sample1), file(sample2), file(sample3), etc...] | ||
|
||
output: | ||
path("${combined_dir}/*.tsv"), emit: combined_profiles | ||
path("${combined_dir}/*.json"), emit: report | ||
path "versions.yml", emit: versions | ||
|
||
script: | ||
combined_dir = "merged" | ||
""" | ||
locidex merge -i ${input_values.join(' ')} -o ${combined_dir} | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
locidex merge: \$(echo \$(locidex search -V 2>&1) | sed 's/^.*locidex //' ) | ||
END_VERSIONS | ||
""" | ||
} |
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