DiltheyLab / MetaMaps

Long-read metagenomic analysis
Other
96 stars 23 forks source link

terminate called after throwing an instance of 'boost::wrapexcept<std::logic_error>' #71

Open self-Shubham opened 1 year ago

self-Shubham commented 1 year ago

Hi! After mapping the reads, I am using the following commands to classify metamaps classify -t 12 --mappings classification_BG1234_C --DB databases/miniSeq+H/

ERROR terminate called after throwing an instance of 'boost::wrapexcept' what(): Attempt to access an uninitialized boost::match_results<> class. Aborted (core dumped)

AlexanderDilthey commented 12 months ago

Hi @self-Shubham,

This is due to an error extracting taxon IDs from your contig IDs - I added some improved debugging code. Could you pull from GitHub, execute make clean and make metamaps, and post the output you get?

Best,

Alex

sofstam commented 4 months ago

Hello,

I tried you suggestion above:

git clone https://github.com/DiltheyLab/MetaMaps.git
cd MetaMaps
make clean
make metamaps

I am getting the following error:

g++ -c -O2 -ggdb -fopenmp -std=c++11 -Isrc -L /usr/lib/x86_64-linux-gnu//lib -I /usr/lib/x86_64-linux-gnu//include  -mmacosx-version-min=10.7 -stdlib=libc++ -DUSE_BOOST -o src/map/mash_map.o src/map/mash_map.cpp
clang: error: unsupported option '-fopenmp'
make: *** [Makefile:25: src/map/mash_map.o] Error 1
EXJB commented 3 months ago

Hi, i get the same error. "terminate called after throwing an instance of 'boost::wrapexceptstd::logic_error' what(): Attempt to access an uninitialized boost::match_results<> class."

Are there any updates ?