isovic / racon

Ultrafast consensus module for raw de novo genome assembly of long uncorrected reads. http://genome.cshlp.org/content/early/2017/01/18/gr.214270.116 Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/racon
MIT License
269 stars 49 forks source link

racon_wrapper and wrong paths to racon and rampler #178

Closed hmontenegro closed 3 years ago

hmontenegro commented 3 years ago

When I compile and install Racon with:

curl -LOJR https://github.com/isovic/racon/releases/download/1.4.3/racon-v1.4.3.tar.gz
tar -x -z -f racon-v1.4.3.tar.gz
mkdir racon-v1.4.3/build
cd racon-v1.4.3/build/
cmake -Dracon_build_wrapper=ON -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=$HOME/bin/Racon ..
make
make install
cp bin/racon_wrapper ~/bin/Racon/bin/

racon_wrapper has hard-coded the source path for racon and rampler, not the destination path:

class RaconWrapper:

    __racon = '/home/monte/src/Racon/racon-v1.4.3/build/bin/racon'
    __rampler = '/home/monte/src/Racon/racon-v1.4.3/build/vendor/rampler/bin/rampler'

Instead of /home/monte/bin/Racon/bin, where the binaries of racon and rampler are installed.

rvaser commented 3 years ago

Hello, the make install command does not include racon_wrapper. According to your snippet you manually copied the wrapper to bin/. You might as well change the racon/rampler paths manually.

Best regards, Robert