-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt processes and naming of processes
- Loading branch information
1 parent
b462ce2
commit fb9f862
Showing
5 changed files
with
38 additions
and
15 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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
merged_fastq="merged.fastq" | ||
process MERGE_FASTQ { | ||
|
||
input: | ||
tuple val ( sample ), path ( fastq_path ) | ||
|
||
output: | ||
tuple val( "${sample}" ), val( "target" ), path( "${merged_fastq}"), emit: merged_fastq | ||
tuple val( "${sample}" ), val( "target" ), path( "*fastq" ), emit: merged_fastq | ||
|
||
script: | ||
def fastq_name = params.live ? "filtered_$fastq_path.Name" : "merged.fastq" | ||
""" | ||
catfishq \ | ||
--min-length ${params.min_read_length} \ | ||
--min-qscore ${params.min_qscore} \ | ||
${fastq_path} > ${merged_fastq} | ||
${fastq_path} > ${fastq_name} | ||
""" | ||
} |
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