GithubHelp home page GithubHelp logo

ms_pipeline2's Introduction

MS_pipeline2

Fragpipe reminds me of a lego set I got when I was a kid, that did not come with a manual on how to assemble it. Here I'm trying to make my own manual in the form of a snakemake pipeline.

                            _________________________________________  
                         <               MS_pipeline2                 >
                         < Taking what worked and leaving what didn't >
                           ------------------------------------------  
                                                          \\           
                             ___......__             _     \\          
                         _.-'           ~-_       _.=a~~-_             
 --=====-.-.-_----------~   .--.       _   -.__.-~ ( ___===>           
               '''--...__  (    \\ \\\\\\ { )       _.-~               
                         =_ ~_  \\\\-~~~//~~~~-=-~                     
                          |-=-~_ \\\\   \\\\                           
                          |_/   =. )   ~}                              
                          |}      ||                                   
                         //       ||                                   
                       _//        {{                                   
                    '='~'          \\\\_    =                          
                                    ~~'                                
                                                                       

This is a very simple pipeline to transform .d files with an appropriate database into sane protein calls with abundances.

This pipeline can be seen as an enhanced version of https://fragpipe.nesvilab.org/docs/tutorial_linux.html

The workflow is based on msfragger and aims to keep a tidy tree of output files.

Installation

  1. Prerequisites:
  1. Clone this repo

  2. Set up the profiles/slurm/ configuration so that it matches your execution environment. There is also a profile for local execution without a job management system (profiles/local/)

Usage

1) Update config.yaml

The file config.yaml contains all the parameters needed for this pipeline to run successfully. You should update the parameters so they reflect which samples you wish to process.

Because nesvilab doesn't make their executables easily publicly available, you need to tell the pipeline where to find them on your system. Update addresses for the keys philosopher_executable, msfragger_jar and ionquant_jar which can be downloaded here, here and here, respectively.

Currently the pipeline only supports the input of .d-files (agilent/bruker). Create an item in batch_parameters where you define key d_base which is the base directory where all .d-files reside. Define key database_glob which is a path (or glob) to the fasta-amino acid files that you want to include in the target protein database.

Define items under the samples key which link sample names to the .d-files.

Lastly, set the root batch key to point at the batch that you want to run.

2) Run

Finally, run the pipeline in your command line with:

$ snakemake --profile profiles/slurm/ 

Below is an example graph for a run involving two samples.

dag_

Future

This pipeline might involve an R-markdown performing trivial QC.

ms_pipeline2's People

Contributors

cmkobel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.