Skip to content

Commit

Permalink
sehr gut
Browse files Browse the repository at this point in the history
  • Loading branch information
subwaystation committed May 8, 2023
1 parent 466f27f commit fbe27f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ RUN wget https://github.com/mummer4/mummer/releases/download/v4.0.0rc1/mummer-4.
RUN ldconfig

RUN wget https://github.com/RealTimeGenomics/rtg-tools/releases/download/3.12.1/rtg-tools-3.12.1-linux-x64.zip \
&& unzip rtg-tools-3.12.1-linux-x64.zip && ln -s /rtg-tools-3.12.1/rtg /usr/local/bin/
&& unzip rtg-tools-3.12.1-linux-x64.zip && sed -i 's/read -r -p "Would you like to enable automatic usage logging (y\/n)? " REPLY/REPLY="n"/g' /rtg-tools-3.12.1/rtg \
&& ln -s /rtg-tools-3.12.1/rtg /usr/local/bin/ && rtg help

# Install base R
# NOTE: we might have to go the conda way on the long run
Expand All @@ -164,7 +165,9 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key B8F25A8A73E
&& apt install -y r-base \
&& apt-get clean \
&& apt-get purge \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/* \
&& wget https://cran.r-project.org/src/contrib/data.table_1.14.8.tar.gz \
&& R CMD INSTALL data.table_1.14.8.tar.gz

RUN wget https://github.com/arq5x/bedtools2/releases/download/v2.31.0/bedtools.static \
&& mv bedtools.static /usr/local/bin/bedtools \
Expand Down
7 changes: 7 additions & 0 deletions scripts/gfa2evaluation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,12 @@ zgrep '#CHROM' "$PATH_VCF".gz -m 1 | cut -f 10- | tr '\t' '\n' | while read HAPL
done

mkdir -p "$DIR_OUTPUT"
# we want to prevent:
# mv: inter-device move failed: 'chrM.pan.4.chm13.sdf' to 'data/test_eval/chrM.pan.4.chm13.sdf'; unable to remove target: Directory not empty
# mv: inter-device move failed: 'nucmer' to 'data/test_eval/nucmer'; unable to remove target: Directory not empty
# mv: inter-device move failed: 'vcfeval' to 'data/test_eval/vcfeval'; unable to remove target: Directory not empty
rm -rf "$DIR_OUTPUT"/*.sdf
rm -rf "$DIR_OUTPUT"/nucmer
rm -rf "$DIR_OUTPUT"/vcfeval
mv "$PREFIX"* statistics.haplo*.tsv nucmer vcfeval "$DIR_OUTPUT"

0 comments on commit fbe27f5

Please sign in to comment.