Rxivist logo

Algorithm optimization for weighted gene co-expression network analysis: accelerating the calculation of Topology Overlap Matrices with OpenMP and SQLite

By Min Shuai, Xin Chen

Posted 04 Jan 2021
bioRxiv DOI: 10.1101/2021.01.01.425026

MotivationWeighted gene co-expression network analysis (WGCNA) is an R package that can search highly related gene modules. The most time-consuming step of the whole analysis is to calculate the Topological Overlap Matrix (TOM) from the Adjacency Matrix in a single thread. This study changes it to multithreading. ResultsThis paper uses SQLite for multi-threaded data transfer between R and C++, uses OpenMP to enable multi-threading and calculates the TOM via an adjacency matrix on a Shared-memory MultiProcessor (SMP) system, where the calculation time decreases as the number of physical CPU cores increases. Availability and implementationThe source code is available at https://github.com/do-somethings-haha/fast_calculate_TOM_of_WGCNA Contactchenxin@cdutcm.edu.cn

Download data

  • Downloaded 204 times
  • Download rankings, all-time:
    • Site-wide: 146,979
    • In bioinformatics: 11,348
  • Year to date:
    • Site-wide: 103,247
  • Since beginning of last month:
    • Site-wide: 125,155

Altmetric data


Downloads over time

Distribution of downloads per paper, site-wide


PanLingua

News