Skip to content

Instantly share code, notes, and snippets.

@pvanheus
Created May 15, 2018 08:41
Show Gist options
  • Save pvanheus/1d685ce0667229f771b5a43952766e95 to your computer and use it in GitHub Desktop.
Save pvanheus/1d685ce0667229f771b5a43952766e95 to your computer and use it in GitHub Desktop.
#!/usr/bin/env cwl-runner
$namespaces:
dct: http://purl.org/dc/terms/
foaf: http://xmlns.com/foaf/0.1/
$schemas:
- http://dublincore.org/2012/06/14/dcterms.rdf
- http://xmlns.com/foaf/spec/20140114.rdf
cwlVersion: v1.0
id: CWLTest
class: CommandLineTool
requirements:
InitialWorkDirRequirement:
listing:
- entry: $(inputs.infile)
entryname: foo.txt
stdout: output.txt
baseCommand: [ "cat", "foo.txt" ]
inputs:
infile:
type: File
outputs:
output:
type: File
outputBinding:
glob: output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment