Indices builder from GBOL RDF (TTL)

public public 1yr ago Version: Version 1 0 bookmarks

Workflow to build different indices for different tools from a genome and transcriptome.

This workflow expects an (annotated) genome in GBOL ttl format.

Steps:

  • SAPP: rdf2gtf (genome fasta)
  • SAPP: rdf2fasta (transcripts fasta)
  • STAR index (Optional for Eukaryotic origin)
  • bowtie2 index
  • kallisto index

Code Snippets

 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
baseCommand: [ fastqc ]

label: "FASTQC"
doc: |
    Performs quality control on FASTQ files

requirements:
 - class: InlineJavascriptRequirement
 - class: InitialWorkDirRequirement
   listing:
    - entry: "$({class: 'Directory', listing: []})"
      entryname: "FASTQC"
      writable: true

hints:
  SoftwareRequirement:
    packages:
      fastp :
        version: ["0.11.9"]
        specs: ["https://anaconda.org/bioconda/fastqc"]
  DockerRequirement:
    dockerPull: docker-registry.wur.nl/m-unlock/docker/fastqc:0.11.9

arguments: ["--outdir", "FASTQC"]

inputs:
  nanopore_reads: 
    type: File?
    doc: FastQ files list
    label: FASTQ files list
    inputBinding:
      position: 101
      prefix: --nano
  # nanopore_path: 
  #   type: string[]?
  #   doc: FastQ files list
  #   label: FASTQ files list
  #   inputBinding:
  #     position: 101
  #     prefix: --nano
  fastq:
    type: File[]?
    doc: FastQ file list
    label: FASTQ file list
    inputBinding:
      position: 100
  # fastq_path:
  #   # type: File[]?
  #   type: string[]?
  #   doc: FastQ file path list
  #   label: FastQ file paths
  #   inputBinding:
  #     position: 102
  threads:
    type: int?
    default: 1
    inputBinding:
      prefix: --threads
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
baseCommand: ["java", "-jar", "/NGTax-2.2.9.jar", "-ngtax", "-mapFile", "cwl_mapping_file.txt"]

arguments:
  - prefix: "-t"
    valueFrom: $(inputs.sample)_NG-Tax_$(inputs.for_read_len).ttl
  - prefix: "-b"
    valueFrom: $(inputs.sample)_NG-Tax_$(inputs.for_read_len).biom
  - prefix: "-mock3"
    valueFrom: $(inputs.mock3)
  - prefix: "-mock4"
    valueFrom: $(inputs.mock4)
  - prefix: "-fragment"
    valueFrom: $(inputs.fragment)
CWL From line 91 of ngtax/ngtax.cwl
34
35
36
37
38
39
40
41
42
43
44
baseCommand: ["python3", "/scripts/ngtax_to_tsv-fasta.py"]

arguments:
  - "-t"
  - $(inputs.input.path)
  - "-i"
  - $(inputs.identifier)
  - "-f"
  - $(inputs.fragment)  
  - "-m"
  - $(inputs.metadata)  
ShowHide 2 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://gitlab.com/m-unlock/cwl/
Name: indices-builder-from-gbol-rdf-ttl
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: None
  • 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 ...