Comments (3)
Commit 9385d2e makes the changes for the computation of individual scopes.
Now if a seed is present in an individual scope, it means the corresponding species has an activated reaction to produce it.
I added a tiny toy dataset that enables checking this behavior.
Also done: stop reading and loading the scope json file in every function: use the dict once and for all.
Remaining to be done:
- tests with the new behavior and the tiny dataset
- have the same seed statuses in cscope
- update existing tests
- update documentation
from metage2metabo.
The way the community scope is currently computed hides the producibility of some seeds by species in community. This is incompatible with the harmonisation of the behaviors wrt seeds that we want, and also it hides interesting information.
Additionally, we do not know which species produces each compound in community. So we cannot directly compare iscopes and cscopes at the level of the organism.
A way to solve both problems is to use miscoto focus
to compute the community scope. It will provide the impact of interaction on the scope of each species, and the union of all capabilities in community will form the community scope.
Changes needed for this at the level of Miscoto is to support a LP instance as an input, cf cfrioux/miscoto#17.
However, the changes will not work if a host is given to metage2metabo though. These functionalities are not often used and would deserve an update anyway.
from metage2metabo.
Commit 0e2f531 gives the proper behavior to cscope computation.
Now, a seed becoming producible through community interaction will be returned.
Note however that this behavior is not implemented is a host is given to the programme. The old behavior holds in that case.
If no host, miscoto focus
retrieves the community scope, and it also provides the contribution of each species to the community scope. Similarly to individual scopes, the community scope is now also reversed in a json and tsv file in order to facilitate analysis.
Warning: if a seed becomes producible through community interaction, it will nonetheless not be considered as a target during minimal community selection. A dedicated log has been added in the programme. [edit: better log done in commit 8203cc5]
from metage2metabo.
Related Issues (20)
- I have the following problems when running the t2d_m2m_target_producers.R file: HOT 8
- Multiple errors when running test data HOT 7
- A better focus on the host metabolism when a host is provided HOT 1
- Issue with pathway tools API limitation and PGDB entries verification HOT 4
- Compute deadend and orphan metabolites
- Non optimal powergraph visualisation HOT 2
- m2m_analysis powergraph not working as expected HOT 27
- m2m recon not working with gbff file inputs HOT 4
- Error with analysis graph when using taxon_id HOT 5
- CRITICAL:metage2metabo.m2m.reconstruction:Something went wrong running Pathway Tools. See the log file in /home/chencong/output3/pgdb_log/log_error.txt HOT 6
- No /home/chencong/.ncbirc file, please fix it before using the program HOT 5
- [Question] Where can I find seed files? HOT 4
- Install metage2metabo problem HOT 5
- How to prepare inputs for metage2metabo HOT 3
- mpwt could not find the version of Pathway Tools HOT 1
- Do not allow abbreviation in command arguments. HOT 1
- Sanitize use of tarfile extractall. HOT 1
- gff file format problem while running m2m recon HOT 1
- When using `--pwt-xml`, the xml files extracted from Pathway Tools can be incompatible with python-libsbml. HOT 1
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 metage2metabo.