Illumina / REViewer

A tool for visualizing alignments of reads in regions containing tandem repeats
GNU General Public License v3.0
73 stars 14 forks source link

Issues building from source with cmake #57

Open sheinasim opened 1 year ago

sheinasim commented 1 year ago

Hi there!

I'm trying to install this in my local space on an HPC and I'm getting this error both when I clone the repo and when I download the latest release:

make[4]: *** [thirdparty/graph-tools/CMakeFiles/graphtools.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [reviewer-prefix/src/reviewer-stamp/reviewer-build] Error 2
make[1]: *** [CMakeFiles/reviewer.dir/all] Error 2
make: *** [all] Error 2

I'm setting up the environment using conda. Any thoughts as to what is causing the error?

Thanks! Sheina

sclamons commented 1 year ago

Hi sheinasim! Sorry it's taken me a few days to get to this. Would you mind posting the full contents of your build process?

sheinasim commented 1 year ago

Hello @sclamons!

Thank you for your reply. I actually found a workaround by installing it locally to my laptop instead of the HPC.

I did actually end up with another issue, is there a way to create the BAMlet file and the .vcf from long read data? ExpansionHunter requires paired reads, and ultimately, I'd like to use REViewer to visualize my repeats (less so to characterize repeat variants).

Thanks! Sheina

sclamons commented 1 year ago

ReViewer was built to handle short reads, not long reads. I'm legitimately not sure what will happen if you throw long read data at it!

I assume you've tried running Expansion Hunter on your long read data?

On Tue, Oct 25, 2022, 6:32 PM Sheina Sim @.***> wrote:

Hello @sclamons https://github.com/sclamons!

Thank you for your reply. I actually found a workaround by installing it locally to my laptop instead of the HPC.

I did actually end up with another issue, is there a way to create the BAMlet file and the .vcf from long read data? ExpansionHunter requires paired reads, and ultimately, I'd like to use REViewer to visualize my repeats (less so to characterize repeat variants).

Thanks! Sheina

— Reply to this email directly, view it on GitHub https://github.com/Illumina/REViewer/issues/57#issuecomment-1291352424, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM7DU47J24NMXU2NXJ666DWFCCZXANCNFSM6AAAAAARLVFGUQ . You are receiving this because you were mentioned.Message ID: @.***>

sheinasim commented 1 year ago

Yes, I tried but it skips all the reads that aren't paired. So all the reads :)

Stikus commented 7 months ago

There are two issues causing this error:

Fixes:

sed -i '/catchorg/s/2.12.4/2.13.5/' CMakeLists.txt
sed -i '/^#include <cassert>/a #include <limits>' reviewer/thirdparty/graph-tools/src/graphcore/GraphCoordinates.cpp

@egor-dolzhenko @sclamons Can anyone add these or similar fixes? There is ever a PR https://github.com/Illumina/REViewer/pull/45 for one of them.