DiltheyLab / MetaMaps

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

Error with classify command (boost-related?) #33

Open apredeus opened 4 years ago

apredeus commented 4 years ago

Hello,

I've compiled MetaMaps using boost installed via conda (since I don't have admin rights on the cluster). First step (mapping) worked without any issues; however, classify command fails with the following message:

DB = /pub37/alexp/MetaMaps/databases/miniSeq+H Mappings = A.class Min. reads for 'U' = 10000 Threads = 1

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector >' what(): Attempt to access an uninitialzed boost::match_results<> class. Aborted

Not sure how to debug it - probably related to issues mentioned in another issue, with boost directory structure not being as expected.

tderrien commented 4 years ago

Hello,

I have (almost) the same issue here:

Mappings = ./classification_results_maxmem60
Min. reads for 'U' = 10000
Threads = 8
terminate called after throwing an instance of 'boost::wrapexcept<std::logic_error>'
  what():  Attempt to access an uninitialized boost::match_results<> class.

Best,

Thomas

molbio7 commented 3 years ago

Hi, I have the same issue:

metamaps classify --mappings classification_results --DB databases/databases/miniSeq+H

DB = databases/databases/miniSeq+H Mappings = classification_results Min. reads for 'U' = 10000 Threads = 1

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

Is there a solution to this or has this been resolved?

jagos01 commented 3 years ago

I also have the same issue. MetaMaps was installed via conda and the database used was miniSeq+H.

x1e5c commented 3 years ago

I encounter the same issue, installing via conda and with database miniSeq+H. The mapping step worked well, but that took a long time to finish.

cheny19 commented 3 years ago

I've got the same issue. I installed the boost library through conda, and configured MetaMaps using make.

hunglin59638 commented 3 years ago

I've got the similar issue.

metamaps classify -t 20 --mappings classifcation_results --DB miniSeq+H
>>>>>>>>>>>>>>>>>>
DB = miniSeq+H
Mappings = classifcation_results
Min. reads for 'U' = 10000
Threads = 20
>>>>>>>>>>>>>>>>>>
terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at
Aborted (core dumped)
tpriest0 commented 2 years ago

I also have the same issue here terminate called after throwing an instance of 'boost::wrapexceptstd::logic_error' what(): Attempt to access an uninitialized boost::match_results<> class. Aborted

Why has this issue not been replied to yet? The original post was 18 months ago. Is there no more support for MetaMaps?

dawnmy commented 1 year ago

Same issue. Installed with Conda

AlexanderDilthey commented 12 months ago

I have added some debug code - I suspect this is due to an issue with extracting taxon IDs from contig IDs.

If the issue persists with the most recent version (after having carried out a fresh pull, make clean and make metamaps), it would be great if you could post the output into this thread.

Best wishes

Alex

Ramalh commented 10 months ago

Hello,

I have the same issue when running on conda env but no problem with locally installed metamaps. I downgraded boost package on conda but no result.

Regards