This project is a part of development executed for the paper Microbial communities network analysis of anaerobic reactors fed with bovine and swine slurry.
@article{vendruscolo2020microbial,
title={Microbial communities network analysis of anaerobic reactors fed with bovine and swine slurry},
author={Vendruscolo, Eliane Cristina Gruszka and Mesa, Dany and Rissi, Daniel Vasconcelos and Meyer, Bruno Henrique and de Oliveira Pedrosa, F{\'a}bio and de Souza, Emanuel Maltempi and Cruz, Leonardo Magalh{\~a}es},
journal={Science of the Total Environment},
volume={742},
pages={140314},
year={2020},
publisher={Elsevier}
}
All commands were tested on Linux, but its possible to adapt the follow steps to Windows or others OS.
A simple way to execute the project is using docker. If you have it, execute the follow steps on terminal:
git clone https://github.com/BrunoMeyer/microbiome_network.git
cd microbiome_network
sudo docker build -t python-microbiomenet .
sudo docker run --rm -d -it --name python-microbiomenet -v "$(pwd)"/src:/microbnet -w "/microbnet" python-microbiomenet
Then, you can watch the current status of processing with
sudo docker ps
sudo docker logs python-microbiomenet
The sudo is optional if you have configured your docker.
Also, you can execute the commands manually:
git clone https://github.com/BrunoMeyer/microbiome_network.git
cd microbiome_network
cd src/
pip3 install -r requirements.txt
./create_graph.sh
After the processing you can visualize the results opening src/index.html
file with a web browser. There you will see three choices:
- "Scores": Page with relative abundance and table with each taxon and scores extracted from Random Forest
- "Taxon importance chart": Visualization of scores with taxons grouped by different taxonomic levels
- Network: Network/Graph with correlation analysis between taxons and its scores. Scores represents the discriminative "power"