-
Notifications
You must be signed in to change notification settings - Fork 34
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
Issue with generated models #76
Comments
Hi @bergthorT, it looks like an issue related to the installed versions of Alternatively you could try installing gapseq in an conda envrionment as indicated in the documentation. Best, Silvio |
Dear @Waschina, Thank you for your prompt reply. I tried using the conda environment instead as suggested. I now have a more up to date R and this also seems to remove the awk --version error. I did not notice any issues running the test now: gapseq version: 1.1 b568a4e ####################### Missing dependencies: 0 ##################### Missing R packages: 0 ############################## Passed tests: 2/2 I also don't seem to get any warning messages when I run gapseq now as I got previously. However, when I try to use the generated .xml models with COBRA I still get the following issue: Output argument "qualifiers" (and maybe others) not assigned during call to "getDataBases". Error in parseCVTerms (line 27) Error in readSBML (line 121) Error in readCbModel (line 211) I even tried it on the ecoli and "Toy" models that were included as examples and they both generate the same error when using COBRA on Matlab. This error does not occur when I use .xml models from literature. Did I misunderstand that the models generated should be in a correct SBML format and in such a way that they are ready to use for FBA analysis? Is this perhaps rather an issue with the COBRA function? |
Hi! It looks like that there's some 'flavour' in gapseq's sbml files, that the cobra toolbox in matlab does not like, presumably in some of the metabolite, reaction, or gene annotations... Unfortunately, I don't use matlab and have no easy way to check, what might be the issue. To be sure, I checked the xmls from gapseq's toy directory in cobrapy, which worked without problems. Maybe you could ask in the cobratoolbox community, what might be the problem? If there is a specific problem in the way gapseq annotates the models, which causes the issue in cobratoolbox, we can try to adjust our model output format. Best |
Hi, |
Great! I'm happy to see, that the models can also be further used in matlab :) |
Hello, each time I try to reconstruct a draft model or gapfilling I get the following warning at the end:
Warning message:
In is.na(mod_notes) :
is.na() applied to non-(list or vector) of type 'NULL'
I have tried redoing the examples included for the tool such as for myb71.fna.gz as well as the Eubacterium rectale ATCC 33656 in the "cross feeding" tutorial. For both of them I get the warning above. When I then try to open the generated .xml files with COBRA I get the following errors:
Output argument "qualifiers" (and maybe others) not assigned during call to "getDataBases".
Error in parseCVTerms (line 27)
[databases,identifiers,relations] = cellfun(@getDataBases, {CVTerms.resources},
{CVTerms.qualifier},'UniformOutput',0);
Error in readSBML (line 121)
[databases,identifiers,qualifiers] = cellfun(@parseCVTerms, cvterms,'UniformOutput',0);
Error in readCbModel (line 211)
model = readSBML(fileName,defaultBound);
There did not seem to be any issues with the installation. When I ran the test there were no reported problems (see below).
Would you have any idea what could be causing the issue? Is it something to do with SBML?
Test:
gapseq version: 1.1 5f5a3e9
linux-gnu
#60~18.04.1-Ubuntu SMP Fri Nov 6 17:25:16 UTC 2020
#######################
#Checking dependencies#
#######################
awk: not an option: --version
sed (GNU sed) 4.4
grep (GNU grep) 3.1
This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi
tblastn: 2.6.0+
exonerate from exonerate version 2.4.0
bedtools v2.26.0
Synopsis:
barrnap 0.8 - rapid ribosomal RNA prediction
Author:
Torsten Seemann [email protected]
Usage:
barrnap [options] <chromosomes.fasta>
Options:
--help This help
--version Print version and exit
--citation Print citation for referencing barrnap
--kingdom [X] Kingdom: bac euk mito arc (default 'bac')
--quiet No screen output (default OFF)
--threads [N] Number of threads/cores/CPUs to use (default '8')
--lencutoff [n.n] Proportional length threshold to label as partial (default '0.8')
--reject [n.n] Proportional length threshold to reject prediction (default '0.5')
--evalue [n.n] Similarity e-value cut-off (default '1e-06')
--incseq Include FASTA input sequences in GFF3 output (default OFF)
R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
R scripting front-end version 3.4.4 (2018-03-15)
git version 2.17.1
GNU parallel 20161222
Missing dependencies: 0
#####################
#Checking R packages#
#####################
data.table 1.14.0
stringr 1.4.0
sybil 2.1.5
getopt 1.20.3
doParallel 1.0.16
foreach 1.5.1
R.utils 2.10.1
stringi 1.5.3
glpkAPI 1.3.2
BiocManager 1.30.12
Biostrings 2.46.0
jsonlite 1.7.2
CHNOSZ 1.4.1
Missing R packages: 0
##############################
#Checking basic functionality#
##############################
Optimization test: OK
Blast test: OK
Passed tests: 2/2
The text was updated successfully, but these errors were encountered: