Created
May 15, 2018 08:57
-
-
Save pvanheus/d82ca626f500cff053ea89760257dfc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" ] | |
#infile.yml looks like: | |
#infile: | |
# type: File | |
# default: | |
# class: File | |
# path: myfile.txt | |
inputs: | |
$include: infile.yml | |
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