opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
247 stars 311 forks source link

mgPipe PART2 issue #2261

Open PejmanS opened 4 months ago

PejmanS commented 4 months ago

Hello dear Community,

I've faced this error using MgPipe:

Error using createPersonalizedModel Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. Error in mgPipe (line 223) parfor i=j:j+endPnt

It's considerable, error occurs after constructing 2 models. I'm using AGORA 2 and its pan models.

My actions:

almut-heinken commented 4 months ago

Hello, it is hard to tell where the issue is without seeing your data. Would it be possible to share your abundance file with me privately? Best regards

PejmanS commented 4 months ago

@almut-heinken Thanks for the response. I sent it to your Gmail.

almut-heinken commented 4 months ago

Dear all, the issue has been solved. The cause was that the input file with abundances contained taxa both on species and genus level. This should be avoided as it causes namespace issues with the pan-models needed to build the community models. I will add a note to the mgPipe tutorial.