NMR pipe - CWL workflow for NMR spectra Peak Picking

public public 1yr ago Version: Version 1 0 bookmarks

CWL_dem1_NMR_Peak_Picking

CWL workflow for NMR spectra Peak Picking
The workflow takes as input a series of 2D 1H 15N HSQC NMR spectra and uses nmrpipe tools to convert the spectra in nmrpipe format and performs an automatic peak picking.
This test uses a protein MDM2 with different ligands and peptide and generates a peak list with 1H and 15N chemical shift values for each spectrum. The difference among these peak lists can be used to characterize the ligand binding site on the protein.
Test

  • Install cwl-runner

  • Install docker

  • run cwl-runner nmrpipe_workflow.cwl nmrpipe_workflow.yml

The steps contained in the workflow are the following:

  1. bruker_to_script : It reads Bruker files format and creates the "convertion script"

  2. script_to_fid : runs the "convertion script" in order to convert the data to nmrpipe free formats

  3. fid_to_pipe : executes FFT and autophasing on nmrpipe data

  4. pipe_to_pick : executes nmrpipe peak-piking algorithm

Code Snippets

3
4
5
6
7
baseCommand: [sh, runBrukerToScript.sh]
hints:
  DockerRequirement:
    # dockerPull: tlinnet/relax
    dockerPull: andreagia/nmrpipecwl
15
16
17
18
19
20
21
22
- entryname: runBrukerToScript.sh
  entry: |
      cp $1/ser* .
      cp $1/acqus .
      cp $1/acqu?s ./
      cp $1/pulseprogram ./
      bruker -auto -notk
      ls
3
4
5
6
7
baseCommand: [/bin/csh, runProcessFid.sh]
hints:
  DockerRequirement:
    # dockerPull: tlinnet/relax
    dockerPull: andreagia/nmrpipecwl
16
17
18
19
20
21
22
- entryname: runProcessFid.sh
  entry: |
    #cwl doesn't set correclty docker user 
    #in order to work set the right env
    source /opt/software/NMRPipe/com/nmrInit.linux212_64.com
    basicFT2.com -xP0 auto -yP0 90 -list > nmr.com
    csh nmr.com
3
4
5
6
7
baseCommand: [sh, runPick.sh]
hints:
  DockerRequirement:
    # dockerPull: tlinnet/relax
    dockerPull: andreagia/nmrpipecwl
15
16
17
18
19
20
21
22
- entryname: runPick.sh
  entry: |
      #cp -r $1/fid ./
      #chmod -R 664 $1/fid
      #basicFT2.com -xP0 -82 -xEXTX1 10.4ppm -xEXTXN 5.4ppm -list > test.com
      #sh test.com
      #ls -lh
      pkDetect2D.tcl -in test.ft2
3
4
5
6
7
baseCommand: [sh, runScriptToFid.sh]
hints:
  DockerRequirement:
    # dockerPull: tlinnet/relax
    dockerPull: andreagia/nmrpipecwl
17
18
19
20
21
22
23
24
25
26
- entryname: runScriptToFid.sh
  entry: |
      ls
      cp $1/ser* .
      cp $1/acqus .
      cp $1/acqu?s ./
      cp $1/pulseprogram ./
      # cp $1/fid.com ./ # to comment if the script is part of the workflow
      sh fid.com
      ls
ShowHide 6 more snippets with no or duplicated tags.

Login to post a comment if you would like to share your experience with this workflow.

Do you know this workflow well? If so, you can request seller status , and start supporting this workflow.

Free

Created: 1yr ago
Updated: 1yr ago
Maitainers: public
URL: https://github.com/andreagia/CWL_dem1_NMR_Peak_Picking
Name: nmr-pipe
Version: Version 1
Badge:
workflow icon

Insert copied code into your website to add a link to this workflow.

Downloaded: 0
Copyright: Public Domain
License: Boost Software License 1.0
  • Future updates

Related Workflows

cellranger-snakemake-gke
snakemake workflow to run cellranger on a given bucket using gke.
A Snakemake workflow for running cellranger on a given bucket using Google Kubernetes Engine. The usage of this workflow ...