https://github.com/bebatut/amma-microbiota-driven
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.4%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: bebatut
- Language: Jupyter Notebook
- Default Branch: main
- Size: 38.1 MB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Atlas of Microglia-Microbiota in Aging (AMMA)
Microglia, the brain resident macrophages, display high plasticity in response to their environment. Aging of the central nervous system (CNS), where microglial physiology is especially disrupted, is a major risk factor for a myriad of neurodegenerative diseases. Therefore, it is crucial to decipher intrinsic and extrinsic factors, like sex and the microbiome, that potentially modulate this process.
We found that microglia follow sex-dependent dynamics in aging. This repository stores the transcriptomics data analyses and the sources for the website explaining the analysis.
Transcriptomics data analyses
Requirements
Creation of the
condaenvironment with all the requirements$ make create-env
Preparation of files from the sequencing facility
Rename the files from the sequencing facility to follow the naming convention
$ python src/copy_rename_raw_files.py \ --input_dir <path to input directory> \ --file_name_description <path to csv file with the correspondance between directory structure and sample name (from the Google drive)> \ --output_dir <path to output directory>\
The naming convention for each sample is microbiota_age_sex_replicate
From sequences to gene counts (in Galaxy)
- Upload the data on Galaxy (e.g. https://usegalaxy.eu/) inside a data library
- Update the details in
config.yaml, specially the API key Prepare the history in Galaxy (import the files from the data library, merge the files sequenced on 2 different lanes (for ProjectS178 and ProjectS225) and move the input files into collections)
$ python src/prepare_data.pyLaunch Galaxy workflow to extract gene counts
$ python src/extract_gene_counts.pyThe worklow do:
- Quality control and trimming using FastQC and Trim Galore!
- Preliminary mapping and experiment inference using STAR and RSeQC
- Mapping using STAR
- Gene counting using FeatureCounts
The workflow is applied on each dataset (organized into data collection). It can take a while.
Once it is finished:
- Download the generated count table and the gene length file
- Put these files in the
datafolder
Differentially Expression Analysis (locally using Jupyter Notebooks)
Launch Jupyter
$ make launch-jupyterMove to
srcin JupyterPrepare the data: Open
0-prepare_data.ipynband execute all cells
Full analysis
Data: SPF/GF, young/middle-aged/old, female/male
Move to
full-dataPrepare the differential expression analysis
- Open
1-run_dge_analysis.ipynband execute all cells - Open
2-previsualize_data.ipynband execute all cells
- Open
Analyze the differentially expressed genes given different comparisons: Open the related notebook and execute all cells
Analysis | Notebook --- | --- Effect of microbiota (GF vs SPF) for the different ages and sexes |
3-analyze_microbiota_effect_given_ages_sexes.ipynbEffect of sexes (Male vs Female) for the different ages and microbiota |4-analyze_sex_effect_given_ages_microbiota.ipynbEffect of ages (Middle-aged vs Young, Old vs Young and Old vs Middle-aged) for the different microbiota and sexes |6-analyze_age_effect_given_microbiota_sexes.ipynbRun extra analyses
Analysis | Noteobook --- | --- Study of CML effect |
7-analyze_cml_effect.ipynbPostvisualize |8-postvisualize.ipynb
Sex-driven aging analysis
Data: SPF, young/middle-aged/old, female/male
Move to
sex-driven-agingPrepare the differential expression analysis
- Open
1-extract_samplesand execute all cells - Open
2-run_dge_analysis.ipynband execute all cells - Open
3-previsualize_data.ipynband execute all cells
- Open
Analyze the differentially expressed genes given different comparisons: open the related notebook and execute all cells
Analysis | Notebook --- | --- Effect of the sex (Male vs Female) for the 3 ages |
4-analyze-sex-effect-given-ages.ipynbEffect of the ages (Young, Middle-aged, Old) for the sexes |4-analyze-age-effect-given-sex.ipynb
Microbiota driven analysis
Data: SPF/GF, young/old, male
Move to
microbiota-drivenPrepare the differential expression analysis
- Open
1-extract_samplesand execute all cells - Open
2-run_dge_analysis.ipynband execute all cells - Open
3-previsualize_data.ipynband execute all cells
- Open
Analyze the differentially expressed genes given different comparisons: open the related notebook and execute all cells
Analysis | Notebook --- | --- Effect of the sex (Male vs Female) for the 3 ages |
4-analyze-sex-effect-given-ages.ipynbEffect of the ages (Young, Middle-aged, Old) for the sexes |4-analyze-age-effect-given-sex.ipynb
Website
This folder stores the sources of the website describing the analyses in docs folder.
Reports from the Jupyter notebooks are available there to show the different steps and images.
Generate HTML reports from the Jupyter Notebooks
$ make generate-reports
These reports are stored in the docs folder and are linked on the website.
Generate the website locally
Install Install the website's dependencies:
$ make installServe the website locally
$ make serve
Owner
- Name: Bérénice Batut
- Login: bebatut
- Kind: user
- Location: Clermont-Ferrand, France
- Company: University of Freiburg
- Website: http://research.bebatut.fr/
- Twitter: bebatut
- Repositories: 86
- Profile: https://github.com/bebatut
@galaxyproject training, @usegalaxy-eu, @open-life-science, @StreetScienceCommunity, @gallantries
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0