Skip to content

Instantly share code, notes, and snippets.

@mr-c
Created October 24, 2016 15:11
Show Gist options
  • Save mr-c/7214e5088378c873d6df7ef6b23e16d7 to your computer and use it in GitHub Desktop.
Save mr-c/7214e5088378c873d6df7ef6b23e16d7 to your computer and use it in GitHub Desktop.
cwl rdf test
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:CommandLineBinding="https://w3id.org/cwl/cwl#CommandLineBinding/"
xmlns:cwl="https://w3id.org/cwl/cwl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:sld="https://w3id.org/cwl/salad#"
>
<rdf:Description rdf:nodeID="N4ef640f378484c3e91d651024cbb7202">
<rdf:first>mem</rdf:first>
<rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
</rdf:Description>
<rdf:Description rdf:nodeID="N8de81debdf0443169f7ea79d8dac6b61">
<sld:type rdf:resource="https://w3id.org/cwl/salad#array"/>
<cwl:inputBinding rdf:nodeID="N6867fdd0ad864b42ab679b7330b50809"/>
<sld:items rdf:resource="https://w3id.org/cwl/cwl#File"/>
</rdf:Description>
<rdf:Description rdf:nodeID="N0d68647e7db649d49c8024ad76be4663">
<rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
<rdf:first>python</rdf:first>
</rdf:Description>
<rdf:Description rdf:nodeID="N04c940a89fa542f695e2a0f5f8a326a5">
<rdf:rest rdf:nodeID="N4ef640f378484c3e91d651024cbb7202"/>
<rdf:first>bwa</rdf:first>
</rdf:Description>
<rdf:Description rdf:about="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl">
<cwl:baseCommand rdf:nodeID="N0d68647e7db649d49c8024ad76be4663"/>
<rdf:type rdf:resource="https://w3id.org/cwl/cwl#CommandLineTool"/>
<cwl:cwlVersion rdf:resource="https://w3id.org/cwl/cwl#v1.0"/>
<cwl:inputs rdf:resource="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl#args.py"/>
<cwl:arguments rdf:nodeID="N04c940a89fa542f695e2a0f5f8a326a5"/>
<cwl:inputs rdf:resource="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl#reads"/>
<cwl:inputs rdf:resource="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl#reference"/>
</rdf:Description>
<rdf:Description rdf:nodeID="N591f8c45be7a406081775b8e60fbd88e">
<CommandLineBinding:position rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">-1</CommandLineBinding:position>
</rdf:Description>
<rdf:Description rdf:about="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl#args.py">
<cwl:default rdf:resource="file:///home/michael/common-workflow-language/v1.0/v1.0/args.py"/>
<cwl:inputBinding rdf:nodeID="N591f8c45be7a406081775b8e60fbd88e"/>
<sld:type rdf:resource="https://w3id.org/cwl/cwl#File"/>
</rdf:Description>
<rdf:Description rdf:nodeID="N8146f8e5f7e24372b169b7171553e6b4">
<CommandLineBinding:position rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">2</CommandLineBinding:position>
</rdf:Description>
<rdf:Description rdf:nodeID="N6867fdd0ad864b42ab679b7330b50809">
<CommandLineBinding:prefix>-YYY</CommandLineBinding:prefix>
</rdf:Description>
<rdf:Description rdf:about="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl#reads">
<sld:type rdf:nodeID="N8de81debdf0443169f7ea79d8dac6b61"/>
<cwl:inputBinding rdf:nodeID="Nb618af6c66354528a38cf1051961ce5f"/>
</rdf:Description>
<rdf:Description rdf:about="file:///home/michael/common-workflow-language/v1.0/v1.0/binding-test.cwl#reference">
<sld:type rdf:resource="https://w3id.org/cwl/cwl#File"/>
<cwl:inputBinding rdf:nodeID="N8146f8e5f7e24372b169b7171553e6b4"/>
</rdf:Description>
<rdf:Description rdf:about="file:///home/michael/common-workflow-language/v1.0/v1.0/args.py">
<rdf:type rdf:resource="https://w3id.org/cwl/cwl#File"/>
</rdf:Description>
<rdf:Description rdf:nodeID="Nb618af6c66354528a38cf1051961ce5f">
<CommandLineBinding:position rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3</CommandLineBinding:position>
<CommandLineBinding:prefix>-XXX</CommandLineBinding:prefix>
</rdf:Description>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment