Sovereign 8s.is mirror of standardgalactic/ACE_gene_centric_scripts
- R 95.5%
- Shell 4.1%
- Python 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| 00_METADATA_TREATMENT | ||
| 01_GENE_MATRIX_CONCATENATION_NORMALIZATION | ||
| 02_STATISTICS_GENE_MAT | ||
| 03_STATISTICS_CAGs_OF_INTEREST | ||
| 04_TAXO_ANNOT_CONTIGS_CAGs | ||
| 05_ANALYZE_TARA_MAPPING | ||
| HOME_FUNCTIONS | ||
| .gitignore | ||
| .zenodo.json | ||
| README.md | ||
Water mass specific genes dominate the Southern Ocean
This repository contains bash, R and python code generated and used for the analysis of microbial genes in the Southern Ocean based on the Antarctic Circumnavigation Expedition (ACE) metagenomes.
Authors: Emile Faure, Lisa-Marie Delpech
Folders organization
- 00_METADATA_TREATMENT - R scripts used to concatenate, explore and impute missing values in CTD metadata from the ACE campaign. 00-ACE_CTD_Profile_data_formatting: Concatenation of CTD files from Henry et al. (2020) creating an RDS object used in script 01-ACE_CTD_Profiles. 01-ACE_CTD_Profiles: Script generating temperature-salinity plots for the ACE CTD samples based on the GSW toolbox, as well as depth-salinity, depth-temperature, oxygen-salinity, oxygen-temperature and depth-oxygen profiles. These profiles were used for the classification of ACE CTD samples into their water masses. 02-ACE_CTD_Metadata: CTD metadata wrangling, missing value exploration and imputation, and definition of categorical variables. Preliminary analysis of environmental variables for the ACE CTD samples.
- 01_GENE_MATRIX_CONCATENATION_NORMALIZATION - Bash and R scripts used to concatenate, aggregate and normalize mapping outputs produced by the NOEMIE pipeline, developed for this study. 1st step : concatenate all outputs in one matrix. 2nd and 3rd step : aggregate mapping results at CD-Hit and AGNOSTOS cluster-level resp., by summing mapping outputs from genes belonging to the same cluster. 4th step : Apply a threshold on detection to remove coverage values corresponding to low detections (i.e. low breadth of coverage). 5th step : Remove discarded clusters from the AGNOSTOS-aggregated matrix. 6th step : Use DESeq2 to normalize the obtained coverage matrices.
- 02_STATISTICS_GENE_MAT - Bash, R and python scripts used to statistically explore gene matrices produced by NOEMIE. Includes all R codes used to produce the NMDS and associated statistics, the random forest regressions and their permuted versions, the analysis of DMSP Lyases distribution, and the redundancy analysis at CAG level. Also includes the python scripts used to create CAGs in each size fraction before implementing them in the RDA, and bash scripts used to concatenate results of individual random forest regressions.
- 03_STATISTICS_CAGs_OF_INTEREST - Bash scripts used to retrieve and extract functional and taxonomic annotations of CAGs of interest, and R scripts used to statistically explore the content of CAGs of interest in terms of function and taxonomy. Also includes codes to reproduce figure elements related to taxonnomy, distribution and function of Mertz-specific and SAR11-related CAGs.
- 04_TAXO_ANNOT_CONTIGS_CAGs - Bash script used to obtain contigs level taxonomic annotation for specific CAGs of interest, using Kraken2 and GTDB, MMSeqs2 and UniRef90 and Genomad.
- 05_ANALYZE_TARA_MAPPING - Bash scripts used to quality check the fastq files from TARA Oceans and Polar Circle metagenomes before they were used through the NOEMIE pipeline with the ACE contigs as reference. Bash scripts used to manipulate NOEMIE outputs. R script used to test the enrichment of specific functions in polar genes.
Home functions
The HOME_FUNCTIONS folder contains homemade R functions used in some of the R scripts 02 and 03 folders.