Skip to content

Commit

Permalink
Merge pull request #371 from pangenome/update-stuff
Browse files Browse the repository at this point in the history
update wfmash/smoothxg/odgi
  • Loading branch information
AndreaGuarracino committed Jan 31, 2024
2 parents 0317e7f + c1fbd6f commit a814fa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN apt-get update \
RUN git clone --recursive https://github.com/waveygang/wfmash \
&& cd wfmash \
&& git pull \
&& git checkout 0b191bb84ffdfd257354c1aa82a7f1e13dc536d0 \
&& git checkout e7850f9e9ba743a350b36b5e51ae8c414fba717d \
&& git submodule update --init --recursive \
&& sed -i 's/-march=native/-march=sandybridge/g' src/common/wflign/deps/WFA2-lib/Makefile \
&& cmake -H. -DCMAKE_BUILD_TYPE=Generic -DEXTRA_FLAGS='-march=sandybridge -Ofast' -Bbuild && cmake --build build -- -j $(nproc) \
Expand All @@ -72,7 +72,7 @@ RUN git clone --recursive https://github.com/ekg/seqwish \
RUN git clone --recursive https://github.com/pangenome/smoothxg \
&& cd smoothxg \
&& git pull \
&& git checkout 9970e0df187c5e1234ace61243f30ddccbbbbdd8 \
&& git checkout ea362342bc4301f767727467953bafcaf147172b \
&& git submodule update --init --recursive \
&& sed -i 's/-msse4.1/-march=sandybridge -Ofast/g' deps/spoa/CMakeLists.txt \
&& sed -i 's/-march=native/-march=sandybridge -Ofast/g' deps/spoa/CMakeLists.txt \
Expand Down
6 changes: 3 additions & 3 deletions pggb
Original file line number Diff line number Diff line change
Expand Up @@ -684,12 +684,12 @@ fi

if [[ $do_stats == true ]]; then
$timer -f "$fmt" odgi build -t $threads -P -g "$prefix_seqwish".seqwish.gfa -o "$prefix_seqwish".seqwish.og 2> >(tee -a "$log_file")
odgi stats -i "$prefix_seqwish".seqwish.og -m > "$prefix_seqwish".seqwish.og.stats.yaml 2>&1 | tee -a "$log_file"
odgi stats -i "$prefix_smoothed_output".final.og -m > "$prefix_smoothed_output".final.og.stats.yaml 2>&1 | tee -a "$log_file"
odgi stats -i "$prefix_seqwish".seqwish.og -m -sgdl > "$prefix_seqwish".seqwish.og.stats.yaml 2>&1 | tee -a "$log_file"
odgi stats -i "$prefix_smoothed_output".final.og -m -sgdl > "$prefix_smoothed_output".final.og.stats.yaml 2>&1 | tee -a "$log_file"
if [[ $consensus_spec != false ]]; then
for consensus_graph in "$prefix_smoothed_output"*.cons*.gfa; do
odgi build -t $threads -P -g "$consensus_graph" -o "$consensus_graph".og 2> >(tee -a "$log_file")
odgi stats -i "$consensus_graph".og -m >"$consensus_graph".og.stats.yaml 2>&1 | tee -a "$log_file"
odgi stats -i "$consensus_graph".og -m -sgdl >"$consensus_graph".og.stats.yaml 2>&1 | tee -a "$log_file"
done
fi
fi
Expand Down

0 comments on commit a814fa5

Please sign in to comment.