diff --git a/runs/heatmap-run/job.yml b/runs/heatmap-run/job.yml deleted file mode 100644 index 0117e649dc596177720599ee50362be54d8e1b5f..0000000000000000000000000000000000000000 --- a/runs/heatmap-run/job.yml +++ /dev/null @@ -1,4 +0,0 @@ -MeasurementTableCSV: - class: File - path: ../../assays/SugarMeasurement/dataset/sugar_result.csv -FigureFileName: heatmap \ No newline at end of file diff --git a/workflows/heatmap/heatmap.py b/workflows/heatmap/heatmap.py deleted file mode 100644 index facb4055f976af6aac838548306bf1f8a259eae4..0000000000000000000000000000000000000000 --- a/workflows/heatmap/heatmap.py +++ /dev/null @@ -1,19 +0,0 @@ -import pandas as pd -import plotly.express as px -import sys - -# Read command line arguments -MeasurementTableCSV=sys.argv[1] -FigureFileName=sys.argv[2] - -# Read the CSV file -data = pd.read_csv(MeasurementTableCSV, index_col=0, on_bad_lines='skip') - -# Create a heatmap -fig = px.imshow(data, - labels=dict(x="Columns", y="Rows", color="Value"), - x=data.columns, - y=data.index) - -# Save heatmap to file -fig.write_image(FigureFileName + ".svg") diff --git a/workflows/heatmap/workflow.cwl b/workflows/heatmap/workflow.cwl deleted file mode 100644 index 5ccb946b210b42dc2eeea5810ee0ad297e7a80c2..0000000000000000000000000000000000000000 --- a/workflows/heatmap/workflow.cwl +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env cwl-runner - -cwlVersion: v1.2 -class: CommandLineTool -requirements: - - class: InitialWorkDirRequirement - listing: - - entryname: heatmap.py - entry: - $include: heatmap.py - - class: NetworkAccess - networkAccess: true -baseCommand: [python3, heatmap.py] -inputs: - MeasurementTableCSV: - type: File - inputBinding: - position: 1 - FigureFileName: - type: string - inputBinding: - position: 2 - -outputs: - output: - type: File - outputBinding: - glob: "*.svg" -