A pipeline for analyzing cell-free DNA profiles
This is the home of the pipeline, fragmentomics. Its long-term goals: to provide a standardized, reproducible, and scalable framework for cfDNA fragmentomics analysis, enabling comprehensive characterization of fragmentation patterns and supporting biomarker discovery across research and clinical applications.!Welcome to fragmentomics! Before getting started, we highly recommend reading through fragmentomics's documentation.
The ./fragmentomics pipeline is composed several inter-related sub commands to setup and run the pipeline across different systems. Each of the available sub commands perform different functions:
fragmentomics run: Run the fragmentomics pipeline with your input files.fragmentomics unlock: Unlocks a previous runs output directory.fragmentomics install: Download reference files locally.fragmentomics cache: Cache software containers locally.
fragmentomics is a comprehensive workflow for analyzing fragmentation patterns in cell-free DNA sequencing data. It runs FinaleToolkit1, a python-based fragmentomics package, to process sorted and indexed BAM files generated from whole-genome sequencing, whole-genome bisulfite sequencing, or ChIP-seq experiments. The pipeline characterizes multiple cfDNA fragmentation features, including fragment-length distributions, genomic coverage, fragment-end motifs, motif diversity scores, window protection scores, GC-corrected DELFI short-to-long fragment ratios, and cleavage profiles. Together, these measurements provide a detailed view of cfDNA fragmentation patterns and generate standardized outputs that can support downstream biomarker discovery, disease classification, and other research applications. It relies on technologies like Singularity2 to maintain the highest-level of reproducibility. The pipeline consists of a series of data processing and quality-control steps orchestrated by Snakemake3, a flexible and scalable workflow management system, to submit jobs to a cluster.
As input, it accepts a set of paired-end Illumina FastQ or BAM files (FastQ and BAM cannot be mixed in a single run) and can be run locally on a compute instance or on-premise using a cluster. A user can define the method or mode of execution. The pipeline can submit jobs to a cluster using a job scheduler like SLURM (more coming soon!). A hybrid approach ensures the pipeline is accessible to all users. Before getting started, we highly recommend reading through the usage section of each available sub command.
For more information about issues or trouble-shooting a problem, please checkout our FAQ prior to opening an issue on Github.
Requires: singularity>=3.5 snakemake<=7.32.4
At the current moment, the pipeline uses a mixture of enviroment modules and docker images; however, this will be changing soon! In the very near future, the pipeline will only use docker images. With that being said, snakemake and singularity must be installed on the target system. Snakemake orchestrates the execution of each step in the pipeline. To guarantee the highest level of reproducibility, each step of the pipeline will rely on versioned images from DockerHub. Snakemake uses singularity to pull these images onto the local filesystem prior to job execution, and as so, snakemake and singularity will be the only two dependencies in the future.
Please clone this repository to your local filesystem using the following command:
# Clone Repository from Github
git clone https://github.com/OpenOmics/fragmentomics.git
# Change your working directory
cd fragmentomics/
# Add dependencies to $PATH
# Biowulf users should run
module load snakemake singularity
# Get usage information
./fragmentomics -hThis site is a living document, created for and by members like you. fragmentomics is maintained by the members of OpenOmics and is improved by continous feedback! We encourage you to contribute new content and make improvements to existing content via pull request to our GitHub repository.
If you use this software, please cite it as below:
@BibText
Citation coming soon!
@APA
Citation coming soon!
1. James Wenhan Li, Ravi Bandaru, Kundan Baliga, Yaping Liu. FinaleToolkit: Accelerating Cell-Free DNA Fragmentation Analysis with a High-Speed Computational Toolkit. Bioinformatics Advances, 2025, vbaf236.
2. Kurtzer GM, Sochat V, Bauer MW (2017). Singularity: Scientific containers for mobility of compute. PLoS ONE 12(5): e0177459.
3. Koster, J. and S. Rahmann (2018). "Snakemake-a scalable bioinformatics workflow engine." Bioinformatics 34(20): 3600.