mirror of
https://github.com/K-Dense-AI/scientific-agent-skills.git
synced 2026-12-05 18:43:55 +08:00
Covers the conventions that produce silent off-by-one and wrong-assembly
errors: 0-based half-open vs 1-based inclusive across BED/GFF/VCF/SAM and
friends, VCF indel anchoring and left-alignment, GRCh37 vs hg19 vs GRCh38
vs T2T, and genomic-to-transcript-to-CDS-to-protein positions.
Four standard-library scripts, no network:
- convert_coords.py intervals between 21 conventions
- normalize_variant.py trim and left-align against a reference, compare
two representations for equivalence
- check_contigs.py identify the assembly, report why two files
will not join
- audit_intervals.py scan a BED/GTF/GFF3/VCF for convention violations
Build signatures are read from the UCSC chrom.sizes files and the NCBI
GRCh37.p13 assembly report; region-string semantics follow the samtools
manual, including that REF:START runs to the end of the contig and that
GRCh38 HLA contig names need htslib brace quoting.
26 lines
502 B
Plaintext
26 lines
502 B
Plaintext
1 249250621 0 60 61
|
|
2 243199373 0 60 61
|
|
3 198022430 0 60 61
|
|
4 191154276 0 60 61
|
|
5 180915260 0 60 61
|
|
6 171115067 0 60 61
|
|
7 159138663 0 60 61
|
|
X 155270560 0 60 61
|
|
8 146364022 0 60 61
|
|
9 141213431 0 60 61
|
|
10 135534747 0 60 61
|
|
11 135006516 0 60 61
|
|
12 133851895 0 60 61
|
|
13 115169878 0 60 61
|
|
14 107349540 0 60 61
|
|
15 102531392 0 60 61
|
|
16 90354753 0 60 61
|
|
17 81195210 0 60 61
|
|
18 78077248 0 60 61
|
|
20 63025520 0 60 61
|
|
Y 59373566 0 60 61
|
|
19 59128983 0 60 61
|
|
22 51304566 0 60 61
|
|
21 48129895 0 60 61
|
|
MT 16569 0 60 61
|