Per-record statistics
| header | length | A | C | G | T |
|---|---|---|---|---|---|
| >pdi2001denovo | 1,124 | 343 | 220 | 164 | 397 |
| >pdi2002denovo | 610 | 172 | 118 | 86 | 234 |
| >pdi2003denovo | 912 | 218 | 262 | 205 | 227 |
| >pdi2004denovo | 1,570 | 432 | 333 | 358 | 447 |
| >pdi2005denovo | 836 | 148 | 225 | 288 | 175 |
| >pdi2006denovo | 750 | 178 | 217 | 197 | 158 |
| >pdi2007denovo | 1,198 | 335 | 252 | 280 | 331 |
| >pdi2008denovo | 1,090 | 233 | 325 | 290 | 242 |
| >pdi2009denovo | 615 | 169 | 125 | 120 | 201 |
| >pdi2010denovo | 913 | 258 | 182 | 217 | 256 |
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
experimental/fasta/00010.fasta— FASTA · md5 1d40751347614fcc54bd96ff15b5f485 · licence: unknown — to be confirmed by the contributor · unknown until 2027-01-31
Credits
Reproduce
Workflow FASTA statistics: summary table, per-record table and length histogram · document hash 102407c83aa9… · endpoint records · 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
}
}