hsinnan75 / MapCaller

MapCaller – An efficient and versatile approach for short-read alignment and variant detection in high-throughput sequenced genomes
MIT License
29 stars 5 forks source link

Compilation error #40

Closed dpryan79 closed 4 years ago

dpryan79 commented 4 years ago

I'm trying to update the bioconda recipe for MapCaller and am running into a C++ error:

 VariantCalling.cpp:659:115: error: cannot bind bitfield '(MappingRecordArr + ((sizetype)(((long unsigned int)gPos) * 8)))->MappingRecord_t::A' to 'long unsigned int&'
     if (ref_base != 0 && MappingRecordArr[gPos].A >= freq_thr) vec.push_back(make_pair('A', MappingRecordArr[gPos].A));
                                                                                             ~~~~~~~~~~~~~~~~~~~~~~~^
 VariantCalling.cpp:660:115: error: cannot bind bitfield '(MappingRecordArr + ((sizetype)(((long unsigned int)gPos) * 8)))->MappingRecord_t::C' to 'long unsigned int&'
     if (ref_base != 1 && MappingRecordArr[gPos].C >= freq_thr) vec.push_back(make_pair('C', MappingRecordArr[gPos].C));
                                                                                             ~~~~~~~~~~~~~~~~~~~~~~~^
 VariantCalling.cpp:661:115: error: cannot bind bitfield '(MappingRecordArr + ((sizetype)(((long unsigned int)gPos) * 8)))->MappingRecord_t::G' to 'long unsigned int&'
     if (ref_base != 2 && MappingRecordArr[gPos].G >= freq_thr) vec.push_back(make_pair('G', MappingRecordArr[gPos].G));
                                                                                             ~~~~~~~~~~~~~~~~~~~~~~~^
VariantCalling.cpp:662:115: error: cannot bind bitfield '(MappingRecordArr + ((sizetype)(((long unsigned int)gPos) * 8)))->MappingRecord_t::T' to 'long unsigned int&'
     if (ref_base != 3 && MappingRecordArr[gPos].T >= freq_thr) vec.push_back(make_pair('T', MappingRecordArr[gPos].T));

Xref: https://github.com/bioconda/bioconda-recipes/pull/18065

hsinnan75 commented 4 years ago

Hi, I've updated MapCaller. Please re-download MapCaller and try again. Thank you very much!

dpryan79 commented 4 years ago

Thanks, will do!

hsinnan75 commented 4 years ago

Please download v0.9.9.21. Thanks.

dpryan79 commented 4 years ago

That solved the issue, thanks!

hsinnan75 commented 4 years ago

Dear Devon Ryan, thank you very much for updating the bioconda recipe.