IDEAS home Printed from https://ideas.repec.org/a/nat/natcom/v13y2022i1d10.1038_s41467-022-32097-3.html
   My bibliography  Save this article

Scarf enables a highly memory-efficient analysis of large-scale single-cell genomics data

Author

Listed:
  • Parashar Dhapola

    (Lund University)

  • Johan Rodhe

    (Lund University)

  • Rasmus Olofzon

    (Lund University)

  • Thomas Bonald

    (Institut Polytechnique de Paris)

  • Eva Erlandsson

    (Lund University)

  • Shamit Soneji

    (Lund University)

  • Göran Karlsson

    (Lund University)

Abstract

As the scale of single-cell genomics experiments grows into the millions, the computational requirements to process this data are beyond the reach of many. Herein we present Scarf, a modularly designed Python package that seamlessly interoperates with other single-cell toolkits and allows for memory-efficient single-cell analysis of millions of cells on a laptop or low-cost devices like single-board computers. We demonstrate Scarf’s memory and compute-time efficiency by applying it to the largest existing single-cell RNA-Seq and ATAC-Seq datasets. Scarf wraps memory-efficient implementations of a graph-based t-stochastic neighbour embedding and hierarchical clustering algorithm. Moreover, Scarf performs accurate reference-anchored mapping of datasets while maintaining memory efficiency. By implementing a subsampling algorithm, Scarf additionally has the capacity to generate representative sampling of cells from a given dataset wherein rare cell populations and lineage differentiation trajectories are conserved. Together, Scarf provides a framework wherein any researcher can perform advanced processing, subsampling, reanalysis, and integration of atlas-scale datasets on standard laptop computers. Scarf is available on Github: https://github.com/parashardhapola/scarf .

