Hi I was using genont for a while and everything worked fine, but suddenly it stopped working
the line of code I am using is :
GO = geneont('live', 'false');
and it should return a geneont object.
This is the error I get
Error using == Matrix dimensions must agree.
Error in geneont (line 160) fromID2 = sscanf(char(regexp(obo(relaTypes==pof),'GO:\d+','match','once'))','GO:%d')+1;

3 Kommentare

Geoff Hayes
Geoff Hayes am 11 Okt. 2014
Bearbeitet: Geoff Hayes am 11 Okt. 2014
Lilach - what happens if you try
geneont('LIVE', true)
instead to create a geneont object, from the most recent version of the Gene Ontology database?
The error is indicating that there is a problem in the line of code that is comparing the relaTypes and pof - both must have the same dimension (for example, they both must be mxn matrices).
Thomas De Luca
Thomas De Luca am 13 Okt. 2014
Bearbeitet: Thomas De Luca am 13 Okt. 2014
As of right now, I am receiving the same error when using
geneont('LIVE',true)
The error also occurs if I download gene_ontology.obo and use
geneont('file','gene_ontology.obo')
UPDATE:
I was able to resolve the problem by downloading a previous revision (4.1809) of gene_ontology.obo. This will be a suitable workaround for me until the problem is resolved.
Lilach
Lilach am 18 Okt. 2014
Thanks!
Now it is resolved indeed.
Lilach

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Arthur Goldsipe
Arthur Goldsipe am 14 Okt. 2014

0 Stimmen

It looks like this problem was also fixed in the latest update to the Gene Ontology database. It sounds like maybe there was a problem in a particular version of the database.

1 Kommentar

Lilach
Lilach am 18 Okt. 2014
Thank you for that, I figured this was the case but was unable to find the location of the older obo files in the site.
Where did you find it ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Bioinformatics Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 11 Okt. 2014

Kommentiert:

am 18 Okt. 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by