Skip to content

Commit

Permalink
Merge pull request #19 from sjaenick/main
Browse files Browse the repository at this point in the history
umi_tools reproducibility issues
  • Loading branch information
sjaenick authored Sep 22, 2022
2 parents fe96e36 + ff86558 commit dbe0c13
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PARANOiD.nf
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ process deduplicate{
file "${query.baseName}.deduplicated.log*" into log_deduplicate_to_collect_statistics

"""
umi_tools dedup -I ${query} --output-stats ${query.baseName}.deduplicated.log -S ${query.baseName}.deduplicated.bam
umi_tools dedup --random-seed=42 -I ${query} --output-stats ${query.baseName}.deduplicated.log -S ${query.baseName}.deduplicated.bam
"""
}

Expand Down
14 changes: 11 additions & 3 deletions dockerfiles/dockerfile.umi-tools
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ LABEL tool.version="1.1.2"
MAINTAINER Patrick Barth <[email protected]>

RUN apt-get update -y && \
apt-get install -y gcc procps && \
pip install umi-tools==1.1.2 && \
apt-get purge -y gcc && \
apt-get install -y gcc procps patch wget && \
wget -q https://github.com/CGATOxford/UMI-tools/archive/refs/tags/1.1.2.tar.gz && \
tar xzf 1.1.2.tar.gz && \
cd UMI-tools-1.1.2 && \
wget -q -O - https://patch-diff.githubusercontent.com/raw/CGATOxford/UMI-tools/pull/550.diff | patch -p1 && \
python setup.py install && \
cd .. && \
rm -rf UMI-tools-1.1.2 1.1.2.tar.gz && \
apt-get purge -y gcc patch wget && \
apt-get -y autoremove

CMD ["umi_tools"]

0 comments on commit dbe0c13

Please sign in to comment.