eduKateSG · Why Science?
Describe where a genomic feature lies with a simple interval—and make coordinate system, reference assembly and feature meaning impossible to miss
Choose the closest route, then return to the full index whenever you need the wider evidence chain.
Science learning becomes powerful when students can tell a measured pattern from a model, a statistical decision from a mechanism, and a useful lead from a finished conclusion. Browser Extensible Data (BED) is a plain-text format for recording genomic feature locations and annotations. Developed by UCSC and formalised by the GA4GH Large Scale Genomics Work Stream, it uses three mandatory fields—chrom, chromStart and chromEnd—and up to nine standard optional fields, with custom fields permitted by agreement. GA4GH lists BED as current with Active Engagement and BED v1.0 as the last approved version; the version table separately labels v1.0 maintained, development and draft dated 5 January 2022, so readers should cite the exact specification used. BED coordinates are zero-based and half-open: the start is included and the end is excluded. A valid-looking interval is not meaningful without the correct reference assembly, sequence name, feature definition and provenance. This guide supports Primary Science, PSLE Science, Secondary Science, O-Level Science and STEM education as a longform evidence-reading route; it is not medical advice, a laboratory protocol, an admission promise or a career guarantee.
Related eduKate reading: refget and globally identifiable reference sequences; GA4GH Data Connect and federated dataset queries; htsget and secure genomic data streaming; Science Learning Hub; Education Hub; STEM Education; Careers by Subject Capability.
Primary and official sources checked on 12 October 2026: Official GA4GH BED product page, current BED v1.0 listing; Official BED v1 specification; Official SAMtools hts-specs repository; 2026 Singapore–Cambridge O-Level Biology syllabus; MOE G2/G3 Lower Secondary Science teaching and learning syllabus; 2026 MOE G2 Computing syllabus. Standards, service interfaces and recommendations can change, so preserve the dated documentation and versions used.
A deeper reading route
BED looks simple because its first three tab-separated fields describe a sequence and an interval. That simplicity is productive: tools can sort, intersect and display millions of features. It is also deceptive. A coordinate has no biological meaning until the reference assembly, sequence naming convention, feature type and generation method are known.
The zero-based half-open convention represents an interval as [start, end). Position zero can be a valid start, the end is excluded, and length is end minus start. This makes adjacent intervals compose cleanly in software, but many reports and genome browsers describe positions differently. Conversion must name both the source and destination convention.
Optional fields progressively add a name, score, strand, display thickness, colour and block structure. A BED12 record can describe several blocks such as exons inside one overall span. The outer interval, thick region and blocks answer different questions. Treating the bounding span as continuous feature coverage can create false overlap.
Custom columns are allowed, but interoperability then depends on an external schema or contract. One file’s thirteenth column might be a p-value; another’s might be a sample name. Good producers publish field names, types, units, allowed missing values and version. Good consumers reject undocumented extras instead of guessing.
Interval operations need explicit policies. Strand, minimum overlap, reciprocal overlap, block awareness, duplicates and reference compatibility can all change the result. A command that runs without error may still answer the wrong biological question. Reproducible analysis records the tool, parameters, input hashes and assembly.
Display directives and track configuration can make a browser view helpful, but presentation must not be mistaken for the feature table itself. Colour, labels and viewing windows can emphasise one interpretation without changing the underlying intervals. A durable workflow keeps raw BED records, any browser-oriented configuration and the rendered image as separate artefacts, so a later reader can tell data from display. When a pipeline accepts headers or special lines, its behaviour should be documented and tested instead of assumed from another tool.
For students, BED is a joyful bridge from number lines to genomes. A coloured strip from 2 to 5 covers three units in a half-open system: 2, 3 and 4. Add a reference-edition label and a feature definition, and the activity becomes a miniature lesson in measurement, coordinates, evidence and scientific communication.
| Stage | Question | Evidence | Responsible output |
|---|---|---|---|
| Locate | Where does the feature begin and end? | chrom, chromStart and chromEnd | A zero-based half-open interval |
| Annotate | What else is known about it? | Name, score, strand, display and block fields | A richer feature record |
| Compare | How do features overlap or differ? | Assembly-aware interval rules and parameters | A reproducible relationship |
| Interpret | What does the record claim biologically? | Feature definition, method and provenance | A bounded scientific statement |
Inside this guide
1–12 · Foundations and design
- 1. Start with the biological feature
- 2. Read the product status precisely
- 3. Use tab-delimited records
- 4. Read the three mandatory fields
- 5. Interpret chrom as a sequence name
- 6. Interpret chromStart as zero-based
- 7. Interpret chromEnd as excluded
- 8. Use half-open intervals consistently
- 9. Validate interval order
- 10. Read the optional name
- 11. Read the optional score
- 12. Read the optional strand
13–24 · Models and estimation
- 13. Read thickStart and thickEnd
- 14. Read itemRgb as display metadata
- 15. Understand BED blocks
- 16. Distinguish span from covered bases
- 17. Use BED3, BED6 and BED12 deliberately
- 18. Document custom fields
- 19. Attach the reference assembly
- 20. Resolve sequence aliases
- 21. Sort with a declared order
- 22. Index compressed BED carefully
- 23. Define overlap rules
- 24. Handle adjacent intervals
25–36 · Diagnostics and interpretation
- 25. Handle duplicate records
- 26. Convert coordinate systems visibly
- 27. Connect identifiers to reference services
- 28. Connect to Primary Science
- 29. Connect to Secondary Science
- 30. Connect to mathematics
- 31. Connect to computing
- 32. Connect to pathways
- 33. Did you know?
- 34. Write a reader-ready BED record
- 35. Build a validation ladder
- 36. Finish with a reproducible bundle
Section 1 of 36
1. Start with the biological feature
A BED record should represent a defined feature: a gene interval, regulatory region, peak or another declared object. Coordinates alone do not say what was observed or predicted.
Working checkpoint — BED: Write the feature definition and generation method first. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 2 of 36
2. Read the product status precisely
GA4GH lists BED as current and Active Engagement and names BED v1.0 as the last approved version, while its version table labels v1.0 maintained, development and draft dated 5 January 2022.
Working checkpoint — chromStart: Cite the exact BED specification and producer version. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 3 of 36
3. Use tab-delimited records
BED is a plain-text, line-oriented format whose fields are separated by tabs. Spaces inside or between fields can break strict parsers or change meaning.
Working checkpoint — chromEnd: Validate delimiters and line endings before analysis. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 4 of 36
4. Read the three mandatory fields
Every standard BED record begins with chrom, chromStart and chromEnd. These identify a reference sequence and one interval.
Working checkpoint — half-open interval: Reject records missing any of the first three fields. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 5 of 36
5. Interpret chrom as a sequence name
The chrom field is a sequence identifier in a reference assembly, not proof of a universal chromosome. Prefixes, contigs and aliases differ between resources.
Working checkpoint — reference assembly: Use an assembly-specific sequence dictionary. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 6 of 36
6. Interpret chromStart as zero-based
The start counts from zero. The first base of a reference sequence therefore begins at chromStart 0, not 1.
Working checkpoint — feature annotation: Test a record beginning at the first base. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 7 of 36
7. Interpret chromEnd as excluded
The end coordinate is not part of the interval. A record [10, 20) contains ten base positions under BED semantics.
Working checkpoint — BED: Calculate length as chromEnd minus chromStart. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 8 of 36
8. Use half-open intervals consistently
Half-open intervals make adjacent regions [0,10) and [10,20) touch without sharing a base. Mixing them with closed coordinates creates off-by-one errors.
Working checkpoint — chromStart: Label coordinate convention in every conversion. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 9 of 36
9. Validate interval order
For ordinary intervals, starts should not exceed ends and coordinates should fit the declared sequence. Edge cases need specification-aware handling rather than silent repair.
Working checkpoint — chromEnd: Quarantine invalid or out-of-range records. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 10 of 36
10. Read the optional name
The fourth field can label a feature for display or identification. A name is not automatically globally unique or biologically standardised.
Working checkpoint — half-open interval: Pair names with a namespace or file-local rule. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 11 of 36
11. Read the optional score
The fifth field is a score with format constraints, but its scientific meaning depends on the producer. It might represent confidence, signal or a transformed statistic.
Working checkpoint — reference assembly: Publish the score definition, range and missing-value rule. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 12 of 36
12. Read the optional strand
The sixth field can record plus, minus or unknown orientation. Strand matters for transcription and directional features but may be irrelevant for other intervals.
Working checkpoint — feature annotation: State whether downstream overlap requires strand agreement. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 13 of 36
13. Read thickStart and thickEnd
These optional fields define a displayed thick region within the feature, often used for a coding portion. They do not redefine the outer interval.
Working checkpoint — BED: Validate that the thick range lies within the record span. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 14 of 36
14. Read itemRgb as display metadata
The optional colour field affects visualisation. It should not be treated as a scientific category unless the producer explicitly defines that mapping.
Working checkpoint — chromStart: Keep display styling separate from analytical variables. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 15 of 36
15. Understand BED blocks
BED12 adds blockCount, blockSizes and blockStarts to represent several subintervals within one feature. Block starts are offsets from chromStart.
Working checkpoint — chromEnd: Reconstruct every block and check it fits the outer span. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 16 of 36
16. Distinguish span from covered bases
A multi-block feature’s bounding interval includes gaps between blocks. Overlap with the span does not always mean overlap with a block.
Working checkpoint — half-open interval: Choose block-aware or span-aware comparison explicitly. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 17 of 36
17. Use BED3, BED6 and BED12 deliberately
The shorthand describes how many leading standard fields are present. Later standard fields cannot be skipped while a subsequent one is supplied.
Working checkpoint — reference assembly: Declare the field count and schema for each file. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 18 of 36
18. Document custom fields
BED permits additional columns, but their names and meanings are external to the core fields. Undocumented columns are not portable.
Working checkpoint — feature annotation: Provide a versioned schema and example. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 19 of 36
19. Attach the reference assembly
The same numeric interval can point to different sequence content across assemblies. Assembly is therefore part of the scientific coordinate.
Working checkpoint — BED: Store assembly name, sequence checksums or a reference manifest. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 20 of 36
20. Resolve sequence aliases
chr1 and 1 may be aliases in one environment and distinct or invalid in another. Automated prefix editing can damage non-human or alternate sequences.
Working checkpoint — chromStart: Map names through a declared dictionary. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 21 of 36
21. Sort with a declared order
Lexical sorting can place chr10 before chr2, while reference dictionaries define biological order. Many indexing tools require a consistent sort.
Working checkpoint — chromEnd: Record the sequence order used for sorting. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 22 of 36
22. Index compressed BED carefully
Tabix-style indexing can support regional access to suitably sorted, block-compressed coordinate files. An index is a companion acceleration structure, not part of plain BED semantics.
Working checkpoint — half-open interval: Verify indexed results against a full scan. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 23 of 36
23. Define overlap rules
Any-base, minimum-base, percentage and reciprocal overlap answer different questions. Strand and block awareness add further branches.
Working checkpoint — reference assembly: Write the overlap predicate before running a tool. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 24 of 36
24. Handle adjacent intervals
Half-open intervals that meet at one boundary are adjacent but have zero overlap. Treating them as overlapping can merge distinct features.
Working checkpoint — feature annotation: Test adjacency as a required negative case. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 25 of 36
25. Handle duplicate records
Duplicates may be biological replication, repeated annotation or pipeline error. Removing identical lines without provenance can erase meaningful multiplicity.
Working checkpoint — BED: Define the identity key and deduplication policy. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 26 of 36
26. Convert coordinate systems visibly
GFF, VCF, SAM and user reports may use different start and end conventions. A correct conversion changes numbers according to both source and destination semantics.
Working checkpoint — chromStart: Preserve pre-conversion files and boundary tests. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 27 of 36
27. Connect identifiers to reference services
refget can identify exact sequences by digest, while BED locates intervals on named sequences. Linking the two makes a coordinate more reproducible.
Working checkpoint — chromEnd: Store the sequence digest behind each dictionary entry. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 28 of 36
28. Connect to Primary Science
A paper number line demonstrates that [2,5) has length three and does not include five. The rule becomes memorable when adjacent coloured strips meet cleanly.
Working checkpoint — half-open interval: Use labelled, fictional intervals and ask pupils to count. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 29 of 36
29. Connect to Secondary Science
Genes, peaks and regulatory elements can share coordinates while representing observations or predictions from different methods. Location does not make evidence equivalent.
Working checkpoint — reference assembly: Compare two files with the same interval but different provenance. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 30 of 36
30. Connect to mathematics
BED uses integers, subtraction, ordering, sets and interval intersections. These exact ideas explain length, union, overlap and adjacency.
Working checkpoint — feature annotation: Calculate several interval relationships by hand. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 31 of 36
31. Connect to computing
Text parsing, schemas, sorting, indexes, coordinate conversion and validation show how simple files become dependable infrastructure.
Working checkpoint — BED: Write tests for tabs, bounds, aliases and blocks. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Section 32 of 36
32. Connect to pathways
BED connects genomics, bioinformatics, annotation, visualisation and scientific software and can illuminate STEM education and career pathways.
Working checkpoint — chromStart: Check current official qualifications separately. Read every overlap beside feature meaning, strand, blocks, reference compatibility and the exact predicate.
For future study, connect coordinates to biology, mathematics and software while checking official pathways separately.
Section 33 of 36
33. Did you know?
In BED, chromEnd is excluded, so an interval from 100 to 101 represents one base. That single convention prevents ambiguity only when everyone records it.
Working checkpoint — chromEnd: Put “zero-based, half-open” beside every human-facing export. Preserve invalid and excluded records; a clean result is not the complete annotation history.
For scientific writing, cite the BED version, assembly, feature definition and interval rules.
Section 34 of 36
34. Write a reader-ready BED record
Name the BED field count, custom schema, reference assembly and dictionary, feature definition, generator, coordinate conversions, sorting and analysis parameters.
Working checkpoint — half-open interval: Report span-aware and block-aware results separately where relevant. Separate syntactically valid intervals from biologically meaningful, assembly-correct features.
For students, ask which number-line convention is used, what the interval represents and which reference edition it belongs to.
Section 35 of 36
35. Build a validation ladder
Check tabs and field count, parse integers, validate bounds, resolve sequence names, reconstruct blocks, test coordinate boundaries, then run interval comparisons.
Working checkpoint — reference assembly: Stop before analysis if the assembly remains unknown. Treat assembly, sequence, start, end and schema as scientific inputs: a silent mismatch can create false overlap.
For parents, ask how a simple coordinate file keeps its source and meaning visible.
Section 36 of 36
36. Finish with a reproducible bundle
Deliver BED files, schema, reference manifest, sequence order, generator and tool versions, commands, hashes, boundary fixtures and validation report.
Working checkpoint — feature annotation: Make every interval traceable to a reference and method. Keep coordinate convention, assembly, sequence dictionary, field schema, generator and interval-operation parameters together.
For a classroom model, use coloured half-open intervals on a fictional reference.
Contents · Previous section · Continue to the Science Learning Hub
