Skip to content

Instantly share code, notes, and snippets.

@stain
Created April 14, 2021 12:49
Show Gist options
  • Save stain/3f58d14dcf7dc37bef22c7b2656f65ca to your computer and use it in GitHub Desktop.
Save stain/3f58d14dcf7dc37bef22c7b2656f65ca to your computer and use it in GitHub Desktop.
{
"@context": "https://w3id.org/ro/crate/1.1/context",
"@graph": [
{
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"about": {
"@id": "./"
},
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.1"
}
},
{
"@id": "ro-crate-preview.html",
"@type": "CreativeWork",
"about": {
"@id": "./"
}
},
{
"@id": "./",
"@type": "Dataset",
"mainEntity": {
"@id": "workflow.cwl"
},
"hasPart": [
{
"@id": "workflow.cwl"
},
{
"@id": "workflow-diagram-147-1.svg"
}
],
"identifier": "https://dev.workflowhub.eu/workflows/147?version=1",
"url": "https://dev.workflowhub.eu/workflows/147/ro_crate?version=1",
"name": "Research Object Crate for exome-alignment",
"description": "",
"isBasedOn": "https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl",
"sdDatePublished": "2021-04-14 13:45:56 +0100",
"creativeWorkStatus": "Stable"
},
{
"@id": "workflow.cwl",
"@type": [
"File",
"SoftwareSourceCode",
"ComputationalWorkflow"
],
"programmingLanguage": {
"@id": "#cwl"
},
"url": "https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl",
"contentSize": 2517,
"image": {
"@id": "workflow-diagram-147-1.svg"
},
"description": "",
"name": "exome-alignment",
"keywords": "",
"license": "https://opensource.org/licenses/Apache-2.0",
"creator": {
"@id": "https://dev.workflowhub.eu/people/11"
},
"producer": {
"@id": "https://dev.workflowhub.eu/projects/15"
},
"dateCreated": {
"@value": "2021-03-03T15:16:34Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"dateModified": {
"@value": "2021-03-03T15:17:31Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"sdPublisher": {
"@id": "https://dev.workflowhub.eu"
},
"version": 1,
"input": [
{
"@id": "#exome_alignment-inputs-fastq_files"
},
{
"@id": "#exome_alignment-inputs-reference_genome"
},
{
"@id": "#exome_alignment-inputs-readgroup_str"
},
{
"@id": "#exome_alignment-inputs-sample_name"
}
],
"output": {
"@id": "#exome_alignment-outputs-md_bam"
},
"dct:conformsTo": "https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/"
},
{
"@id": "workflow-diagram-147-1.svg",
"@type": [
"File",
"ImageObject",
"WorkflowSketch"
],
"contentSize": 9994
},
{
"@id": "https://dev.workflowhub.eu/people/11",
"@type": "Person",
"name": "Laura Rodriguez-Navas"
},
{
"@id": "https://dev.workflowhub.eu/projects/15",
"@type": [
"Project",
"Organization"
],
"name": "iPC: individualizedPaediatricCure"
},
{
"@id": "https://dev.workflowhub.eu",
"@type": "Organization",
"name": "WorkflowHub",
"url": "https://dev.workflowhub.eu"
},
{
"@id": "#cwl",
"@type": "ComputerLanguage",
"name": "Common Workflow Language",
"alternateName": "CWL",
"identifier": {
"@id": "https://w3id.org/cwl/v1.0/"
},
"url": {
"@id": "https://www.commonwl.org/"
}
},
{
"@id": "#exome_alignment-inputs-fastq_files",
"@type": "FormalParameter",
"name": "fastq_files",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/"
},
{
"@id": "#exome_alignment-inputs-reference_genome",
"@type": "FormalParameter",
"name": "reference_genome",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/"
},
{
"@id": "#exome_alignment-inputs-readgroup_str",
"@type": "FormalParameter",
"name": "readgroup_str",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/"
},
{
"@id": "#exome_alignment-inputs-sample_name",
"@type": "FormalParameter",
"name": "sample_name",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/"
},
{
"@id": "#exome_alignment-outputs-md_bam",
"@type": "FormalParameter",
"name": "md_bam",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/"
}
]
}
<html>
<head>
<script type="application/ld+json">
{
"@context": "https://w3id.org/ro/crate/1.1/context",
"@graph": [
{
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"about": {
"@id": "./"
},
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.1"
}
},
{
"@id": "ro-crate-preview.html",
"@type": "CreativeWork",
"about": {
"@id": "./"
}
},
{
"@id": "./",
"@type": "Dataset",
"mainEntity": {
"@id": "workflow.cwl"
},
"hasPart": [
{
"@id": "workflow.cwl"
},
{
"@id": "workflow-diagram-147-1.svg"
}
],
"identifier": "https://dev.workflowhub.eu/workflows/147?version=1",
"url": "https://dev.workflowhub.eu/workflows/147/ro_crate?version=1",
"name": "Research Object Crate for exome-alignment",
"description": "",
"isBasedOn": "https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl",
"sdDatePublished": "2021-04-14 13:45:56 +0100",
"creativeWorkStatus": "Stable",
"@reverse": {
"about": [
{
"@id": "ro-crate-metadata.json"
},
{
"@id": "ro-crate-preview.html"
}
]
}
},
{
"@id": "workflow.cwl",
"@type": [
"File",
"SoftwareSourceCode",
"ComputationalWorkflow"
],
"programmingLanguage": {
"@id": "#cwl"
},
"url": "https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl",
"contentSize": 2517,
"image": {
"@id": "workflow-diagram-147-1.svg"
},
"description": "",
"name": "exome-alignment",
"keywords": "",
"license": "https://opensource.org/licenses/Apache-2.0",
"creator": {
"@id": "https://dev.workflowhub.eu/people/11"
},
"producer": {
"@id": "https://dev.workflowhub.eu/projects/15"
},
"dateCreated": {
"@value": "2021-03-03T15:16:34Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"dateModified": {
"@value": "2021-03-03T15:17:31Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"sdPublisher": {
"@id": "https://dev.workflowhub.eu"
},
"version": 1,
"input": [
{
"@id": "#exome_alignment-inputs-fastq_files"
},
{
"@id": "#exome_alignment-inputs-reference_genome"
},
{
"@id": "#exome_alignment-inputs-readgroup_str"
},
{
"@id": "#exome_alignment-inputs-sample_name"
}
],
"output": {
"@id": "#exome_alignment-outputs-md_bam"
},
"dct:conformsTo": "https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/",
"@reverse": {
"mainEntity": [
{
"@id": "./"
}
],
"hasPart": [
{
"@id": "./"
}
]
}
},
{
"@id": "workflow-diagram-147-1.svg",
"@type": [
"File",
"ImageObject",
"WorkflowSketch"
],
"contentSize": 9994,
"@reverse": {
"hasPart": [
{
"@id": "./"
}
],
"image": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "https://dev.workflowhub.eu/people/11",
"@type": "Person",
"name": "Laura Rodriguez-Navas",
"@reverse": {
"creator": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "https://dev.workflowhub.eu/projects/15",
"@type": [
"Project",
"Organization"
],
"name": "iPC: individualizedPaediatricCure",
"@reverse": {
"producer": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "https://dev.workflowhub.eu",
"@type": "Organization",
"name": "WorkflowHub",
"url": "https://dev.workflowhub.eu",
"@reverse": {
"sdPublisher": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "#cwl",
"@type": "ComputerLanguage",
"name": "Common Workflow Language",
"alternateName": "CWL",
"identifier": {
"@id": "https://w3id.org/cwl/v1.0/"
},
"url": {
"@id": "https://www.commonwl.org/"
},
"@reverse": {
"programmingLanguage": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "#exome_alignment-inputs-fastq_files",
"@type": "FormalParameter",
"name": "fastq_files",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "#exome_alignment-inputs-reference_genome",
"@type": "FormalParameter",
"name": "reference_genome",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "#exome_alignment-inputs-readgroup_str",
"@type": "FormalParameter",
"name": "readgroup_str",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "#exome_alignment-inputs-sample_name",
"@type": "FormalParameter",
"name": "sample_name",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow.cwl"
}
]
}
},
{
"@id": "#exome_alignment-outputs-md_bam",
"@type": "FormalParameter",
"name": "md_bam",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow.cwl"
}
]
}
}
]
}
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://data.research.uts.edu.au/examples/ro-crate/examples/src/crate.js"></script>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta charset='utf-8'/>
<style>
table.table {
padding-bottom: 300px;
}
</style>
</head>
<body>
<nav class="navbar">
<ul class="nav navbar-nav" >
<li ><a href="#"><span class="glyphicon glyphicon-home dataset_name">&nbsp;Research Object Crate for exome-alignment</span></a></li>
</ul>
</nav>
<div class="container">
<div class="jumbotron">
<h4 class="citation"></h3>
<h3 class="item_name">Research Object Crate for exome-alignment</h4>
<a href="./ro-crate-metadata.json">⬇️🏷️ Download all the metadata for <span class='name'>Research Object Crate for exome-alignment</span> in JSON-LD format</a>
<div class="check"></div>
</div>
<div id="summary">
<div><h3></h3><table class="table metadata table-striped" id="./"><tbody><tr><th style="white-space: nowrap; width: 1%;">name<span>&nbsp;</span><a href="http://schema.org/name">[?]</a></th><td style="text-align:left"> <span>Research Object Crate for exome-alignment</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">@type</th><td style="text-align:left"> <span>Dataset</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">description<span>&nbsp;</span><a href="http://schema.org/description">[?]</a></th><td style="text-align:left"> <ul></ul></td></tr><tr><th style="white-space: nowrap;">Referenced by</th><td style="text-align:left"> <tbody><tr><th style="white-space: nowrap; width: 1%;">about<span>&nbsp;</span><a href="http://schema.org/about">[?]</a></th><td style="text-align:left"> <ul><li><a href="#ro-crate-metadata.json">ro-crate-metadata.json</a></li><li><a href="#ro-crate-preview.html">ro-crate-preview.html</a></li></ul></td></tr></tbody></td></tr><tr><th style="white-space: nowrap; width: 1%;">mainEntity<span>&nbsp;</span><a href="http://schema.org/mainEntity">[?]</a></th><td style="text-align:left"> <a href="#workflow.cwl">exome-alignment</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">hasPart<span>&nbsp;</span><a href="http://schema.org/hasPart">[?]</a></th><td style="text-align:left"> <ul><li><a href="#workflow.cwl">exome-alignment</a></li><li><a href="#workflow-diagram-147-1.svg">workflow-diagram-147-1.svg</a></li></ul></td></tr><tr><th style="white-space: nowrap; width: 1%;">identifier<span>&nbsp;</span><a href="http://schema.org/identifier">[?]</a></th><td style="text-align:left"> <a href="https://dev.workflowhub.eu/workflows/147?version=1">https://dev.workflowhub.eu/workflows/147?version=1</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">url<span>&nbsp;</span><a href="http://schema.org/url">[?]</a></th><td style="text-align:left"> <a href="https://dev.workflowhub.eu/workflows/147/ro_crate?version=1">https://dev.workflowhub.eu/workflows/147/ro_crate?version=1</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">isBasedOn<span>&nbsp;</span><a href="http://schema.org/isBasedOn">[?]</a></th><td style="text-align:left"> <a href="https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl">https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">sdDatePublished<span>&nbsp;</span><a href="http://schema.org/sdDatePublished">[?]</a></th><td style="text-align:left"> <span>2021-04-14 13:45:56 +0100</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">creativeWorkStatus<span>&nbsp;</span><a href="http://schema.org/creativeWorkStatus">[?]</a></th><td style="text-align:left"> <span>Stable</span></td></tr></tbody></table></div><div><h3><a href="workflow.cwl">⬇️ Download: workflow.cwl</a></h3><table class="table metadata table-striped" id="workflow.cwl"><tbody><tr><th style="white-space: nowrap; width: 1%;">name<span>&nbsp;</span><a href="http://schema.org/name">[?]</a></th><td style="text-align:left"> <span>exome-alignment</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">@type</th><td style="text-align:left"> <ul><li><span>File</span></li><li><span>SoftwareSourceCode</span></li><li><span>ComputationalWorkflow</span></li></ul></td></tr><tr><th style="white-space: nowrap; width: 1%;">description<span>&nbsp;</span><a href="http://schema.org/description">[?]</a></th><td style="text-align:left"> <ul></ul></td></tr><tr><th style="white-space: nowrap; width: 1%;">contentSize<span>&nbsp;</span><a href="http://schema.org/contentSize">[?]</a></th><td style="text-align:left"> <span>2517</span></td></tr><tr><th style="white-space: nowrap;">Referenced by</th><td style="text-align:left"> <tbody><tr><th style="white-space: nowrap; width: 1%;">mainEntity<span>&nbsp;</span><a href="http://schema.org/mainEntity">[?]</a></th><td style="text-align:left"> <a href="#./">Research Object Crate for exome-alignment</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">hasPart<span>&nbsp;</span><a href="http://schema.org/hasPart">[?]</a></th><td style="text-align:left"> <a href="#./">Research Object Crate for exome-alignment</a></td></tr></tbody></td></tr><tr><th style="white-space: nowrap; width: 1%;">programmingLanguage<span>&nbsp;</span><a href="http://schema.org/programmingLanguage">[?]</a></th><td style="text-align:left"> <a href="##cwl">Common Workflow Language</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">url<span>&nbsp;</span><a href="http://schema.org/url">[?]</a></th><td style="text-align:left"> <a href="https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl">https://github.com/inab/ipc_workflows/blob/main/exome/alignment/workflow.cwl</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">image<span>&nbsp;</span><a href="http://schema.org/image">[?]</a></th><td style="text-align:left"> <a href="#workflow-diagram-147-1.svg">workflow-diagram-147-1.svg</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">keywords<span>&nbsp;</span><a href="http://schema.org/keywords">[?]</a></th><td style="text-align:left"> <ul></ul></td></tr><tr><th style="white-space: nowrap; width: 1%;">license<span>&nbsp;</span><a href="http://schema.org/license">[?]</a></th><td style="text-align:left"> <a href="https://opensource.org/licenses/Apache-2.0">https://opensource.org/licenses/Apache-2.0</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">creator<span>&nbsp;</span><a href="http://schema.org/creator">[?]</a></th><td style="text-align:left"> <a href="#https://dev.workflowhub.eu/people/11">Laura Rodriguez-Navas</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">producer<span>&nbsp;</span><a href="http://schema.org/producer">[?]</a></th><td style="text-align:left"> <a href="#https://dev.workflowhub.eu/projects/15">iPC: individualizedPaediatricCure</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">dateCreated<span>&nbsp;</span><a href="http://schema.org/dateCreated">[?]</a></th><td style="text-align:left"> <span>[object Object]</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">dateModified<span>&nbsp;</span><a href="http://schema.org/dateModified">[?]</a></th><td style="text-align:left"> <span>[object Object]</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">sdPublisher<span>&nbsp;</span><a href="http://schema.org/sdPublisher">[?]</a></th><td style="text-align:left"> <a href="#https://dev.workflowhub.eu">WorkflowHub</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">version<span>&nbsp;</span><a href="http://schema.org/version">[?]</a></th><td style="text-align:left"> <span>1</span></td></tr><tr><th style="white-space: nowrap; width: 1%;">input<span>&nbsp;</span><a href="https://bioschemas.org/ComputationalWorkflow#input">[?]</a></th><td style="text-align:left"> <ul><li><a href="##exome_alignment-inputs-fastq_files">fastq_files</a></li><li><a href="##exome_alignment-inputs-reference_genome">reference_genome</a></li><li><a href="##exome_alignment-inputs-readgroup_str">readgroup_str</a></li><li><a href="##exome_alignment-inputs-sample_name">sample_name</a></li></ul></td></tr><tr><th style="white-space: nowrap; width: 1%;">output<span>&nbsp;</span><a href="https://bioschemas.org/ComputationalWorkflow#output">[?]</a></th><td style="text-align:left"> <a href="##exome_alignment-outputs-md_bam">md_bam</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">dct:conformsTo</th><td style="text-align:left"> <a href="https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/">https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/</a></td></tr></tbody></table></div><div><h3><a href="workflow-diagram-147-1.svg">⬇️ Download: workflow-diagram-147-1.svg</a></h3><table class="table metadata table-striped" id="workflow-diagram-147-1.svg"><tbody><tr><th style="white-space: nowrap; width: 1%;">@type</th><td style="text-align:left"> <ul><li><span>File</span></li><li><span>ImageObject</span></li><li><span>WorkflowSketch</span></li></ul></td></tr><tr><th style="white-space: nowrap; width: 1%;">contentSize<span>&nbsp;</span><a href="http://schema.org/contentSize">[?]</a></th><td style="text-align:left"> <span>9994</span></td></tr><tr><th style="white-space: nowrap;">Referenced by</th><td style="text-align:left"> <tbody><tr><th style="white-space: nowrap; width: 1%;">hasPart<span>&nbsp;</span><a href="http://schema.org/hasPart">[?]</a></th><td style="text-align:left"> <a href="#./">Research Object Crate for exome-alignment</a></td></tr><tr><th style="white-space: nowrap; width: 1%;">image<span>&nbsp;</span><a href="http://schema.org/image">[?]</a></th><td style="text-align:left"> <a href="#workflow.cwl">exome-alignment</a></td></tr></tbody></td></tr></tbody></table></div>
</div>
<p>This file was created at 1618404404134 by
<a href='https://code.research.uts.edu.au/eresearch/calcytejs'>
Calcyte</a> which implements the <a href=''>
Draft RO-Crate format</a>, version
</p>
</body>
</html>
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.40.1 (0)
-->
<!-- Title: workflow Pages: 1 -->
<svg width="440pt" height="305pt"
viewBox="0.00 0.00 452.50 314.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(.9722 .9722) rotate(0) translate(4 310)">
<title>workflow</title>
<g id="clust1" class="cluster">
<title>cluster_inputs</title>
<polygon fill="transparent" stroke="#000000" stroke-dasharray="5,2" points="8,-243 8,-298 348,-298 348,-243 8,-243"/>
<text text-anchor="middle" x="50.5" y="-286" font-family="Times,serif" font-size="10.00" fill="#000000">Workflow Inputs</text>
</g>
<g id="clust2" class="cluster">
<title>cluster_outputs</title>
<polygon fill="transparent" stroke="#000000" stroke-dasharray="5,2" points="195,-8 195,-63 287,-63 287,-8 195,-8"/>
<text text-anchor="middle" x="241" y="-51" font-family="Times,serif" font-size="10.00" fill="#000000">Workflow Outputs</text>
</g>
<!-- reference_genome -->
<g id="node1" class="node">
<title>reference_genome</title>
<polygon fill="#94ddf4" stroke="#000000" points="243.5,-251.5 243.5,-270.5 340.5,-270.5 340.5,-251.5 243.5,-251.5"/>
<text text-anchor="middle" x="292" y="-258.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">reference_genome</text>
</g>
<!-- gunzip -->
<g id="node10" class="node">
<title>gunzip</title>
<polygon fill="#fafad2" stroke="#000000" points="270,-215.5 270,-234.5 314,-234.5 314,-215.5 270,-215.5"/>
<text text-anchor="middle" x="292" y="-222.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">gunzip</text>
</g>
<!-- reference_genome&#45;&gt;gunzip -->
<g id="edge9" class="edge">
<title>reference_genome&#45;&gt;gunzip</title>
<path fill="none" stroke="#000000" d="M292,-251.1628C292,-248.2587 292,-244.9949 292,-241.783"/>
<polygon fill="#000000" stroke="#000000" points="294.4501,-241.5764 292,-234.5764 289.5501,-241.5765 294.4501,-241.5764"/>
</g>
<!-- fastq_files -->
<g id="node2" class="node">
<title>fastq_files</title>
<polygon fill="#94ddf4" stroke="#000000" points="178.5,-251.5 178.5,-270.5 239.5,-270.5 239.5,-251.5 178.5,-251.5"/>
<text text-anchor="middle" x="209" y="-258.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">fastq_files</text>
</g>
<!-- cutadapt -->
<g id="node8" class="node">
<title>cutadapt</title>
<polygon fill="#fafad2" stroke="#000000" points="143,-179.5 143,-198.5 197,-198.5 197,-179.5 143,-179.5"/>
<text text-anchor="middle" x="170" y="-186.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">cutadapt</text>
</g>
<!-- fastq_files&#45;&gt;cutadapt -->
<g id="edge4" class="edge">
<title>fastq_files&#45;&gt;cutadapt</title>
<path fill="none" stroke="#000000" d="M203.7403,-251.2898C197.3079,-239.4145 186.3299,-219.1475 178.6482,-204.966"/>
<polygon fill="#000000" stroke="#000000" points="180.6647,-203.5445 175.1764,-198.5564 176.3561,-205.8784 180.6647,-203.5445"/>
</g>
<!-- readgroup_str -->
<g id="node3" class="node">
<title>readgroup_str</title>
<polygon fill="#94ddf4" stroke="#000000" points="98,-251.5 98,-270.5 174,-270.5 174,-251.5 98,-251.5"/>
<text text-anchor="middle" x="136" y="-258.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">readgroup_str</text>
</g>
<!-- bwa_mem -->
<g id="node9" class="node">
<title>bwa_mem</title>
<polygon fill="#fafad2" stroke="#000000" points="116,-143.5 116,-162.5 178,-162.5 178,-143.5 116,-143.5"/>
<text text-anchor="middle" x="147" y="-150.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">bwa_mem</text>
</g>
<!-- readgroup_str&#45;&gt;bwa_mem -->
<g id="edge5" class="edge">
<title>readgroup_str&#45;&gt;bwa_mem</title>
<path fill="none" stroke="#000000" d="M136.6096,-251.3842C137.6296,-236.0449 139.8814,-205.1041 143,-179 143.3657,-175.939 143.8166,-172.6847 144.2824,-169.5517"/>
<polygon fill="#000000" stroke="#000000" points="146.7071,-169.9034 145.3632,-162.6098 141.8654,-169.1495 146.7071,-169.9034"/>
</g>
<!-- sample_name -->
<g id="node4" class="node">
<title>sample_name</title>
<polygon fill="#94ddf4" stroke="#000000" points="16.5,-251.5 16.5,-270.5 93.5,-270.5 93.5,-251.5 16.5,-251.5"/>
<text text-anchor="middle" x="55" y="-258.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">sample_name</text>
</g>
<!-- sample_name&#45;&gt;bwa_mem -->
<g id="edge8" class="edge">
<title>sample_name&#45;&gt;bwa_mem</title>
<path fill="none" stroke="#000000" d="M63.1644,-251.4157C79.1504,-232.6495 114.6971,-190.9208 133.9702,-168.2958"/>
<polygon fill="#000000" stroke="#000000" points="136.0474,-169.6355 138.7217,-162.718 132.3173,-166.458 136.0474,-169.6355"/>
</g>
<!-- md_bam -->
<g id="node5" class="node">
<title>md_bam</title>
<polygon fill="#94ddf4" stroke="#000000" points="214,-16.5 214,-35.5 268,-35.5 268,-16.5 214,-16.5"/>
<text text-anchor="middle" x="241" y="-23.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">md_bam</text>
</g>
<!-- samtools_sort -->
<g id="node6" class="node">
<title>samtools_sort</title>
<polygon fill="#fafad2" stroke="#000000" points="110,-107.5 110,-126.5 188,-126.5 188,-107.5 110,-107.5"/>
<text text-anchor="middle" x="149" y="-114.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">samtools_sort</text>
</g>
<!-- samtools_sort&#45;&gt;md_bam -->
<!-- picard_markduplicates -->
<g id="node11" class="node">
<title>picard_markduplicates</title>
<polygon fill="#fafad2" stroke="#000000" points="120,-71.5 120,-90.5 234,-90.5 234,-71.5 120,-71.5"/>
<text text-anchor="middle" x="177" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">picard_markduplicates</text>
</g>
<!-- samtools_sort&#45;&gt;picard_markduplicates -->
<g id="edge10" class="edge">
<title>samtools_sort&#45;&gt;picard_markduplicates</title>
<path fill="none" stroke="#000000" d="M156.6511,-107.1628C159.2864,-103.7747 162.3024,-99.897 165.1908,-96.1833"/>
<polygon fill="#000000" stroke="#000000" points="167.188,-97.6061 169.5517,-90.5764 163.3201,-94.5977 167.188,-97.6061"/>
</g>
<!-- picard_dictionary -->
<g id="node7" class="node">
<title>picard_dictionary</title>
<polygon fill="#fafad2" stroke="#000000" points="355.5,-71.5 355.5,-90.5 444.5,-90.5 444.5,-71.5 355.5,-71.5"/>
<text text-anchor="middle" x="400" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">picard_dictionary</text>
</g>
<!-- picard_dictionary&#45;&gt;md_bam -->
<!-- cutadapt&#45;&gt;md_bam -->
<!-- cutadapt&#45;&gt;bwa_mem -->
<g id="edge7" class="edge">
<title>cutadapt&#45;&gt;bwa_mem</title>
<path fill="none" stroke="#000000" d="M163.7151,-179.1628C161.6536,-175.936 159.3083,-172.2652 157.04,-168.7148"/>
<polygon fill="#000000" stroke="#000000" points="158.9517,-167.1562 153.1183,-162.5764 154.8224,-169.7944 158.9517,-167.1562"/>
</g>
<!-- bwa_mem&#45;&gt;md_bam -->
<!-- bwa_mem&#45;&gt;samtools_sort -->
<g id="edge2" class="edge">
<title>bwa_mem&#45;&gt;samtools_sort</title>
<path fill="none" stroke="#000000" d="M147.5465,-143.1628C147.7079,-140.2587 147.8892,-136.9949 148.0676,-133.783"/>
<polygon fill="#000000" stroke="#000000" points="150.5258,-133.7016 148.468,-126.5764 145.6334,-133.4297 150.5258,-133.7016"/>
</g>
<!-- gunzip&#45;&gt;md_bam -->
<!-- gunzip&#45;&gt;picard_dictionary -->
<g id="edge3" class="edge">
<title>gunzip&#45;&gt;picard_dictionary</title>
<path fill="none" stroke="#000000" d="M299.4233,-215.1023C317.932,-190.424 366.2322,-126.0237 388.4778,-96.3629"/>
<polygon fill="#000000" stroke="#000000" points="390.5692,-97.6578 392.8092,-90.5877 386.6492,-94.7177 390.5692,-97.6578"/>
</g>
<!-- bwa_index -->
<g id="node12" class="node">
<title>bwa_index</title>
<polygon fill="#fafad2" stroke="#000000" points="201,-179.5 201,-198.5 263,-198.5 263,-179.5 201,-179.5"/>
<text text-anchor="middle" x="232" y="-186.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">bwa_index</text>
</g>
<!-- gunzip&#45;&gt;bwa_index -->
<g id="edge11" class="edge">
<title>gunzip&#45;&gt;bwa_index</title>
<path fill="none" stroke="#000000" d="M275.9211,-215.3527C269.3301,-211.3981 261.5872,-206.7523 254.4532,-202.4719"/>
<polygon fill="#000000" stroke="#000000" points="255.3863,-200.1746 248.1233,-198.674 252.8652,-204.3763 255.3863,-200.1746"/>
</g>
<!-- samtools_index -->
<g id="node13" class="node">
<title>samtools_index</title>
<polygon fill="#fafad2" stroke="#000000" points="268,-71.5 268,-90.5 352,-90.5 352,-71.5 268,-71.5"/>
<text text-anchor="middle" x="310" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">samtools_index</text>
</g>
<!-- gunzip&#45;&gt;samtools_index -->
<g id="edge12" class="edge">
<title>gunzip&#45;&gt;samtools_index</title>
<path fill="none" stroke="#000000" d="M293.2372,-215.1023C296.2704,-190.8371 304.104,-128.1683 307.8899,-97.881"/>
<polygon fill="#000000" stroke="#000000" points="310.3643,-97.8376 308.8015,-90.5877 305.5021,-97.2298 310.3643,-97.8376"/>
</g>
<!-- picard_markduplicates&#45;&gt;md_bam -->
<g id="edge1" class="edge">
<title>picard_markduplicates&#45;&gt;md_bam</title>
<path fill="none" stroke="#000000" d="M186.9775,-71.4197C196.5749,-62.8502 211.2762,-50.1687 222.9279,-40.382"/>
<polygon fill="#000000" stroke="#000000" points="224.5639,-42.2078 228.3672,-35.8408 221.4236,-38.4464 224.5639,-42.2078"/>
</g>
<!-- picard_markduplicates&#45;&gt;md_bam -->
<!-- bwa_index&#45;&gt;md_bam -->
<!-- bwa_index&#45;&gt;bwa_mem -->
<g id="edge6" class="edge">
<title>bwa_index&#45;&gt;bwa_mem</title>
<path fill="none" stroke="#000000" d="M209.2216,-179.3527C199.0406,-175.0407 186.9196,-169.9071 176.0921,-165.3214"/>
<polygon fill="#000000" stroke="#000000" points="176.9478,-163.0231 169.5466,-162.5491 175.0368,-167.5352 176.9478,-163.0231"/>
</g>
<!-- samtools_index&#45;&gt;md_bam -->
</g>
</svg>
class: Workflow
cwlVersion: v1.0
label: align-workflow
requirements:
- class: MultipleInputFeatureRequirement
$namespaces:
s: https://schema.org/
edam: http://edamontology.org/
$schemas:
- https://schema.org/version/latest/schemaorg-current-https.rdf
- http://edamontology.org/EDAM_1.18.owl
inputs:
fastq_files: {type: 'File[]', doc: "List of paired-end input FASTQ files"}
reference_genome: {type: File, doc: "Compress FASTA files with the reference genome chromosomes"}
readgroup_str: {type: string, default: '@RG\tID:Seq01p\tSM:Seq01\tPL:ILLUMINA\tPI:330', doc: "Parsing header which should correlate to FASTQ files"}
sample_name: {type: string, default: 'ABC3', doc: "Sample name"}
outputs:
md_bam: {type: File, outputSource: picard_markduplicates/md_bam, doc: ""}
steps:
gunzip:
run: tools/gunzip.cwl
in:
reference_file: reference_genome
out: [unzipped_fasta]
picard_dictionary:
run: tools/picard_dictionary.cwl
in:
reference_genome:
source: gunzip/unzipped_fasta
out: [dict]
cutadapt:
run: tools/cutadapt.cwl
in:
raw_sequences: fastq_files
out: [trimmed_fastq]
bwa_index:
run: tools/bwa-index.cwl
in:
reference_genome:
source: gunzip/unzipped_fasta
out: [output]
samtools_index:
run: tools/samtools_index.cwl
in:
input:
source: gunzip/unzipped_fasta
out: [index_fai]
bwa_mem:
run: tools/bwa-mem.cwl
in:
sample_name: sample_name
trimmed_fastq:
source: cutadapt/trimmed_fastq
read_group: readgroup_str
reference_genome:
source: bwa_index/output
out: [aligned_sam]
samtools_sort:
run: tools/samtools_sort_bam.cwl
in:
input:
source: bwa_mem/aligned_sam
out: [sorted_bam]
picard_markduplicates:
run: tools/picard_markduplicates.cwl
in:
input:
source: samtools_sort/sorted_bam
out: [md_bam]
s:author:
- class: s:Person
s:identifier: https://orcid.org/0000-0003-4929-1219
s:email: mailto:[email protected]
s:name: Laura Rodríguez-Navas
s:dateCreated: "2021-02-19"
s:license: https://spdx.org/licenses/Apache-2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment