Skip to content

Incremental clustesting pipeline from quantms data.

License

Notifications You must be signed in to change notification settings

bigbio/spectrafuse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spectrafuse

Incremental clustering pipeline from quantms data. quantms is a workflow for reanalysis of public proteomics data. The quantms not only release a workflow to the public but also perform reanalysis of public proteomics data in a systematic way for TMT, LFQ, ITRAQ and other DDA methods.

quantms has reanalyzed an extensive number of datasets with almost 1 billion MS/MS (Mass Spectrometry/Mass Spectrometry) MS2 analyzed, comprising nearly 100 million PSMs (Peptide-Spectrum Matches) derived from various tissues, cell lines, and diseases. In light of this vast wealth of data,The spectrafuse aims to apply spectral clustering techniques to organize this data and construct spectral libraries.

spectrafuse is a nextflow workflow that perform incremental clustering of quantms and is based in the tool MaRaCluster.

The workflow in a nutshell:

image

Reference: https://github.com/bigbio/spectrafuse/blob/main/docs/algorithm.png

The workflow is designed to be run in a high-performance computing environment, and it is built using Nextflow. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies.

Workflow steps

The start of the workflow is the SDRF of each reanalyzed project in quantms and the corresponding PSM parquet files generated by the quantms workflow. Note: the PSM parquet file MUST contain the corresponding spectra for each identified peptide.

This workflow mainly consists of the following processes:

  1. Tool mgf-converter:A tool for converting each project file analyzed by QuantMS into an MGF file.
  2. Incremental Maracluster Algorithm : where we will utilize the incremental clustering method of Maracluster to cluster MGF files from the same species, instrument, and charge within each project.
  3. Library converter: - After all the clustering is done we should have a folder with the corresponding structure.

The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies.

Usage:

First, you should generate a flat text file directory containing the absolute/relative paths to each MS2 spectrum file in all projects.

Now, you can run the pipeline using:

nextflow run main.nf \
	--files_list_folder <FILE_LIST_FOLER>  
	--maracluster_output <OUTDIR> 

About

Incremental clustesting pipeline from quantms data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published