{
  "name": "Worked .fai index examples for LF, CRLF and FASTQ files (HTSlib faidx format page)",
  "description": "Index values published as worked examples on the HTSlib faidx format page, arranged by line-terminator style and file type so that the effect of CRLF terminators and FASTQ quality offsets on each column can be compared side by side.",
  "page": "https://casrai.org/guides/samtools-faidx",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T21:58:01Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Example",
      "unit": "",
      "description": ""
    },
    {
      "name": "NAME",
      "unit": "",
      "description": ""
    },
    {
      "name": "LENGTH",
      "unit": "bases",
      "description": ""
    },
    {
      "name": "OFFSET",
      "unit": "bytes",
      "description": ""
    },
    {
      "name": "LINEBASES",
      "unit": "bases",
      "description": ""
    },
    {
      "name": "LINEWIDTH",
      "unit": "bytes",
      "description": ""
    },
    {
      "name": "QUALOFFSET",
      "unit": "bytes",
      "description": ""
    }
  ],
  "rows": [
    {
      "Example": "LF example, record one",
      "NAME": "one",
      "LENGTH": 66,
      "OFFSET": 5,
      "LINEBASES": 30,
      "LINEWIDTH": 31,
      "QUALOFFSET": "none"
    },
    {
      "Example": "LF example, record two",
      "NAME": "two",
      "LENGTH": 28,
      "OFFSET": 98,
      "LINEBASES": 14,
      "LINEWIDTH": 15,
      "QUALOFFSET": "none"
    },
    {
      "Example": "CRLF example, record one",
      "NAME": "one",
      "LENGTH": 66,
      "OFFSET": 6,
      "LINEBASES": 30,
      "LINEWIDTH": 32,
      "QUALOFFSET": "none"
    },
    {
      "Example": "CRLF example, record two",
      "NAME": "two",
      "LENGTH": 28,
      "OFFSET": 103,
      "LINEBASES": 14,
      "LINEWIDTH": 16,
      "QUALOFFSET": "none"
    },
    {
      "Example": "FASTQ example, record one",
      "NAME": "fastq1",
      "LENGTH": 66,
      "OFFSET": 8,
      "LINEBASES": 30,
      "LINEWIDTH": 31,
      "QUALOFFSET": 79
    },
    {
      "Example": "FASTQ example, record two",
      "NAME": "fastq2",
      "LENGTH": 28,
      "OFFSET": 156,
      "LINEBASES": 14,
      "LINEWIDTH": 15,
      "QUALOFFSET": 188
    }
  ],
  "sources": [
    {
      "title": "HTSlib: FASTA/FASTQ index format (faidx)",
      "url": "https://www.htslib.org/doc/faidx.html",
      "accessed": "2026-11-14"
    }
  ]
}