Skip to content

cmfrantz/rottenice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
CommunityPCoA.pyGenerates PCoA plots split out and coded by metadata from pcoa ordinate data.ordination.txt for different datasets of interest
DistplotTMB.pyGenerates box-and-whisker plots comparing community distances in different ice horizons during different months to assess vertical homogenization.distance-matrix.tsv
DistplotDNAcDNA.pyGenerates box-and-whisker plots comparing DNA vs. cDNA community distances between samples.distance-matrix.tsv for the different datasets
MetadataPCA.pySimilar to ChemDataPCA, but generates PCA biplots comparing samples based on their metadata. Displays vectors showing how different metadata parameters influence the principal components.metadata.tsv
formatASVtable.pyCompiles ASV and taxonomy tables exported from QIIME2 as an excel file with tabs for counts and normalized data that is sorted by sample and taxonomy.asv-table.tsv (taxonomy-added asv table from BIOM export) and otu-table-L7.csv (from QIIME2 View barplot export)
TaxBarplotPretty.pyCreates stacked barplots for publication from annotated relative abundance tables.ASV-table-formatted-annotated.csv for datasets of interest

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

About

Data processing scripts used for the Rotten Ice project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages