MyGit

cumc/xqtl-protocol

Fork: 42 Star: 40 (更新于 2024-10-31 07:40:45)

license: MIT

Language: Jupyter Notebook .

Molecular QTL analysis protocol developed by ADSP Functional Genomics Consortium

最后发布版本: 0.1.1 ( 2024-02-14 23:51:28)

官方网址 GitHub网址

FunGen-xQTL Computational Protocol

Developed for reproducible & reusable molecular QTL analyses for the NIH/NIA Alzheimer's Disease Sequencing Project (ADSP) Functional Genomics xQTL (FunGen-xQTL) Project.

QTL Diagram

Overview of the protocol

Standardized reference data

Reference data are standardized and curated by the ADSP FGC Standardization Workgroup in coordination with NIAGCADS. Please find reference data specifications on ADSP Dashboard.

Software environment

We have prepared containerized software environment through both Docker and Singularity virtualization systems to facilicate software environment setup and to aid in software reproducibility. For those not familiar with this concept please check out this wiki page of virtualization and an explanation on Docker website.

Pipeline execution

Pipelines in this repository are written in the Script of Scripts (SoS) workflow language. Like most other workflow languages, SoS workflows can distribute and execute computing jobs directly in High Performance Computing cluster. It can also use containers (Docker or Singularity) to help with setting up computational environment and improve reproducibility. Unlike most other workflow languages, SoS workflows are created using SoS Notebooks (based on Ipython Notebook and developed in Jupyter) which allow for both scientific narrative and pipeline scripts in the same document. Unlike typical Jupyter Notebooks intended for interactive data analysis, SoS workflows written in Jupyter Notebooks can be executed directly as command line scripts either on a local computer or in a HPC environment.

We provide this toy example for running SoS pipeline on a typical HPC cluster environment. First time users are encouraged to try it out in order to help setting up the computational environment necessary to run the analysis in this protocol.

Source code

How to use the resource

Organization of the resource

The website https://cumc.github.io/xqtl-protocol is generated from files under the code folder of the source code repository. The pipeline folder contains symbolic links automatically generated for pipeline files under code. The logic of the entire xQTL analysis workflow is roughly reflected on the left sidebar:

  • The GETTING STARTED section serves as the main landing page or index of the xQTL protocol, guiding users through the various pipelines implemented in this repository. It's structured to mirror the logic of the xQTL analysis we've crafted. Because this page provides pointers to other sections, users can primarily focus here without having to sift through the rest of the pages pages in this repository.
  • The COMMAND GENERATOR section is designed as a one-stop hub for "push button" commands, enabling users to generate the full QTL analysis pipeline workflow scripts from a straightforward configuration file. Notebooks within this section are intended to be executed as command line software for data analysis command generation. Users can then execute these generated commands directly to conduct all preset analyses. Alternatively, they can tweak the commands to cater to particular analysis requirements. The configuration file serves a dual purpose: streamlining control and maintaining a record of executed workflows.
  • Other sections in bold fonts provide an array of available analyses, presented roughly from upstream to downstream processes. Most of these sections feature mini-protocols, represented as clickable, non-bold text under each analysis category, leading to specific notebooks. These notebooks detail the commands necessary for the analyses defined in the respective mini-protocols. Predominantly tutorial-based, they are designed to be executed interactively in Jupyter or via the command terminal, allowing users to navigate through the SoS pipelines step by step. A few of these sections serve as actual pipeline modules which we'll discuss next (see below).
  • Mini-protocols, as mentioned earlier, can be expanded by clicking the downward arrows, revealing the SoS implementations of pipeline modules. These represent the crux of the pipeline implementations and are intended to be executed as command line software. They're also self-contained, allowing for reusability beyond the specific context of xQTL data analysis.

