Skip to content
Novus Examples
gff3681 B

GFF3 Gene Annotations — 1-Based Inclusive Coordinates (.gff3)

Seven features on a synthetic contig — two genes, an mRNA, two exons and two CDS records — linked by ID and Parent attributes across both strands. GFF3 coordinates are 1-based and inclusive, which is the fact its BED twin exists to contrast.

Preview — first 11 linesgff3
##gff-version 3
##sequence-region NXCTG01 1 600
# organism: Synthetica exampleensis strain NX-1 (an invented organism). Coordinates are 1-based inclusive.
NXCTG01	NovusExamples	gene	101	460	.	+	.	ID=gene0001;Name=nxA;biotype=protein_coding
NXCTG01	NovusExamples	mRNA	101	460	.	+	.	ID=mrna0001;Parent=gene0001
NXCTG01	NovusExamples	exon	101	220	.	+	.	ID=exon0001;Parent=mrna0001
NXCTG01	NovusExamples	exon	301	460	.	+	.	ID=exon0002;Parent=mrna0001
NXCTG01	NovusExamples	CDS	121	220	.	+	0	ID=cds0001;Parent=mrna0001;phase_note=see column 8
NXCTG01	NovusExamples	CDS	301	420	.	+	0	ID=cds0002;Parent=mrna0001
NXCTG01	NovusExamples	gene	501	580	.	-	.	ID=gene0002;Name=nxB;biotype=ncRNA

Specifications

Version
GFF3
Features
7
Columns
9
Coordinate System
1-based inclusive
Parent Child Links
true
Strands
+ and -
Sequence Region
NXCTG01 1 600

Testing contract

Expected to pass
Scenario
Parse the nine columns, build the feature hierarchy from ID and Parent, and compute each exon's length.
Expected result
Seven features resolve into two genes with one mRNA carrying two exons, and exon0001 spans 101 to 220 inclusive for a length of 120 bases.

What is a .gff3 file?

GFF3 (General Feature Format version 3) is a tab-delimited format for genome annotations. Each line has nine columns — seqid, source, type, 1-based inclusive start and end, score, strand, phase, and a semicolon-separated attributes column — and parent/child relationships between genes, transcripts, and exons are expressed through ID and Parent attributes. Directives beginning with `##` carry metadata such as the sequence region.

How to use this file

Use an example .gff3 file to test annotation parsers and genome-browser importers, checking that the 1-based inclusive coordinates are not treated as BED's half-open ones, that feature hierarchies reconstruct correctly, and that URL-escaped attribute values are decoded.

How to use this file for testing

“GFF3 Gene Annotations — 1-Based Inclusive Coordinates (.gff3)” is a deterministic Novus Examples fixture for Scientific data, Editor testing. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: 9 columns. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Generated by generation/scientific.py. Free for any use, no attribution required — license.