Internet of Science reviewed · under review · unreviewed · retracted · hub

Length distribution

figure · content hash e94726ec2ea2011f8ea1d99cab87fbf3e274c04a7ff1454153d7518968efad50 · pid local:e94726ec2ea2011f

Length distribution [610, 706): 2 [706, 802): 1 [802, 898): 1 [898, 994): 2 [994, 1090): 0 [1090, 1186): 2 [1186, 1282): 1 [1282, 1378): 0 [1378, 1474): 0 [1474, 1570]: 1 0 1 2 600 800 1000 1200 1400 1600 length count
Length distribution

Plotted series

What the figure plots, as stored in the artefact. Views: histogram, bar, line — a view changes how it is drawn, never the data or the hash.

length fromlength tocount
6107062
7068021
8028981
8989942
9941,0900
1,0901,1862
1,1861,2821
1,2821,3780
1,3781,4740
1,4741,5701

Methods

Data were processed with the IoSCore components FileSource 0.2.0 (filePath = data/experimental/fasta/00010.fasta, chunkSize = 65536; 1 out), then FASTAReader 0.2.0 (strict = true; 1 in, 10 out), then SequenceLengths 0.1.0 (default parameters; 10 in, 10 out), then TableArtefact 0.1.0 (title = Sequence lengths, caption = Length of every sequence in the input.; 10 in), then FigureArtefact 0.1.0 (title = Length distribution, type = histogram, x = length, bins = 10, width = 640, height = 400; 10 in), using IoSCore 0.3.0 on Node v20.19.1 (darwin arm64), run on 2026-10-25T11:28:10.059Z. Input: data/experimental/fasta/00010.fasta. Element types were validated at every component boundary (sample, 4 elements).

Inputs

Credits

Data curation
Jens Allmer
Software
Jens Allmer

Reproduce

Workflow Sequence lengths of a FASTA file: table and histogram · document hash 904dcb45448d… · endpoint figure · open workflow

Workflow document
{
  "description": "Reads a FASTA file, turns every record into a row { header, length } and ends in two endpoints (ADR 0013): a table of the lengths and a histogram of their distribution. Run with: node bin/ios.js run-workflow src/workflows/examples/fasta-lengths-report.workflow.json --set in.filePath=data/experimental/fasta/00010.fasta --artefacts <dir>",
  "edges": [
    {
      "from": "in",
      "to": "parse"
    },
    {
      "from": "parse",
      "to": "lengths"
    },
    {
      "from": "lengths",
      "to": "table"
    },
    {
      "from": "lengths",
      "to": "figure"
    }
  ],
  "name": "Sequence lengths of a FASTA file: table and histogram",
  "nodes": [
    {
      "id": "in",
      "params": {
        "filePath": "data/experimental/fasta/00010.fasta"
      },
      "type": "FileSource"
    },
    {
      "id": "parse",
      "type": "FASTAReader"
    },
    {
      "id": "lengths",
      "type": "SequenceLengths"
    },
    {
      "id": "table",
      "params": {
        "caption": "Length of every sequence in the input.",
        "title": "Sequence lengths"
      },
      "type": "TableArtefact"
    },
    {
      "id": "figure",
      "params": {
        "bins": 10,
        "title": "Length distribution",
        "type": "histogram",
        "x": "length"
      },
      "type": "FigureArtefact"
    }
  ],
  "schema": "ioscore/workflow/1"
}
Execution record (JSON)
{
  "schema": "ioscore/execution-record/1",
  "name": "Sequence lengths of a FASTA file: table and histogram",
  "ioscore": "0.3.0",
  "node": "v20.19.1",
  "platform": "darwin arm64",
  "startedAt": "2026-10-25T11:28:10.059Z",
  "finishedAt": "2026-10-25T11:28:10.066Z",
  "inputs": [
    "data/experimental/fasta/00010.fasta"
  ],
  "steps": [
    {
      "type": "FileSource",
      "version": "0.2.0",
      "params": {
        "filePath": "data/experimental/fasta/00010.fasta",
        "chunkSize": 65536
      },
      "stats": {
        "out": 1
      },
      "origin": "core"
    },
    {
      "type": "FASTAReader",
      "version": "0.2.0",
      "params": {
        "strict": true
      },
      "stats": {
        "in": 1,
        "out": 10,
        "dropped": 0
      },
      "origin": "core"
    },
    {
      "type": "SequenceLengths",
      "version": "0.1.0",
      "params": {},
      "stats": {
        "in": 10,
        "out": 10,
        "dropped": 0
      },
      "origin": "core"
    },
    {
      "type": "TableArtefact",
      "version": "0.1.0",
      "params": {
        "title": "Sequence lengths",
        "caption": "Length of every sequence in the input.",
        "columns": []
      },
      "stats": {
        "in": 10
      },
      "origin": "core"
    },
    {
      "type": "FigureArtefact",
      "version": "0.1.0",
      "params": {
        "title": "Length distribution",
        "caption": "",
        "type": "histogram",
        "x": "length",
        "y": "",
        "bins": 10,
        "width": 640,
        "height": 400
      },
      "stats": {
        "in": 10
      },
      "origin": "core"
    }
  ],
  "qc": {
    "level": "sample",
    "sample": 100,
    "checked": 4,
    "violations": [],
    "edges": 4
  }
}

SVG · JSON