Skip to content
Snippets Groups Projects
Verified Commit af1d5130 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

Bowtie2: add perl dependency and fix single-end example

parent 3d5118d9
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,8 @@ MAINTAINER Laurent Modolo ...@@ -4,8 +4,8 @@ MAINTAINER Laurent Modolo
ENV BOWTIE2_VERSION=2.3.4.1 ENV BOWTIE2_VERSION=2.3.4.1
ENV SAMTOOLS_VERSION=1.7 ENV SAMTOOLS_VERSION=1.7
ENV PACKAGES bowtie2=${BOWTIE2_VERSION}* \ ENV PACKAGES bowtie2=${BOWTIE2_VERSION}* \
samtools=${SAMTOOLS_VERSION}* samtools=${SAMTOOLS_VERSION}* \
perl=5.26.1*
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \ apt-get install -y --no-install-recommends ${PACKAGES} && \
......
...@@ -127,7 +127,7 @@ process mapping_fastq { ...@@ -127,7 +127,7 @@ process mapping_fastq {
} }
} }
""" """
bowtie2 --very_sensitive -p ${task.cpus} -x ${index_id} \ bowtie2 --very-sensitive -p ${task.cpus} -x ${index_id} \
-U ${reads} 2> \ -U ${reads} 2> \
${reads.baseName}_bowtie2_report.txt | \ ${reads.baseName}_bowtie2_report.txt | \
samtools view -Sb - > ${reads.baseName}.bam samtools view -Sb - > ${reads.baseName}.bam
......
...@@ -33,7 +33,7 @@ process mapping_fastq { ...@@ -33,7 +33,7 @@ process mapping_fastq {
} }
} }
""" """
bowtie2 --very_sensitive -p ${task.cpus} -x ${index_id} \ bowtie2 --very-sensitive -p ${task.cpus} -x ${index_id} \
-U ${reads} 2> \ -U ${reads} 2> \
${reads.baseName}_bowtie2_report.txt | \ ${reads.baseName}_bowtie2_report.txt | \
samtools view -Sb - > ${reads.baseName}.bam samtools view -Sb - > ${reads.baseName}.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