Giter VIP home page Giter VIP logo

3dst's Introduction

3dst

This is a public repository for all code connected to 3D spatial transcriptomics analysis in the rheumatoid arthitis synovium.

Please cite: Vickovic et al. Three dimensional transcriptomics uncovers spatial dynamics in the rheumatoid arthritis synovium. bioRxiv.

Tech workflow

github-small

File Structure Overview

All processed files are available at: https://portals.broadinstitute.org/single_cell/study/SCP460

github-small

We recommed using the Bulk Download function and to consult the file descriptions as mentioned bellow.

*Raw.exp* files: matrix with raw UMI-filtered counts tsv files with:

X_Y barcode (X_Y) coordinate as column names GENE as row names

*Norm.exp* files: matrix with normalized counts tsv files with:

X_Y barcode (X_Y) coordinate as column names GENE as row names

*all_inf* files: files connect (x,y) coordinates to infiltrate annotation regions in 3dst with:

SectionID_X_Y barcode (X_Y) coordinate
infiltrate infiltrate ID

*HE* files: jpg H&E image files

*Mask* files: jpg spots image files

*xy* files: files connect (x,y) coordinates to 2D centroids of actual ST spots in 3dst and are used to create a mask during segmentation with:

X_Y barcode (X_Y) coordinate
pix_x centroid pixel (x) coordinate in the HE and Mask images pix_y centroid pixel (y) coordinate in the HE and Mask images

*xyz* files: files connect (x,y) coordinates to z-axis alignments and enable the 3D viewing:

SectionID_X_Y Section number followed barcode (X_Y) coordinate
V1 rotated and aligned centroid (x) coordinate in the HE and Mask images V2 rotated and centroid (y) coordinate in the HE and Mask images

*Cluster* files: files connect (x,y) coordinates to normalized expression of genes found in each respective cluster with:

Image ID eg. RA1_HE_1 which matches the *HE* file names x barcode (X) coordinate y barcode (Y) coordinate
GENE list of genes with matched expression values

*scRNAseq* files: files connect (x,y) coordinates to normalized imputed expression of cell types found in each respective X_Y coordinate with:

Image ID eg. RA1_HE_1 which matches the *HE* file names x barcode (X) coordinate y barcode (Y) coordinate
b_cell eg. B cell specific score (same format for all 13 tested cell types)

Pairing HE image and sequencing data

Please refer to our github repo SpoTter.

Segmentation

This is code for segmenting HE nuclei and cytoplasm. HE image segmentation was performed by combining Ilastik and CellProfiler. The labeled segmentation mask was used to assign the individual spots to the corresponding Cell ID. The output CSV file includes Cell IDs, X and Y position of the cells (centroid) and the corresponding spots.

Cell typing

This is code for imputing cell types onto (x,y) spatial positions based on scRNA-seq data taken from Stephenson et al. GO enrichment was performed on the selected genes.

Clustering and Differential expression (DE) analysis

This is code for clustering and DE analysis between clusters.

3d app for viewing the data

This is the app for viewing 3D aligned and normalized ST-based expression. The raw code is also available.

3dst's People

Watchers

James Cloos 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.