Suggested Citation

  • Parashar Dhapola & Johan Rodhe & Rasmus Olofzon & Thomas Bonald & Eva Erlandsson & Shamit Soneji & Göran Karlsson, 2022. "Scarf enables a highly memory-efficient analysis of large-scale single-cell genomics data," Nature Communications, Nature, vol. 13(1), pages 1-14, December.
  • Handle: RePEc:nat:natcom:v:13:y:2022:i:1:d:10.1038_s41467-022-32097-3
    DOI: 10.1038/s41467-022-32097-3
    as

    Download full text from publisher

    File URL: https://www.nature.com/articles/s41467-022-32097-3
    File Function: Abstract
    Download Restriction: no

    File URL: https://libkey.io/10.1038/s41467-022-32097-3?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Dmitry Kobak & Philipp Berens, 2019. "The art of using t-SNE for single-cell transcriptomics," Nature Communications, Nature, vol. 10(1), pages 1-14, December.
    2. Junyue Cao & Malte Spielmann & Xiaojie Qiu & Xingfan Huang & Daniel M. Ibrahim & Andrew J. Hill & Fan Zhang & Stefan Mundlos & Lena Christiansen & Frank J. Steemers & Cole Trapnell & Jay Shendure, 2019. "The single-cell transcriptional landscape of mammalian organogenesis," Nature, Nature, vol. 566(7745), pages 496-502, February.
    3. Jason D. Buenrostro & Beijing Wu & Ulrike M. Litzenburger & Dave Ruff & Michael L. Gonzales & Michael P. Snyder & Howard Y. Chang & William J. Greenleaf, 2015. "Single-cell chromatin accessibility reveals principles of regulatory variation," Nature, Nature, vol. 523(7561), pages 486-490, July.
    4. Betsabeh Khoramian Tusi & Samuel L. Wolock & Caleb Weinreb & Yung Hwang & Daniel Hidalgo & Rapolas Zilionis & Ari Waisman & Jun R. Huh & Allon M. Klein & Merav Socolovsky, 2018. "Population snapshots predict early haematopoietic and erythroid hierarchies," Nature, Nature, vol. 555(7694), pages 54-60, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kensuke Miyake & Junya Ito & Jun Nakabayashi & Shigeyuki Shichino & Kenji Ishiwata & Hajime Karasuyama, 2023. "Single cell transcriptomics clarifies the basophil differentiation trajectory and identifies pre-basophils upstream of mature basophils," Nature Communications, Nature, vol. 14(1), pages 1-15, December.
    2. Takayoshi Matsumura & Haruhito Totani & Yoshitaka Gunji & Masahiro Fukuda & Rui Yokomori & Jianwen Deng & Malini Rethnam & Chong Yang & Tze King Tan & Tadayoshi Karasawa & Kazuomi Kario & Masafumi Tak, 2022. "A Myb enhancer-guided analysis of basophil and mast cell differentiation," Nature Communications, Nature, vol. 13(1), pages 1-17, December.
    3. J. McClatchy & R. Strogantsev & E. Wolfe & H. Y. Lin & M. Mohammadhosseini & B. A. Davis & C. Eden & D. Goldman & W. H. Fleming & P. Conley & G. Wu & L. Cimmino & H. Mohammed & A. Agarwal, 2023. "Clonal hematopoiesis related TET2 loss-of-function impedes IL1β-mediated epigenetic reprogramming in hematopoietic stem and progenitor cells," Nature Communications, Nature, vol. 14(1), pages 1-17, December.
    4. Ci Fu & Xiang Zhang & Amanda O. Veri & Kali R. Iyer & Emma Lash & Alice Xue & Huijuan Yan & Nicole M. Revie & Cassandra Wong & Zhen-Yuan Lin & Elizabeth J. Polvi & Sean D. Liston & Benjamin VanderSlui, 2021. "Leveraging machine learning essentiality predictions and chemogenomic interactions to identify antifungal targets," Nature Communications, Nature, vol. 12(1), pages 1-18, December.
    5. Sandra Curras-Alonso & Juliette Soulier & Thomas Defard & Christian Weber & Sophie Heinrich & Hugo Laporte & Sophie Leboucher & Sonia Lameiras & Marie Dutreix & Vincent Favaudon & Florian Massip & Tho, 2023. "An interactive murine single-cell atlas of the lung responses to radiation injury," Nature Communications, Nature, vol. 14(1), pages 1-16, December.
    6. Seung-Hyun Jung & Byung-Hee Hwang & Sun Shin & Eun-Hye Park & Sin-Hee Park & Chan Woo Kim & Eunmin Kim & Eunho Choo & Ik Jun Choi & Filip K. Swirski & Kiyuk Chang & Yeun-Jun Chung, 2022. "Spatiotemporal dynamics of macrophage heterogeneity and a potential function of Trem2hi macrophages in infarcted hearts," Nature Communications, Nature, vol. 13(1), pages 1-15, December.
    7. Hailun Zhu & Sihai Dave Zhao & Alokananda Ray & Yu Zhang & Xin Li, 2022. "A comprehensive temporal patterning gene network in Drosophila medulla neuroblasts revealed by single-cell RNA sequencing," Nature Communications, Nature, vol. 13(1), pages 1-19, December.
    8. Rong Ma & Eric D. Sun & James Zou, 2023. "A spectral method for assessing and combining multiple data visualizations," Nature Communications, Nature, vol. 14(1), pages 1-14, December.
    9. Aaron T L Lun & Hervé Pagès & Mike L Smith, 2018. "beachmat: A Bioconductor C++ API for accessing high-throughput biological data from a variety of R matrix types," PLOS Computational Biology, Public Library of Science, vol. 14(5), pages 1-15, May.
    10. Kaiwen Wang & Yuqiu Yang & Fangjiang Wu & Bing Song & Xinlei Wang & Tao Wang, 2023. "Comparative analysis of dimension reduction methods for cytometry by time-of-flight data," Nature Communications, Nature, vol. 14(1), pages 1-18, December.
    11. Qian-Yue Zhang & Xiao-Ping Ye & Zheng Zhou & Chen-Fang Zhu & Rui Li & Ya Fang & Rui-Jia Zhang & Lu Li & Wei Liu & Zheng Wang & Shi-Yang Song & Sang-Yu Lu & Shuang-Xia Zhao & Jian-Nan Lin & Huai-Dong S, 2022. "Lymphocyte infiltration and thyrocyte destruction are driven by stromal and immune cell components in Hashimoto’s thyroiditis," Nature Communications, Nature, vol. 13(1), pages 1-18, December.
    12. Hyeon-Jin Kim & Greg Booth & Lauren Saunders & Sanjay Srivatsan & José L. McFaline-Figueroa & Cole Trapnell, 2022. "Nuclear oligo hashing improves differential analysis of single-cell RNA-seq," Nature Communications, Nature, vol. 13(1), pages 1-12, December.
    13. L. Mathur & B. Szalai & N. H. Du & R. Utharala & M. Ballinger & J. J. M. Landry & M. Ryckelynck & V. Benes & J. Saez-Rodriguez & C. A. Merten, 2022. "Combi-seq for multiplexed transcriptome-based profiling of drug combinations using deterministic barcoding in single-cell droplets," Nature Communications, Nature, vol. 13(1), pages 1-15, December.
    14. Greg Holmes & Ana S. Gonzalez-Reiche & Madrikha Saturne & Susan M. Motch Perrine & Xianxiao Zhou & Ana C. Borges & Bhavana Shewale & Joan T. Richtsmeier & Bin Zhang & Harm Bakel & Ethylin Wang Jabs, 2021. "Single-cell analysis identifies a key role for Hhip in murine coronal suture development," Nature Communications, Nature, vol. 12(1), pages 1-16, December.
    15. Caroline Hoffmann & Floriane Noel & Maximilien Grandclaudon & Lucile Massenet-Regad & Paula Michea & Philemon Sirven & Lilith Faucheux & Aurore Surun & Olivier Lantz & Mylene Bohec & Jian Ye & Weihua , 2022. "PD-L1 and ICOSL discriminate human Secretory and Helper dendritic cells in cancer, allergy and autoimmunity," Nature Communications, Nature, vol. 13(1), pages 1-20, December.
    16. Katrin Rabold & Martijn Zoodsma & Inge Grondman & Yunus Kuijpers & Manita Bremmers & Martin Jaeger & Bowen Zhang & Willemijn Hobo & Han J. Bonenkamp & Johannes H. W. Wilt & Marcel J. R. Janssen & Lenn, 2022. "Reprogramming of myeloid cells and their progenitors in patients with non-medullary thyroid carcinoma," Nature Communications, Nature, vol. 13(1), pages 1-14, December.
    17. Gaofei Li & Yicong Sun & Immanuel Kwok & Liting Yang & Wanying Wen & Peixian Huang & Mei Wu & Jing Li & Zhibin Huang & Zhaoyuan Liu & Shuai He & Wan Peng & Jin-Xin Bei & Florent Ginhoux & Lai Guan Ng , 2024. "Cebp1 and Cebpβ transcriptional axis controls eosinophilopoiesis in zebrafish," Nature Communications, Nature, vol. 15(1), pages 1-15, December.
    18. Hongchun Lin & Hui Peng & Yuxiang Sun & Meijun Si & Jiao Wu & Yanlin Wang & Sandhya S. Thomas & Zheng Sun & Zhaoyong Hu, 2023. "Reprogramming of cis-regulatory networks during skeletal muscle atrophy in male mice," Nature Communications, Nature, vol. 14(1), pages 1-17, December.
    19. Wenpin Hou & Zhicheng Ji & Zeyu Chen & E. John Wherry & Stephanie C. Hicks & Hongkai Ji, 2023. "A statistical framework for differential pseudotime analysis with multiple single-cell RNA-seq samples," Nature Communications, Nature, vol. 14(1), pages 1-21, December.
    20. Won Kyung Kim & Alyssa J. Buckley & Dong-Hoon Lee & Alex Hiroto & Christian H. Nenninger & Adam W. Olson & Jinhui Wang & Zhuo Li & Rajeev Vikram & Yao Mawulikplimi Adzavon & Tak-yu Yau & Yigang Bao & , 2024. "Androgen deprivation induces double-null prostate cancer via aberrant nuclear export and ribosomal biogenesis through HGF and Wnt activation," Nature Communications, Nature, vol. 15(1), pages 1-18, December.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:nat:natcom:v:13:y:2022:i:1:d:10.1038_s41467-022-32097-3. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.nature.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.