Individual skill
genomic-coordinates
Convert genomic intervals between coordinate conventions, normalise and compare variant representations, and detect assembly or contig-naming mismatches before they corrupt an analysis. Use whenever coordinates cross a format, tool, or assembly boundary - converting between BED, GFF/GTF, VCF, SAM/BAM, WIG, PSL, genePred, Picard interval_list, or region strings; reconciling 0-based half-open with 1-based inclusive; left-aligning or trimming indels; checking whether two variant records describe the same change; mapping genomic to transcript, CDS, or protein positions; auditing a BED/GTF/VCF for convention violations; or diagnosing GRCh37 vs hg19 vs GRCh38 vs T2T, chr-prefix, and liftover problems. Triggers include "off by one", "0-based", "1-based", "half-open", "coordinate system", "left-align", "normalize variant", "bcftools norm", "chr prefix", "wrong genome build", "liftover", "REF mismatch", and "HGVS".
backend/cli/skills/biology/genomic-coordinates/SKILL.md
Source commit a08e0ad0ad3d6448123039ee4659163eb2e35d99
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 4,352
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesSKILL.mdcore · 11,329 bytesreferences/format-conventions.mddoc · 9,511 bytesreferences/reference-builds.mddoc · 7,150 bytesreferences/transcript-coordinates.mddoc · 6,334 bytesreferences/variant-representation.mddoc · 6,274 bytesscripts/_common.pyruns · 13,550 bytesscripts/audit_intervals.pyruns · 19,077 bytesscripts/check_contigs.pyruns · 16,049 bytesscripts/convert_coords.pyruns · 6,618 bytesscripts/normalize_variant.pyruns · 9,962 bytes
Read excerpt
# Genomic Coordinates
## When to use
Any time a coordinate crosses a boundary: between two file formats, between two
tools, between two assemblies, or between the genome and a transcript.
## The rule
**A coordinate is three facts, not one: the number, the convention it is written
in, and the assembly it was measured against.** Carry all three or the number is
not interpretable.
Coordinate errors are the quietest class of bug in genomics. An off-by-one BED