Prepare Reference Atlas

How to Build a Reference

  • Code used for reference budiling

prep_data/scATAnno-reference-building-example

  • Software needed
  • load input files in build_reference.sh

    • Frag_path path to fragments.tsv.gz

    • Barcode_path path to barcodes.tsv

    • hg38.chrom.sizes.txt within the reference buidling folder hg38.chrom.sizes.txt

  • command to create the reference

bash build_reference.sh

This command will build reference based on the following steps:

    1. call peaks using MACS2 from fragment file

    1. prepare peak-cell matrix file

    1. construct peak-cell matrix for reference atlas using QuickATAC

    1. prepare reference atlas h5ad file for scATAnno

    1. (optional) Create reference low-dimensional spectral embedding for futher use

Healthy Adult Reference Atlas

PBMC Reference Atlas

  • Select 39441 PBMC cells

  • Generate 196K peaks by MACS2 Peak-Calling

  • Downloaded PBMC atlas

    UMAP of PBMC scATAC Reference Atlas

    Perform dimensionality reduction using spectral embedding, visualize annotation on UMAP

BCC TIL Reference Atlas

  • Select 22008 TIL cells

  • Generate 340K peaks by MACS2 Peak-Calling

  • Downloaded TIL atlas

    UMAP of Mouse scATAC Reference Atlas

    Perform dimensionality reduction using spectral embedding, visualize annotation on UMAP