Computing environment setup

  • In order to run the xQTL protocol on your computer (or a High Performance Computing cluster), please install Script of Scripts (version >= 0.24.1) (see here for a tutorial to set it up with micromamba).
    • For Linux and Mac desktop users you can either install the container Singularity or Docker. In the xQTL project we use Singularity. Here are some tips to set up Singularity on MacOS.
    • For Linux-based HPC users, your system may already have Singularity installed. If not please communicate with the IT support for the HPC. Typically Docker is not allowed on HPC.
    • For Windows users, you will need to install WSL (we have tested it on WSL2 and not on WSL1) and then install Singularity within WSL as instructed in this post.
  • We have provided example data-sets and Singularity container images in this Synapse folder. For guidance on downloading the data programmatically, refer to this documentation. If you need to set up a Synapse client, consult this guide.
    • Within the test_data folder, datasets prefixed with MWE (Minimal Working Example) are provided. These are used for unit testing each module, ensuring the integrity of the code.
  • The protocol_data folder houses a comprehensive set of data, illustrating the full extent of our protocol. This is showcased in this notebook, with the source code available for reference.
  • The container/singularity folder contains the released Singularity images for the software environment. For Docker users (e.g., on Linux or Mac Desktops), downloading this folder is not necessary.
  • Please clone this repository https://github.com/cumc/xqtl-protocol onto your computer. This is the source code for this resource. All pipelines are symbolic links in the pipeline folder. Users are encouraged to execute from the root of the repository folders by typing
sos run pipeline/<pipeline_file>.ipynb

that is, executing the symbolic links directly to perform the analysis.

See Also

Our team

This repository is developed by the Analysis Working Group of the NIA FunGen-xQTL consortium.

Developers

Lead developers

  • Hao Sun, Department of Neurology, Columbia University
  • Gao Wang, Department of Neurology, Columbia University

Main contributors (largely based on GitHub Pull Requests)

Name Affiliation
Xuanhe Chen Department of Biostatistics, Columbia University
Wenhao Gou Department of Biostatistics, Columbia University
Liucheng Shi Department of Biostatistics, Columbia University
Haochen Sun Department of Biostatistics, Columbia University
Zining Qi Department of Biostatistics, Columbia University
Ru Feng Department of Neurology, Columbia University
Alexandre Pelletier Department of Medicine, Boston University
Travyse Edwards Mount Sinai & University of Pennsylvania
Daniel Nachun Department of Pathology, Stanford University
Jiacheng Li Department of Neurology, Columbia University
Mintao Lin Department of Medicine, Boston University

Leadership

FunGen-AD

Name Affiliation
Philip De Jager Department of Neurology, Columbia University
Carlos Crunchaga Department of Psychiatry, Neurology and Genetics, Washington University in St. Louis

FunGen-xQTL Analysis Working Group

Name Affiliation
Gao Wang Department of Neurology, Columbia University
Xiaoling Zhang Departments of Medicine and Biostatistics, Boston University
Edoardo Marcora Departments of Neuroscience, Genetics and Genomic Sciences, Icahn School of Medicine at Mount Sinai
Fanny Leung Department of the Pathology and Laboratory Medicine, University of Pennsylvania
Julia TCW Department of Pharmacology and Bioinformatics, Boston University
Kushal K. Dey Memorial Sloan Kettering
Alan Renton Departments of Neuroscience, Genetics and Genomic Sciences, Icahn School of Medicine at Mount Sinai
Stephen Montgomery Department of Pathology, Stanford University
Xiaoquan Wen Department of Biostatistics, University of Michigan

最近版本更新:(数据更新于 2024-09-18 07:15:54)

2024-02-14 23:51:28 0.1.1

2022-05-05 23:02:32 20220504

主题(topics):

adsp, fungen, xqtl

cumc/xqtl-protocol同语言 Jupyter Notebook最近更新仓库

2024-11-15 05:39:53 KindXiaoming/pykan

2024-11-11 10:53:33 microsoft/autogen

2024-10-30 14:24:30 neo4j-labs/llm-graph-builder

2024-10-09 04:20:42 Arize-ai/phoenix

2024-10-03 01:07:52 langchain-ai/langchain

2024-10-02 03:17:33 udlbook/udlbook