Skip to content

Instantly share code, notes, and snippets.

@stain
Created April 14, 2021 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stain/cac068d3a929726949f551b5742ec9fc to your computer and use it in GitHub Desktop.
Save stain/cac068d3a929726949f551b5742ec9fc to your computer and use it in GitHub Desktop.
<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_metagenomics.cwl"
},
"hasPart": [
{
"@id": "workflow_metagenomics.cwl"
}
],
"identifier": "http://localhost:3000/workflows/2?version=1",
"url": "http://localhost:3000/workflows/2/ro_crate?version=1",
"name": "Research Object Crate for Metagenomics workflow",
"description": "Workflow for Metagenomics from raw reads to annotated bins.\r\nSteps:\r\n - workflow_quality.cwl:\r\n - FastQC (control)\r\n - fastp (trimming)\r\n - Kraken2 (Taxonomic Read Classification\r\n - SPAdes (Assembly)\r\n - QUAST (Assembly quality report)\r\n - BBmap (Read mapping to assembly)\r\n - sam_to_bam (sam to indexed bam)\r\n - metabatContigDepths (jgi_summarize_bam_contig_depths)\r\n - MetaBat2 (binning)\r\n",
"isBasedOn": "https://git.wur.nl/unlock/cwl/-/raw/master/cwl/workflows/workflow_metagenomics.cwl",
"sdDatePublished": "2021-04-14 12:12:51 +0100",
"@reverse": {
"about": [
{
"@id": "ro-crate-metadata.json"
},
{
"@id": "ro-crate-preview.html"
}
]
}
},
{
"@id": "workflow_metagenomics.cwl",
"@type": [
"File",
"SoftwareSourceCode",
"ComputationalWorkflow"
],
"programmingLanguage": {
"@id": "#cwl"
},
"url": "https://git.wur.nl/unlock/cwl/-/raw/master/cwl/workflows/workflow_metagenomics.cwl",
"contentSize": 4483,
"description": "Workflow for Metagenomics from raw reads to annotated bins.\r\nSteps:\r\n - workflow_quality.cwl:\r\n - FastQC (control)\r\n - fastp (trimming)\r\n - Kraken2 (Taxonomic Read Classification\r\n - SPAdes (Assembly)\r\n - QUAST (Assembly quality report)\r\n - BBmap (Read mapping to assembly)\r\n - sam_to_bam (sam to indexed bam)\r\n - metabatContigDepths (jgi_summarize_bam_contig_depths)\r\n - MetaBat2 (binning)\r\n",
"name": "Metagenomics workflow",
"keywords": "",
"license": "https://opensource.org/licenses/CPAL-1.0",
"creator": {
"@id": "#Bert%20Bloggs"
},
"producer": {
"@id": "http://localhost:3000/projects/1"
},
"dateCreated": {
"@value": "2021-02-16T19:11:19Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"dateModified": {
"@value": "2021-03-03T14:53:21Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"sdPublisher": {
"@id": "http://localhost:3000"
},
"version": 1,
"input": [
{
"@id": "#metagenomics_workflow-inputs-filter_rrna"
},
{
"@id": "#metagenomics_workflow-inputs-forward_reads"
},
{
"@id": "#metagenomics_workflow-inputs-reverse_reads"
},
{
"@id": "#metagenomics_workflow-inputs-threads"
},
{
"@id": "#metagenomics_workflow-inputs-memory"
},
{
"@id": "#metagenomics_workflow-inputs-gzip"
},
{
"@id": "#metagenomics_workflow-inputs-kraken_database"
},
{
"@id": "#metagenomics_workflow-inputs-pacbio_reads"
}
],
"output": [
{
"@id": "#metagenomics_workflow-outputs-fastqc_output"
},
{
"@id": "#metagenomics_workflow-outputs-filter_output"
},
{
"@id": "#metagenomics_workflow-outputs-kraken2_output"
},
{
"@id": "#metagenomics_workflow-outputs-spades_output"
},
{
"@id": "#metagenomics_workflow-outputs-quast_output"
},
{
"@id": "#metagenomics_workflow-outputs-bam_output"
},
{
"@id": "#metagenomics_workflow-outputs-metabat2_output"
}
],
"dct:conformsTo": "https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/",
"@reverse": {
"mainEntity": [
{
"@id": "./"
}
],
"hasPart": [
{
"@id": "./"
}
]
}
},
{
"@id": "#Bert%2520Bloggs",
"@type": "Person",
"name": "Bert Bloggs"
},
{
"@id": "http://localhost:3000/projects/1",
"@type": [
"Project",
"Organization"
],
"name": "Default Project",
"@reverse": {
"producer": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "http://localhost:3000",
"@type": "Organization",
"name": "Alan's SEEK",
"url": "http://localhost:3000",
"@reverse": {
"sdPublisher": [
{
"@id": "workflow_metagenomics.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_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-filter_rrna",
"@type": "FormalParameter",
"name": "rRNA filtering",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-forward_reads",
"@type": "FormalParameter",
"name": "forward reads",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-reverse_reads",
"@type": "FormalParameter",
"name": "reverse reads",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-threads",
"@type": "FormalParameter",
"name": "number of threads",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-memory",
"@type": "FormalParameter",
"name": "memory usage (mb)",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-gzip",
"@type": "FormalParameter",
"name": "gzip compression",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-kraken_database",
"@type": "FormalParameter",
"name": "Kraken2 database",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-inputs-pacbio_reads",
"@type": "FormalParameter",
"name": "pacbio reads",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"input": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-fastqc_output",
"@type": "FormalParameter",
"name": "FASTQC",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-filter_output",
"@type": "FormalParameter",
"name": "Filtered reads",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-kraken2_output",
"@type": "FormalParameter",
"name": "KRAKEN2",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-spades_output",
"@type": "FormalParameter",
"name": "SPADES",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-quast_output",
"@type": "FormalParameter",
"name": "QUAST",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-bam_output",
"@type": "FormalParameter",
"name": "BAM files",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.cwl"
}
]
}
},
{
"@id": "#metagenomics_workflow-outputs-metabat2_output",
"@type": "FormalParameter",
"name": "MetaBat2",
"dct:conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
"@reverse": {
"output": [
{
"@id": "workflow_metagenomics.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 Metagenomics workflow</span></a></li>
</ul>
</nav>
<div class="container">
<div class="jumbotron">
<h4 class="citation"></h3>
<h3 class="item_name">Research Object Crate for Metagenomics workflow</h4>
<a href="./ro-crate-metadata.json">⬇️🏷️ Download all the metadata for <span class='name'>Research Object Crate for Metagenomics workflow</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 Metagenomics workflow</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"> <span>Workflow for Metagenomics from raw reads to annotated bins.
Steps:
- workflow_quality.cwl:
- FastQC (control)
- fastp (trimming)
- Kraken2 (Taxonomic Read Classification
- SPAdes (Assembly)
- QUAST (Assembly quality report)
- BBmap (Read mapping to assembly)
- sam_to_bam (sam to indexed bam)
- metabatContigDepths (jgi_summarize_bam_contig_depths)
- MetaBat2 (binning)
</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%;">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_metagenomics.cwl">Metagenomics workflow</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="#workflow_metagenomics.cwl">Metagenomics workflow</a></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="http://localhost:3000/workflows/2?version=1">http://localhost:3000/workflows/2?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="http://localhost:3000/workflows/2/ro_crate?version=1">http://localhost:3000/workflows/2/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://git.wur.nl/unlock/cwl/-/raw/master/cwl/workflows/workflow_metagenomics.cwl">https://git.wur.nl/unlock/cwl/-/raw/master/cwl/workflows/workflow_metagenomics.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 12:12:51 +0100</span></td></tr></tbody></table></div><div><h3><a href="workflow_metagenomics.cwl">⬇️ Download: workflow_metagenomics.cwl</a></h3><table class="table metadata table-striped" id="workflow_metagenomics.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>Metagenomics workflow</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"> <span>Workflow for Metagenomics from raw reads to annotated bins.
Steps:
- workflow_quality.cwl:
- FastQC (control)
- fastp (trimming)
- Kraken2 (Taxonomic Read Classification
- SPAdes (Assembly)
- QUAST (Assembly quality report)
- BBmap (Read mapping to assembly)
- sam_to_bam (sam to indexed bam)
- metabatContigDepths (jgi_summarize_bam_contig_depths)
- MetaBat2 (binning)
</span></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>4483</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 Metagenomics workflow</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 Metagenomics workflow</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://git.wur.nl/unlock/cwl/-/raw/master/cwl/workflows/workflow_metagenomics.cwl">https://git.wur.nl/unlock/cwl/-/raw/master/cwl/workflows/workflow_metagenomics.cwl</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/CPAL-1.0">https://opensource.org/licenses/CPAL-1.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"> </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="#http://localhost:3000/projects/1">Default Project</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="#http://localhost:3000">Alan's SEEK</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="##metagenomics_workflow-inputs-filter_rrna">rRNA filtering</a></li><li><a href="##metagenomics_workflow-inputs-forward_reads">forward reads</a></li><li><a href="##metagenomics_workflow-inputs-reverse_reads">reverse reads</a></li><li><a href="##metagenomics_workflow-inputs-threads">number of threads</a></li><li><a href="##metagenomics_workflow-inputs-memory">memory usage (mb)</a></li><li><a href="##metagenomics_workflow-inputs-gzip">gzip compression</a></li><li><a href="##metagenomics_workflow-inputs-kraken_database">Kraken2 database</a></li><li><a href="##metagenomics_workflow-inputs-pacbio_reads">pacbio reads</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"> <ul><li><a href="##metagenomics_workflow-outputs-fastqc_output">FASTQC</a></li><li><a href="##metagenomics_workflow-outputs-filter_output">Filtered reads</a></li><li><a href="##metagenomics_workflow-outputs-kraken2_output">KRAKEN2</a></li><li><a href="##metagenomics_workflow-outputs-spades_output">SPADES</a></li><li><a href="##metagenomics_workflow-outputs-quast_output">QUAST</a></li><li><a href="##metagenomics_workflow-outputs-bam_output">BAM files</a></li><li><a href="##metagenomics_workflow-outputs-metabat2_output">MetaBat2</a></li></ul></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>
<p>This file was created at 1618402957840 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment