Skip to content

snRNA-seq analysis of nucleus accumbens tissue from prairie voles

License

Notifications You must be signed in to change notification settings

donaldsonlab/snRNAseq_voles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snRNAseq_voles

snRNA-seq analysis of nucleus accumbens tissue from prairie voles

All raw sequencing data is on GEO with the accession number GSE255620. It is embargoed until Aug 1, 2025.

All analysis was run as R or Jupyter notebooks. For R notebooks, the .Rmd file and the .md file (with figure outputs) are both included.

Files on Figshare

  • SCT_norm.rds : The Seurat object for all snRNA-seq analyses. All animals are combined in this object. Private link (should change to public link upon publication): https://figshare.com/s/13648f94bab3f8cda994
  • Animal metadata (seq_beh_metadata.csv) : metadata from snRNA-seq experiment. Also on Github in "docs/"
  • Zipped Hotspot object .pkl file (new_clusts_ncountsct_Copy): zipped .pkl file of Hotspot object, so that you don't need to run Hotspot algorithm every time. Private link: https://figshare.com/s/85ddd95e7fc33956288f
  • Mean SCT-normalized counts per gene, per animal, per cluster (avg_SCT_cts_per_cluster.csv) : CSV containing mean(log(counts)) per gene per animal per cluster (for correlated genes analysis, which was included in first submission, but not resubmission). Private link: https://figshare.com/s/647301ed42293deed2f5

The "docs/" directory

To run this analysis

  1. Download sequencing data from GEO.
  2. Run code in src/seurat_integration to create a separate Seurat object per animal and then integrate all animals into one Seurat object. I did this on the computing cluster (RC at CU Boulder).
  3. Run code in src/seurat_clustering.
    • First, run seurat_batch_correction_filtering.Rmd to run batch correction and filter out animal/cells that should be excluded.
    • seurat_batch_correction_filtering.Rmd creates the final Seurat object used for all downstream analysis. This file (SCT_norm.rds) is also on Figshare as noted above, so this part of the analysis does not need to be run every time. Note: UMAP is stochastic, so UMAP generated may vary slightly from the UMAP presented in the paper.
    • Then, run UMAP_clustering.Rmd to create UMAP and analyze cell type proportions. Seurat object (SCT_norm.rds) can be loaded in this file for subsequent analysis.
  4. Run code in src/hotspot.
    • First, run the Jupyter notebook run_hotspot.ipynb that runs Hotspot.
    • Then, run hotspot_forpaper.Rmd to analyze the output from Hotspot.
    • To analyze behavior data (partner preference and free interaction) with the Hotspot output (e.g. to examine correlations), run behavior_hotspot.Rmd.
  5. Run code in src/SVM.
  6. Run code in src/separation_RNAseq.

Note: Analysis using src/correlated_genes was not included in the resubmission to Science. This code finds which genes are correlated between partners in each cluster, runs GO analysis, and plots GO terms in a heatmap.

renv.lock

This is the R environment with the package versions used for this analysis. An R environment can be created from the renv.lock file.

About

snRNA-seq analysis of nucleus accumbens tissue from prairie voles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published