Giter Club home page Giter Club logo

abdubidopsis / medicago_rhizophagus_rnaseq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kserrano109/medicago_rhizophagus_rnaseq

0.0 0.0 0.0 4.09 MB

This is a repository for the publication "Spatially-Resolved, Single Cell Transcriptome Mapping of the Arbuscular Mycorrhizal Symbiosis" in which authors applied single-nuclei RNA-seq and spatial RNA-seq to the symbiosis between Medicago truncatula and Rhizophagus irregularis.

Home Page: https://github.com/kserrano109/Medicago_Rhizophagus_RNAseq

Jupyter Notebook 100.00%

medicago_rhizophagus_rnaseq's Introduction

Analysis of Medicago-AMF single-nuclei and spatial transcriptomics datasets

This is a repository for the publication "Spatial Co-transcriptomics Reveals Discrete Stages of Arbuscular Mycorrhizal Symbiosis" in which authors applied single-nuclei RNA-seq and spatial RNA-seq to the symbiosis between Medicago truncatula and Rhizophagus irregularis.


All figures can be produced using code found in the following Juptyer Notebooks:

  1. sNucRNAseq_med_AMF.ipynb: Figure 1a, Figure 3a, Figure 3b, Figure 4b, Figure 4c, Supp. Sheet 4
  2. sNucRNAseq_med_all.ipynb: Supp Figure 3
  3. spatialRNAseq_pre_integration.ipynb: spatial data conversion into seurat object + filtering/normalization
  4. spatialRNAseq_integration.ipynb: spatial object integration, Supp Figure 4
  5. spatialRNAseq_post_integration.ipynb: Figure 2b, Figure 2c, Figure 4a (data), Figure 4b, Figure 5c
  6. colonizationanalysis.ipynb: Supp Figure 2

Fastq files, Cellranger and Spaceranger matrix files, and fully processed .RDS Seurat Object files can be downloaded here: https://www.ncbi.nlm.nih.gov/geo/info/linking.html](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE240107.

The following packages are required:
"Seurat" "ggplot2" "patchwork" "dplyr" "here" "tidyverse" "viridis" "lattice" "reshape2" "cowplot" "Matrix" "Matrix.utils" "edgeR" "S4Vectors" "SingleCellExperiment" "pheatmap" "apeglm" "png" "DESeq2" "RColorBrewer" "data.table"


For optimal reproducibility, it is best to use the docker image listed below rather than rely on packages downloaded locally. You may also find it necessary to use NERSC or a cloud computing platform to analyze larger datasets; below are instructions for pulling the docker image during an interactive R session on NERSC or in a NERSC-hosted Jupyter notebook (preferred but a few more steps to set up).


Very basic instructions for pulling a docker image that supports these Jupyter Notebooks:

  1. docker is installed on your computer and running (might as well be the latest version)
  2. adjust docker preferences>resources to at least 8GB memory and at least 16GB disk image size
  3. in terminal:

docker pull bcoli/renv_single_cell:2.1.1

docker run --rm --mount type=bind,source="your-project-directory",target="/home/rstudio/" -p 8787:8787 bcoli/renv_single_cell:2.1.1

  1. in web browser, type: http://localhost:8787

Username: rstudio

PW: provided in terminal

To use this docker image for R on NERSC (for larger objects)

  1. be in an interactive node
  2. be in directory where files are

run:

shifterimg pull bcoli/renv_single_cell:2.0.1 shifter --image bcoli/renv_single_cell:2.0.1 R

To use R in a Jupyter notebook on NERSC

To create a kernel to use shifter to connect to the bcoli/renv_single_cell:2.1.1 docker image:

Log in to Perlmutter and navigate to: ~/.local/share/jupyter/kernels

mkdir seurat-shifter cd seurat-shifter

vim kernel.json

this kernel.json should contain the following:

{ "argv": ["shifter","--image=bcoli/renv_single_cell:2.1.1","R","--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"],
"display_name": "seurat_shifter", "language": "R" }

Go to 'jupyter.nersc.gov' and select a CPU (shared or exclusive) on Perlmutter– this kernel should now be available

R objects identities:

see doc

reference genomes:

Medicago truncatula genome assembly and annotation: MedtrA17_4.0

Rhizophagus irregularis genome assembly and annotation: Rir_HGAP_ii_V2 (DAOM 181602, DAOM 197198) .

Please reach out to Karen Serrano at [email protected] or Margot Bezrutcyzk at [email protected] for any questions.

medicago_rhizophagus_rnaseq's People

Contributors

kserrano109 avatar mbezrutczyk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.