Skip to content

Commit

Permalink
Fix find for issue #109. Bump Docker base image to 20.04 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
adthrasher authored Mar 17, 2023
1 parent 7d0d085 commit ba84cb8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04 as builder
FROM ubuntu:20.04 as builder

RUN apt-get update && \
apt-get upgrade -y && \
Expand Down Expand Up @@ -90,7 +90,12 @@ RUN wget https://github.com/samtools/samtools/archive/0.1.17.tar.gz && \

RUN SAMTOOLS="/tmp/samtools-0.1.17" cpanm --force -i Bio::DB::[email protected] && chown -R root:root /usr/local/.cpanm

FROM ubuntu:18.04
FROM ubuntu:20.04

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y libncursesw5 && \
rm -r /var/lib/apt/lists/*

COPY --from=builder /opt/conda/bin/gfClient /opt/conda/bin/gfClient
COPY --from=builder /opt/conda/bin/gfServer /opt/conda/bin/gfServer
Expand Down
6 changes: 4 additions & 2 deletions src/scripts/Cicero.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,12 @@ parallel --joblog 02_Cicero.log $PARALLEL_ARG < cmds-02.sh
#########################
echo "Step 03 - $(date +'%Y.%m.%d %H:%M:%S') - Combine"
{
find $CICERO_DATADIR/$SAMPLE/*/ -type f -name 'unfiltered.fusion.txt' -exec cat {} \; | sort -V -k 9,9 -k 10,10n -k 11,11n > $CICERO_DATADIR/$SAMPLE/unfiltered.fusion.txt
find $CICERO_DATADIR/$SAMPLE/*/ -type f -name 'unfiltered.internal.txt' -exec cat {} \; | sort -V -k 9,9 -k 10,10n -k 11,11n > $CICERO_DATADIR/$SAMPLE/unfiltered.internal.txt
find $CICERO_DATADIR/$SAMPLE/ -mindepth 2 -type f -name 'unfiltered.fusion.txt' -exec cat {} \; | sort -V -k 9,9 -k 10,10n -k 11,11n > $CICERO_DATADIR/$SAMPLE/unfiltered.fusion.txt
find $CICERO_DATADIR/$SAMPLE/ -mindepth 2 -type f -name 'unfiltered.internal.txt' -exec cat {} \; | sort -V -k 9,9 -k 10,10n -k 11,11n > $CICERO_DATADIR/$SAMPLE/unfiltered.internal.txt
} 1> 03_Combine.out 2> 03_Combine.err

wait

## QC
if [ ! -s $CICERO_DATADIR/$SAMPLE/unfiltered.fusion.txt ]
then
Expand Down

0 comments on commit ba84cb8

Please sign in to comment.