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

Sco-GEM 1.3.0 #122

Merged
merged 77 commits into from
Mar 7, 2021
Merged

Sco-GEM 1.3.0 #122

merged 77 commits into from
Mar 7, 2021

Conversation

edkerk
Copy link
Member

@edkerk edkerk commented Jan 26, 2021

Main improvements in this PR:

I hereby confirm that I have:

  • Tested my code with all requirements for running the model
  • Selected devel as a target branch (top left drop-down menu)

sulheim and others added 30 commits November 15, 2020 20:39
- remove 3dmet, cas, kegg.drugs, kegg.orthology
- correct metabetx to metanetx
- correct a few CHEBI%3A to CHEBI:
- see issue #106, experimental prove
- move /ComplementaryScripts to /scripts
- move scripts specific for Sulheim et al. 2020 to /scripts/sulheim2020
- move /ComplementaryData to /data
- move dataspecific for Sulheim et al. 2020 to /data/sulheim2020
- to follow standard-GEM, use /code
- rename /ModelFiles to /model to agree with standard-GEM
- move ec-models to /data/sulheim2020/ecmodel/ecmodels as they are specific for Sulheim et al. 2020
- follow standard-GEM
refactor: modified file and folder structure
- not all reactions were properly sorted in previous model file
- fix finding SBO terms
- cobra 0.20 adds zero charge for metabolite without specified charge
- update yaml
- remove GO and PFAM gene annotation (#105)
- replace pubchem.substance with pubchem.compound annotations (#105)
fix: annotations and minor reaction curations
- search for proteome:UP000001973
- edited file to separate genes with identical uniprot ID
- gene name information supplemented from:
  - genome file: https://www.sanger.ac.uk/resources/downloads/bacteria/streptomyces-coelicolor.html
  - few manual searches in http://strepdb.streptomyces.org.uk/
  - few references to papers
@sulheim
Copy link
Collaborator

sulheim commented Jan 27, 2021

I still think that it might make sense to have a model/archive folder. A pull reuqest from devel to master that cause a minor bup in version could archive the xml-version of that model. Thus, in the model folder you can always find the latest model version, but if you need the previous version for testing you can easily do that.

edkerk and others added 9 commits January 28, 2021 00:50
* fix: remove remaining glucose anomer reactions

* doc: increase readability

Added som space, comments, and rearranged some lines to increase readability of code resolving issue #89

* feat: subroutine to load latest master model version

* chore: all model changes tracked in code

* feat: increaseVersion function

- should be run on `master` branch to prepare for a new release

* fix: bug in #129

* chore: model I/O

Co-authored-by: Snorre Sulheim <[email protected]>
fix: remove remaining glucose anomers
- these pseudorxns are included to be able to activate reactions with unknown redox co-factor (donor or acceptor), but also has the risk to introduce unrealistic loops and unnaturally links NADPH and NADH pools. Reactions will remain in the model to allow enabling the reactions with unknown redox co-factor, while blocking it by default.
* feat: separate requirements.txt for sulheim2020

* doc: update folder-specific README.md
* doc: updated README.md

- updated instructions on model usage and contribution

* doc: new contributing guidelines

- also, template for new curations, as referred to in contributing guidelines.

* refactor: v1_3_0.py adjusted to template

* fix: incorrect syntax export function

* doc: text review

Very minor textual changes.

Co-authored-by: Snorre Sulheim <[email protected]>
* feat: subroutine to load latest master model version

* chore: all model changes tracked in code

* feat: increaseVersion function

- should be run on `master` branch to prepare for a new release

* chore: remove history.rst from devel branch

- will be replaced with history.md in master branch only

* fix: bug in #129

* chore: model I/O

* feat: use dotenv to indicate root of repository

* feat: load previous model from version tag

e.g. `export.get_earlier_model_unversioned('v1.2.1')`

* fix: remove unused gene SCO2529

Co-authored-by: Snorre Sulheim <[email protected]>
@edkerk edkerk marked this pull request as ready for review February 1, 2021 20:09
@edkerk edkerk marked this pull request as draft February 1, 2021 20:43
@edkerk
Copy link
Member Author

edkerk commented Mar 4, 2021

  • Rerun the memote tests (including the custom growth / knockout phenotypes test) and assure that the accuracy is the same
  • Update memote report
  • Custom tests:
    • Knockouts from transposon data: one less TP, as the unused gene SCO3946 was present in the previous model version and thereby a "false true positive". This gene is now not in the model and therefore not tested for essentiality.
    • Knockouts from literature data: one more TP, but also one additional FN: SCO2726 at different carbon sources. Accuracy therefore unchanged.
  • Memote (run locally):
    • Stoichiometric Consistency test has changed (Memote version 0.12.0 vs. 0.9.12). Overall score dropped from 77% to 72%.
    • When running Memote 0.12.0 on the previous release, overall score increased from 71% to 72%.

Will include code that runs Memote locally with each release.

edkerk added 9 commits March 5, 2021 18:20
* fix: remove invalid refseq ids

- starting with WP not valid according to identifiers.org

* fix: legacy support get_earlier_model_unversioned

- older versions of the model were stored with different folder structure

* chore: update travis and memote scripts

* chore: gitattributes text=auto for line-endings

* refactor: basic_test and growth_test

* feat: increaseVersion includes memote score

* fix: remove boundary metabolites

solves #136

* chore: travis bump python to 3.8
Must be merged with `devel` before Travis is using the changes..
should be mentioned in travis.yml, not travis_deploy.sh
- travis_wait prevents showing memote output in realtime when running on Travis, making it more difficult to see what is happening.
- just skip the test that is taking so long (other tests run in <3 mins, test_inconsistent_min_stoichiometry takes >1.5 h), it failed anyway
fix: revert travis time-out, skip memote test
@edkerk edkerk marked this pull request as ready for review March 6, 2021 00:32
@edkerk edkerk requested a review from sulheim March 6, 2021 00:32
and print memote output to log, handling of failed Memote run
Copy link
Collaborator

@sulheim sulheim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! A very nice minor version bump 👍 Nice to get so many of those issues resolved.

@sulheim sulheim merged commit b5fe7fc into master Mar 7, 2021
@edkerk edkerk mentioned this pull request Apr 4, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment