Nanopore Guppy Basecalling Assembly with ONT Workflow

public public 1yr ago Version: Version 1 0 bookmarks

Workflow for sequencing with ONT Nanopore, from basecalling to assembly.

  • Guppy (basecalling of raw reads)
  • MinIONQC (quality check)
  • FASTQ merging from multi into one file
  • Kraken2 (taxonomic classification)
  • Krona (classification visualization)
  • Flye (de novo assembly)
  • Medaka (assembly polishing)
  • QUAST (assembly quality reports)

Code Snippets

 7
 8
 9
10
baseCommand: [gzip, -c]

arguments:
  - valueFrom: $(inputs.infile)
CWL From line 7 of bash/compress.cwl
 7
 8
 9
10
baseCommand: [pigz, -c]

arguments:
  - valueFrom: $(inputs.inputfile)
CWL From line 7 of bash/pigz.cwl
20
21
22
23
24
25
26
27
28
- entryname: script.sh
  entry: |-
    #!/bin/bash
    source /root/miniconda/bin/activate
    conda init bash
    conda activate /unlock/infrastructure/conda/busco_v5.2.2
    busco $@
    # always exit 0 when failed to find genes.
    exit 0
CWL From line 20 of busco/busco.cwl
21
22
23
24
25
26
27
- entryname: script.sh
  entry: |-
    #!/bin/bash
    source /root/miniconda/bin/activate
    conda init bash
    conda activate /unlock/infrastructure/conda/gtdbtk_v1.7.0
    gtdbtk classify_wf $@
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
- entryname: nanopore_reads.txt
  entry: |-
    ${
      // let content = "";
      // if (inputs.fast5_files == null)
      //   return content;
      // for (var i = 0; i < inputs.fast5_files.length; i++) {
      //   content += inputs.fast5_files[i].path + "\n"
      // }
      // return content;
      let content = "";
      if (inputs.fast5_files == null)
        return content;
      for (var i = 0; i < inputs.fast5_files.length; i++) {
        content += inputs.fast5_files[i] + "\n"
      }
      return content;
    }
27
28
29
30
31
32
33
- entryname: script.sh
  entry: |-
    #!/bin/bash
    source /root/miniconda/bin/activate
    conda init bash
    conda activate /unlock/infrastructure/conda/krona_v2.8.1
    ktImportText $@
33
34
35
36
37
38
39
- entryname: script.sh
  entry: |-
    #!/bin/bash
    source /root/miniconda/bin/activate
    conda init bash
    conda activate /unlock/infrastructure/conda/medaka
    python3 /unlock/infrastructure/binaries/scripts/medaka/medaka.py $@
41
baseCommand: [python3, "/unlock/infrastructure/binaries/scripts/metagenomics/assembly_bins_readstats.py"]
20
21
22
23
24
25
26
- entryname: script.sh
  entry: |-
    #!/bin/bash
    source /root/miniconda/bin/activate
    conda init bash
    conda activate /unlock/infrastructure/conda/checkm_v1.1.3
    checkm lineage_wf $@
28
29
30
31
32
- entryname: script.sh
  entry: |-
    #!/bin/bash
    source /unlock/infrastructure/venv/bin/activate
    metaquast.py $@
71
72
73
74
75
76
77
78
baseCommand: ["java"]

arguments:
  - "-jar"
  - "-Xmx$(inputs.memory)M"
  - "/unlock/infrastructure/binaries/Pilon/pilon-1.24.jar"
  - valueFrom: $(inputs.identifier)_scaffolds_polished
    prefix: "--output"
CWL From line 71 of pilon/pilon.cwl
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://git.wur.nl/unlock/cwl/-/raw/dev/cwl/workflows/workflow_nanopore.cwl
Name: nanopore-guppy-basecalling-assembly-workflow
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 ...