Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgPipe PART2 issue #2261

Open
5 tasks done
PejmanS opened this issue May 15, 2024 · 3 comments
Open
5 tasks done

mgPipe PART2 issue #2261

PejmanS opened this issue May 15, 2024 · 3 comments

Comments

@PejmanS
Copy link

PejmanS commented May 15, 2024

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:

  • I have checked dimensions compatibility of microbeNames and abundances.

  • Since it is a parfor loop, I tried to run it without parallel pool but it's not doable to run sequentially.

  • Tried to solve the issue on my own by MATLAB 2019b, 2023a - IBM CPLEX V12, V22

  • Retried to run my code with the latest version of The COBRA Toolbox

  • Checked that a similar issue has not already been opened

@almut-heinken
Copy link
Contributor

almut-heinken commented May 21, 2024

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
Copy link
Author

PejmanS commented May 21, 2024

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

@almut-heinken
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants