Skip to content
Snippets Groups Projects
Commit da24408f authored by vvanoost's avatar vvanoost
Browse files

SAM tools

parent 5941bae1
No related branches found
No related tags found
No related merge requests found
......@@ -157,17 +157,11 @@ fi
}
/* bams sorting */
process sort_bam {
tag "${pair_id}.bam"
tag "$bam.baseName"
cpus 4
input:
file bam from bam_files
output:
file "*_sorted.bam" into sorted_bam_files
script:
"""
samtools sort -@ ${task.cpus} -O BAM -o ${bam.baseName}_sorted.bam ${bam}
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment