GGG

GGG


#grep-wc-wf

requirements:

 - class: ScatterFeatureRequirement


inputs:

 pattern: string

 in_files: File[]


outputs:

 out_file:

  type: File

  outputSource: count/out_file


steps:

 grep:

  scatter: infile

  run: grep.cwl

  in:

   pattern: pattern

   infile: in_files

  out:

   [outfile]


count:

 run: wc.cwl

 in:

  infiles: grep/outfile

 out:

  [outfile]



#grep

class: CommandLineTool

cwlVersion: v1.0


inputs:

 pattern:

  type: string

 infile: File


outputs:

 outfile:

  type: stdout


baseCommand: grep 



#wc

class: CommandLineTool

cwlVersion: v1.0


inputs:

 infiles: File[]


outputs:

 outfile:

  type: stdout


baseCommand: [wc, -l]



Report Page