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

Length distribution

figure · content hash 2446c05b709b5fec0cc908cff91bb62f63ee78e467e24799ac23f4d0272993f2 · pid local:2446c05b709b5fec

Length distribution [610, 730): 2 [730, 850): 2 [850, 970): 2 [970, 1090): 0 [1090, 1210): 3 [1210, 1330): 0 [1330, 1450): 0 [1450, 1570]: 1 0 1 2 3 600 800 1000 1200 1400 1600 length count
Length distribution Histogram of the record lengths.

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
6107302
7308502
8509702
9701,0900
1,0901,2103
1,2101,3300
1,3301,4500
1,4501,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 FASTAStatistics 0.3.0 (perSection = true; 10 in, 19 out), then TableArtefact 0.1.0 (title = FASTA statistics, caption = Record count, length summary and residue counts of the input file.; 9 in), then TableArtefact 0.1.0 (title = Per-record statistics, caption = Length and residue counts of every record.; 10 in), then FigureArtefact 0.1.0 (title = Length distribution, caption = Histogram of the record lengths., type = histogram, x = length, bins = 8, width = 640, height = 400; 10 in), using IoSCore 0.3.0 on Node v20.19.1 (darwin arm64), run on 2026-10-25T17:02:17.517Z. Input: data/experimental/fasta/00010.fasta. Element types were validated at every component boundary (sample, 5 elements).

Inputs

Credits

Data curation
Jens Allmer
Software
Jens Allmer

Reproduce

Workflow FASTA statistics: summary table, per-record table and length histogram · document hash 102407c83aa9… · endpoint lengths · open workflow

Workflow document
{
  "description": "Reads a FASTA file, computes its statistics once and ends in three endpoints: the summary (record count, length summary, residue counts) as a table, the per-record lengths and residue counts as a table, and the length distribution as a histogram. Run with: node bin/ios.js run-workflow src/workflows/examples/fasta-stats-report.workflow.json --set in.filePath=data/experimental/fasta/00010.fasta --artefacts <dir>",
  "edges": [
    {
      "from": "in",
      "to": "parse"
    },
    {
      "from": "parse",
      "to": "stats"
    },
    {
      "from": "stats",
      "fromPort": "summary",
      "to": "summary"
    },
    {
      "from": "stats",
      "fromPort": "records",
      "to": "records"
    },
    {
      "from": "stats",
      "fromPort": "records",
      "to": "lengths"
    }
  ],
  "name": "FASTA statistics: summary table, per-record table and length histogram",
  "nodes": [
    {
      "id": "in",
      "params": {
        "filePath": "data/experimental/fasta/00010.fasta"
      },
      "type": "FileSource"
    },
    {
      "id": "parse",
      "type": "FASTAReader"
    },
    {
      "id": "stats",
      "type": "FASTAStatistics"
    },
    {
      "id": "summary",
      "params": {
        "caption": "Record count, length summary and residue counts of the input file.",
        "title": "FASTA statistics"
      },
      "type": "TableArtefact"
    },
    {
      "id": "records",
      "params": {
        "caption": "Length and residue counts of every record.",
        "title": "Per-record statistics"
      },
      "type": "TableArtefact"
    },
    {
      "id": "lengths",
      "params": {
        "bins": 8,
        "caption": "Histogram of the record lengths.",
        "title": "Length distribution",
        "type": "histogram",
        "x": "length"
      },
      "type": "FigureArtefact"
    }
  ],
  "schema": "ioscore/workflow/1"
}
Execution record (JSON)
{
  "schema": "ioscore/execution-record/1",
  "name": "FASTA statistics: summary table, per-record table and length histogram",
  "ioscore": "0.3.0",
  "node": "v20.19.1",
  "platform": "darwin arm64",
  "startedAt": "2026-10-25T17:02:17.517Z",
  "finishedAt": "2026-10-25T17:02:17.525Z",
  "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": "FASTAStatistics",
      "version": "0.3.0",
      "params": {
        "perSection": true
      },
      "stats": {
        "in": 10,
        "out": 19,
        "dropped": 0
      },
      "origin": "core"
    },
    {
      "type": "TableArtefact",
      "version": "0.1.0",
      "params": {
        "title": "FASTA statistics",
        "caption": "Record count, length summary and residue counts of the input file.",
        "columns": []
      },
      "stats": {
        "in": 9
      },
      "origin": "core"
    },
    {
      "type": "TableArtefact",
      "version": "0.1.0",
      "params": {
        "title": "Per-record statistics",
        "caption": "Length and residue counts of every record.",
        "columns": []
      },
      "stats": {
        "in": 10
      },
      "origin": "core"
    },
    {
      "type": "FigureArtefact",
      "version": "0.1.0",
      "params": {
        "title": "Length distribution",
        "caption": "Histogram of the record lengths.",
        "type": "histogram",
        "x": "length",
        "y": "",
        "bins": 8,
        "width": 640,
        "height": 400
      },
      "stats": {
        "in": 10
      },
      "origin": "core"
    }
  ],
  "qc": {
    "level": "sample",
    "sample": 100,
    "checked": 5,
    "violations": [],
    "edges": 5
  }
}

SVG · JSON