Comments (7)
An update... For some reason, two nights ago I was able to successfully print the files from the mdl-printcytoseed command from my personal laptop installation (information in the original post above was coming from a different installation).
Yesterday, I performed an ms-update, and now I am unable to use this command on my laptop. The output is exactly as described above... it was working, model existed, nothing changed except the ms-update... I was simply testing to see that I was still able to successfully print the files for cytoseed.
any ideas?
from model-seed-core.
This probably has to do with access rights. Are you logged in to
ModelSEED as the user who loaded the model?
On Mon, Jun 18, 2012 at 4:46 PM, aabest
[email protected]
wrote:
When using the mdl-printcytoseed command, we are not getting correct model information printed to the appropriate cytoseed files.
The program is returning no information or an error in the mdl-printcytoseed subroutine in ModelDriver.pm when calling "get_model_data" and "biomass_reaction_details" in the following code:
open(FH, ">".$cmdir."/model_data") or ModelSEED::utilities::ERROR("Could not open file: $!\n");
my $md = $fbaObj->get_model_data({ "id" => [$args->{model}] });
print FH $dumper->dump($md->{$args->{model}});
close FH;
print "Model data printed...\n";
open(FH, ">".$cmdir."/biomass_reaction_details") or ModelSEED::utilities::ERROR("Could not open file: $!\n");
print FH $dumper->dump($fbaObj->get_biomass_reaction_data({ "model" => [$args->{model}] }));
close FH;
print "Biomass data printed...\n";Output for model data is:
--- ~
When the biomass is accessed, it returns:
error:
- iYusMp.906 either nonexistant or nonaccessibleThis error is being generated from code in FBAMODEL.pm
Accessing other data in the model appears to work (for instance, compound data, reaction data).
Additionally, accessing the compound data seems to be taking about 20 minutes to process this call:
my $cids = $fbaObj->get_compound_id_list({ "id" => [$args->{model}] });
open(FH, ">".$cmdir."/compound_details") or ModelSEED::utilities::ERROR("Could not open file: $!\n");
my $cpds = $fbaObj->get_compound_data({ "id" => $cids->{$args->{model}} });
print FH $dumper->dump($cpds);
close FH;
print "Compound data printed...\n";Seems like that is very long, especially for a small genome/model.
Reply to this email directly or view it on GitHub:
#163
Matt DeJongh, Ph.D.
Computer Science Department
Hope College, Holland, MI 49423
(616) 395-7429
from model-seed-core.
I made the model on my local installation of Model-SEED, gapfilled on specific media, performed a checkgrowth, performed fva, and then printed to cytoseed successfully. Then the next day... it did not work on the same installation. I did not log out or change users during the interim. I did run an ms-update to the latest version of Model-SEED between the trials.
from model-seed-core.
For now, try commenting out as follows (the two lines with +# at the beginning):
+++ b/lib/ModelSEED/FIGMODEL/FIGMODELdatabase.pm
@@ -299,9 +299,9 @@ sub get_objects {
my $finalObjs;
for (my $i=0; $i < @{$objs}; $i++) {
my $rights = $self->get_object_rights($objs->[$i], $type);
-
+# if(keys %$rights > 0) {
if(keys %$rights > 0) {
push(@{$finalObjs},
ModelSEED::FIGMODEL::FIGMODELdata->new($objs->[$i], $self->fig -
+# }
}
}
$objs = $finalObjs;
}
On Mon, Jun 25, 2012 at 11:23 AM, aabest
[email protected]
wrote:
I made the model on my local installation of Model-SEED, gapfilled on specific media, performed a checkgrowth, performed fva, and then printed to cytoseed successfully. Then the next day... it did not work on the same installation. I did not log out or change users during the interim. I did run an ms-update to the latest version of Model-SEED between the trials.
Reply to this email directly or view it on GitHub:
#163 (comment)
Matt DeJongh, Ph.D.
Computer Science Department
Hope College, Holland, MI 49423
(616) 395-7429
from model-seed-core.
Okay, this works with the above change. I will change on the other installations, as well.
Is there an underlying issue?
Thanks!
from model-seed-core.
The underlying issue is problem with access rights - I'm hoping that
Chris et al will fix it, but for now the commenting out seems to work.
Are you and your students able to print cytoseed files now?
On Mon, Jun 25, 2012 at 2:48 PM, aabest
[email protected]
wrote:
Okay, this works with the above change. I will change on the other installations, as well.
Is there an underlying issue?
Thanks!
Reply to this email directly or view it on GitHub:
#163 (comment)
Matt DeJongh, Ph.D.
Computer Science Department
Hope College, Holland, MI 49423
(616) 395-7429
from model-seed-core.
Yes, we can print the cytoseed files successfully. Thanks for getting a workaround together.
from model-seed-core.
Related Issues (20)
- Feature request: source of annotation for reactions
- mdl-loadbiomass has stopped working HOT 3
- mdl-autocomplete crashes HOT 6
- ./fba-checkgrowth and MetaboliteProduction.txt HOT 1
- Saved FVA results are invalid after model is changed HOT 1
- Error Running mdl-autocomplete HOT 6
- Autocomplete not filling gaps with new biomass HOT 1
- object rights not working, perhaps because of case mismatch
- Why is mdl-loadmodel having http request timeouts?
- Behavior of the mdl-createmodel command HOT 3
- Segmentation fault with new biomass HOT 1
- ModelSEED commands aren't working HOT 3
- New fba function fails
- generating model IDs
- Use of FIGMODEL Table in MSSupport
- No argument list returned HOT 3
- Autocompletion Failing
- Install Error about MFATOOLKIT in Mac OS 10.7 HOT 1
- ms login error( 502 Bad Gateway)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from model-seed-core.