eduKateSG · Why Science?
Reconstruct a chromosome or scaffold from ordered components and explicit gaps—while keeping orientation, linkage evidence and unknown sequence honest
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. NCBI’s AGP specification version 2.1 describes how a larger sequence object such as a contig, scaffold or chromosome is assembled from smaller sequence components and gaps. Every row has nine tab-delimited columns, but columns six through nine change meaning depending on whether column five marks a component or an N or U gap. AGP coordinates are one-based and inclusive. Each object starts at coordinate one with part number one, and object intervals should be continuous. AGP is not a read-assembly algorithm, an alignment format or a gene-feature table. 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: FASTA sequence records and reference data; Chain files and genome coordinate mapping; BED and genomic feature coordinates; Science Learning Hub; Education Hub; STEM Education; Careers by Subject Capability.
Primary and official sources checked on 12 October 2026: NCBI GenBank AGP Specification version 2.1, checked 12 October 2026; NCBI Genome Submission Guide, checked 12 October 2026; NCBI Datasets Genome documentation, checked 12 October 2026; 2026 Singapore–Cambridge O-Level Biology syllabus; MOE G2/G3 Lower Secondary Science teaching and learning syllabus; 2026 MOE G2 Computing syllabus. Specifications, tools and recommendations can change, so preserve dated documentation, exact source data, coordinate rules and software versions.
A deeper reading route
AGP is a construction map. It explains which sequence components contribute to a larger object, which parts of those components are used, their orientation and where gaps occur. This is different from an alignment that proves how two sequences match and different from an annotation that locates genes. Keeping those jobs separate prevents a component map from being over-read as evidence for sequence accuracy or function.
Columns one through five establish the object interval, part number and row class. Object coordinates are one-based inclusive and are always described on the object’s plus strand. Part numbers start at one and increase through the object. The size of each row’s object span must equal the component span or gap length, creating an arithmetic continuity test across the whole assembly.
Component rows use columns six through nine for component identifier, component beginning, component end and orientation. The identifier should ideally be a versioned public accession, although local identifiers can be used before submission. Component coordinates are also one-based inclusive. Plus and minus orientations change how the component contributes to the object, while question mark and na preserve uncertainty.
Gap rows use the same positions differently. Column six becomes gap length, column seven becomes gap type, column eight states whether linkage is supported, and column nine names the linkage evidence. N denotes a gap of specified size. U denotes an unknown-size gap represented with the standard length of 100 bases. That number is a convention, not a measurement of exactly one hundred missing bases.
Gap types distinguish scaffold, contig, centromere, short arm, heterochromatin, telomere, repeat and contamination contexts under the specification. The labels are not interchangeable, and they affect whether leading, trailing or successive gaps are reasonable. A chromosome may begin with a biological gap type where an ordinary scaffold generally should not.
Linkage is a claim about ordering or relationship between neighbouring components. The specification accepts evidence types including paired ends, alignments, transcript evidence, maps, PCR and proximity ligation. Multiple evidence types can be separated by semicolons. When linkage is no, the evidence value is na. A named evidence type still needs its own supporting data and provenance.
Continuity validation is powerful. Each object begins at one, row starts follow the preceding end plus one, part numbers advance without gaps, and row span equals the contribution length. Component bounds must be legal for the referenced sequence. Gap lengths must be positive. These tests can detect shifted rows before any assembled FASTA is reconstructed.
Sequence reconstruction adds another check. Retrieve each component by exact accession and version, slice the declared inclusive interval, reverse-complement minus components, add the declared N gaps and concatenate in part order. The reconstructed object should match the distributed assembly sequence or yield a documented explanation for every difference.
Comments may appear at the head of the file and can record AGP version, organism, assembly name and naming conventions. The specification says comments should not appear inside the body. A parser that discards the header loses useful assembly identity; a parser that treats an internal comment as harmless may hide a broken object sequence.
Comparing AGP releases should classify component replacements, boundary changes, orientation changes, gap-type changes, linkage-evidence changes and object renaming. A changed object length can arise from many different edits. Publishing only the final length hides the engineering history that AGP is designed to expose.
For students, AGP resembles building a long railway from numbered segments and clearly marked unbuilt sections. The map is valuable precisely because it says where knowledge is incomplete. An unknown gap is not empty information; it is a bounded statement that sequence is missing while some larger arrangement is being represented.
A durable package contains AGP, component FASTA or stable accessions, object FASTA, assembly report, specification version, validation logs and reconstruction commands. It also records whether U gaps were retained as standard placeholders. This makes each assembled base or N run traceable to one row and one source component.
| Stage | Question | Evidence | Responsible output |
|---|---|---|---|
| Anchor | Which larger object is assembled? | Object ID, coordinates and part number | A continuous object framework |
| Place | Which component interval contributes? | Component ID, bounds and orientation | A traceable sequence contribution |
| Bridge | Where is sequence unknown? | Gap length, type, linkage and evidence | An explicit uncertainty segment |
| Verify | Does the map reconstruct? | Continuity arithmetic, accessions and object sequence | A reproducible assembly map |
Inside this guide
1–12 · Foundations and design
- 1. Start with the assembly object
- 2. Know what AGP is not
- 3. Require nine tab-separated columns
- 4. Read object identity
- 5. Read object coordinates
- 6. Read part number
- 7. Branch on component type
- 8. Recognise sequence component codes
- 9. Recognise gap codes
- 10. Read component identifier
- 11. Read component bounds
- 12. Read component orientation
13–24 · Models and estimation
- 13. Keep object strand fixed
- 14. Read specified gap length
- 15. Handle unknown gap size
- 16. Read gap type
- 17. Read linkage yes or no
- 18. Read linkage evidence
- 19. Validate first coordinate
- 20. Validate continuity
- 21. Validate contribution length
- 22. Validate positive gaps
- 23. Inspect leading and trailing gaps
- 24. Keep comments at the head
25–36 · Diagnostics and interpretation
- 25. Reconstruct object sequence
- 26. Compare releases by edit type
- 27. Protect unpublished assemblies
- 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 assembly note
- 35. Build a validation ladder
- 36. Finish with a reproducible bundle
Section 1 of 36
1. Start with the assembly object
AGP describes a chromosome, scaffold or contig built from smaller pieces and gaps.
Working checkpoint — AGP: Name the assembly release and object class. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 2 of 36
2. Know what AGP is not
The specification says AGP is not read assembly, component alignment or feature annotation.
Working checkpoint — assembly object: Route each question to the correct evidence type. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 3 of 36
3. Require nine tab-separated columns
All rows have nine positions even though later meanings branch by row class.
Working checkpoint — sequence component: Reject spaces, missing tokens and shifted fields. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 4 of 36
4. Read object identity
Column one names the larger object being assembled.
Working checkpoint — gap row: Require uniqueness within the assembly. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 5 of 36
5. Read object coordinates
Columns two and three are one-based inclusive bounds on the object.
Working checkpoint — orientation: Compute row span as end minus start plus one. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 6 of 36
6. Read part number
Column four counts rows contributing to one object, beginning at one.
Working checkpoint — linkage evidence: Require consecutive integers. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 7 of 36
7. Branch on component type
Column five decides whether columns six through nine describe sequence or a gap.
Working checkpoint — AGP: Parse the branch before later fields. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 8 of 36
8. Recognise sequence component codes
A, D, F, G, O, P and W describe accepted component-status classes.
Working checkpoint — assembly object: Preserve the exact code and definition. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 9 of 36
9. Recognise gap codes
N is a specified-size gap and U is unknown size represented as 100 bases.
Working checkpoint — sequence component: Do not treat U length as measured. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 10 of 36
10. Read component identifier
On component rows, column six names the contributing sequence.
Working checkpoint — gap row: Prefer accession.version or preserve local namespace. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 11 of 36
11. Read component bounds
Columns seven and eight select a one-based inclusive interval from the component.
Working checkpoint — orientation: Validate against component length. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 12 of 36
12. Read component orientation
Column nine can be plus, minus, unknown or irrelevant under defined rules.
Working checkpoint — linkage evidence: Reverse-complement only minus contributions. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 13 of 36
13. Keep object strand fixed
Object coordinates are always stated on the object plus strand, regardless of component orientation.
Working checkpoint — AGP: Do not reverse object numbering. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 14 of 36
14. Read specified gap length
For N rows, column six gives a positive gap length.
Working checkpoint — assembly object: Match it to the object span. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 15 of 36
15. Handle unknown gap size
For U rows, the specification requires length 100 as a placeholder.
Working checkpoint — sequence component: Label the size as conventional uncertainty. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 16 of 36
16. Read gap type
Column seven can describe scaffold, contig, centromere, short_arm, heterochromatin, telomere, repeat or contamination.
Working checkpoint — gap row: Use only allowed values. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 17 of 36
17. Read linkage yes or no
Column eight states whether neighbouring components have linkage evidence.
Working checkpoint — orientation: Keep linkage distinct from known sequence. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 18 of 36
18. Read linkage evidence
Column nine names accepted evidence types and can list several with semicolons.
Working checkpoint — linkage evidence: Trace each evidence claim to its source. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 19 of 36
19. Validate first coordinate
Every object begins with object_beg one and part number one.
Working checkpoint — AGP: Reject an orphaned continuation. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 20 of 36
20. Validate continuity
Every next row should begin one base after the previous row ends.
Working checkpoint — assembly object: Detect overlaps and unrepresented holes. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 21 of 36
21. Validate contribution length
Component span or gap length must equal the object span of its row.
Working checkpoint — sequence component: Use checked inclusive arithmetic. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 22 of 36
22. Validate positive gaps
Zero or negative gap lengths are invalid.
Working checkpoint — gap row: Stop instead of normalising silently. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 23 of 36
23. Inspect leading and trailing gaps
Scaffolds generally should not begin or end with ordinary gaps, while chromosomes can include biological end gaps.
Working checkpoint — orientation: Evaluate by object and gap type. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 24 of 36
24. Keep comments at the head
Header comments can record AGP version, organism and assembly; comments do not belong inside the body.
Working checkpoint — linkage evidence: Preserve header metadata and flag internal comments. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 25 of 36
25. Reconstruct object sequence
Concatenate selected component intervals and N gaps in part order.
Working checkpoint — AGP: Compare the result with the distributed object FASTA. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 26 of 36
26. Compare releases by edit type
Component, orientation, boundary and gap changes should be classified separately.
Working checkpoint — assembly object: Publish a row-level assembly diff. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 27 of 36
27. Protect unpublished assemblies
Local component IDs and draft sequences can be confidential before release.
Working checkpoint — sequence component: Apply access rules to content, not extension. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 28 of 36
28. Connect to Primary Science
Numbered blocks and labelled unknown spaces can model how a larger object is assembled.
Working checkpoint — gap row: Use paper pieces and preserve every gap. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 29 of 36
29. Connect to Secondary Science
AGP illustrates scientific models that state both known sequence and structured uncertainty.
Working checkpoint — orientation: Separate construction map from biological feature. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 30 of 36
30. Connect to mathematics
Inclusive intervals, continuity and orientation create exact arithmetic checks.
Working checkpoint — linkage evidence: Reconstruct one object length by hand. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 31 of 36
31. Connect to computing
Branching schemas, stateful object validation and sequence reconstruction show robust data engineering.
Working checkpoint — AGP: Test broken part numbers and span mismatches. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Section 32 of 36
32. Connect to pathways
Genome assembly links biology, sequencing, algorithms and research data stewardship and can illuminate STEM pathways.
Working checkpoint — assembly object: Check current qualifications separately. Read the numerical result together with sample-level plots, effect size and a sensitivity check capable of weakening the headline.
For future study, connect the idea to biology, mathematics and computing while checking current official pathway information separately.
Section 33 of 36
33. Did you know?
An AGP U gap uses 100 bases even though its true size is unknown; the number is a standard placeholder.
Working checkpoint — sequence component: Keep convention and measurement distinct. Preserve the complete tested family and every excluded feature; a polished shortlist is not a substitute for provenance.
For scientific writing, prefer “supports”, “is associated with” and “is predicted to” when stronger causal verbs are not justified.
Section 34 of 36
34. Write a reader-ready assembly note
Name assembly, AGP version, objects, components, gap policy, linkage evidence and reconstruction test.
Working checkpoint — gap row: Keep it beside the assembly report. Separate what the model estimates from the biological story proposed afterward, then name the extra evidence that story would require.
For students, the transferable habit is to ask: What was measured? Compared with what? What alternative explanation remains?
Section 35 of 36
35. Build a validation ladder
Check columns, types, coordinates, parts, continuity, spans, orientations, gaps, evidence and reconstruction.
Working checkpoint — orientation: Stop at the first broken object. Treat identifiers, denominators and factor levels as scientific quantities: a silent mismatch can reverse an otherwise correct calculation.
For parents, a calm checkpoint is to ask how many independent samples support the claim and which assumption matters most.
Section 36 of 36
36. Finish with a reproducible bundle
Deliver AGP, accessions, component and object FASTA hashes, reports, commands and bounded interpretation.
Working checkpoint — linkage evidence: Make every assembled interval traceable to one row. Keep the independent sample, design, annotation and software version beside this decision so the evidence can be reconstructed.
For a classroom model, use invented counts and clearly label the activity as an analogy rather than a sequencing experiment.
Contents · Previous section · Continue to the Science Learning Hub
