/rottenice

Data processing scripts used for the Rotten Ice project

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

rottenice

Data processing python scripts used for the Rotten Ice project by Carie Frantz cariefrantz@weber.edu

List of scripts

ScriptDescriptionData files used
AlphaDiversityPlots.pyUsed to generate alpha diversity metric boxplots from rarefied sequencing sample metricsalpha_diversity_metrics_16S.csv, alpha_diversity_metrics_18S.csv
BetaClustermaps.pyUsed to generate sample clustermaps from sample distance matrices16S_dist_matrix.csv, 18S_dist_matrix.csv
ChemDataPCA.pyUsed to generate PCA plots of physical and chemical habitat parametersmetadata.csv
ChemHeatmaps.pyUsed to generate heatmaps of sample metadata (physical, chemical, and biological measurements)metadata.csv
SpearmanGrid.pyUsed to generate a heatmap grid of Spearman correlation coefficients for metadata vs. taxonomic group abundancemetadata.csv, 16S_cDNA_ASV-table.csv, 18S_cDNA_ASV-table.csv
WebTaxBarplotsSimple.pyUsed to generate interactive side-by-side bokeh taxonomic bar plots (web-based) from algae taxonomy data. Results at different taxonomic levels are built in as tabs.AlgaeIDs.csv
WebTaxBarplotsStacked.pyUsed to generate interactive stacked bokeh taxonomic bar plots (web-based) from Illumina sequencing data. Plots for absolute and relative abundance for both DNA and cDNA are stacked for ease of comparison.16S_DNA_ASV-table.csv, 16S_cDNA_ASV-table.csv, 18S_DNA_ASV-table.csv, 18S_cDNA_ASV-table.csv

Shared scripts

The following scripts are called by several (most) of the main scripts listed above. Download these to the same directory as the scripts above.

ScriptDescription
RottenIceModules.pyCollection of scripts shared by multiple other scripts in this project
RottenIceVars.pyCollection of variables shared by multiple other scripts in this project

Setting up

The code for this project requires the following list of packages in order to run.

  • tkinter
  • progress
  • numpy
  • pandas
  • math
  • scipy
  • sklearn
  • seaborn
  • matplotlib
  • bokeh

To install using conda, execute the command:

conda install tkinter
conda install progress

...and so on

To install using pip, execute the command:

pip install tkinter
pip install progress

...and so on

Running

Once python and the packages listed above are installed, to run a script from command line execute the command:

python ChemDataPCA.py
python WebTaxBarplotsSimple.py

...and so on