Skip to content

Commit

Permalink
Add util and test data
Browse files Browse the repository at this point in the history
  • Loading branch information
iracooke committed Apr 22, 2024
1 parent 0171440 commit 379c63a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/util.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

process name_by_sample {

input:
tuple val(sample), path(bam)

output:
tuple val(sample), path ("${sample}.bam"), emit: merged_bam

script:
"""
cp "${bam}" "${sample}.bam"
"""
}
Binary file added test/data/DI-1-1_1.R1.fq.gz
Binary file not shown.
Binary file added test/data/DI-1-1_1.R2.fq.gz
Binary file not shown.
Binary file added test/data/DI-1-1_2.R1.fq.gz
Binary file not shown.
Binary file added test/data/DI-1-1_2.R2.fq.gz
Binary file not shown.

0 comments on commit 379c63a

Please sign in to comment.