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

src/RibosomeProfiling.nf : discard reverse alignments in postgenome alignement

parent 82ac6ea3
No related branches found
No related tags found
No related merge requests found
...@@ -472,7 +472,7 @@ hisat2 -x ${index2_id} \ ...@@ -472,7 +472,7 @@ hisat2 -x ${index2_id} \
--trim3 1 \ --trim3 1 \
--trim5 1 \ --trim5 1 \
2> ${file_id}_postgenome.txt \ 2> ${file_id}_postgenome.txt \
| samtools view -bS -F 4 -F 256 - \ | samtools view -bS -F 4 -F 256 -F 16 - \
| samtools sort -@ ${task.cpus} -o ${file_id}_postgenome.bam \ | samtools sort -@ ${task.cpus} -o ${file_id}_postgenome.bam \
&& samtools index ${file_id}_postgenome.bam && samtools index ${file_id}_postgenome.bam
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment