Skip to content
Snippets Groups Projects
Commit 88dc32c0 authored by elabaron's avatar elabaron
Browse files

RibosomeProfiling.nf : fix typo beug in coverage process

parent 0f3dbe86
Branches
No related tags found
No related merge requests found
......@@ -589,7 +589,7 @@ process coverage {
params.do_postgenome==false
shell:
'''
genome=$(samtools view !{bam[0]} | awk '{print $1} | sort | uniq | wc -l)
genome=$(samtools view !{bam[0]} | awk '{print $1}' | sort | uniq | wc -l)
factor=$(awk -v c=$genome 'BEGIN {print 1000000/c}')
bamCoverage -p !{task.cpus} --binSize 1 -b !{bam[0]} -o !{file_id}.bigwig
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment