[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDKMVDGVJRB1EBX04RNDJP":3,"skill-same:01M7EDKMVDGVJRB1EBX04RNDJP":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EDKMVDGVJRB1EBX04RNDJP","bio-genome-intervals-bed-file-basics",null,"Handles BED-format genomic intervals (BED3 through BED12, narrowPeak\u002FbroadPeak) and the coordinate-system substrate the whole interval category rests on, with bedtools (CLI) and pybedtools\u002Fpyranges\u002Fpandas (Python). Covers the 0-based half-open vs 1-based-closed convention boundary and the start-1\u002Fend-unchanged conversion, the silent failures (chrom-name mismatch, CRLF, lexicographic-vs-version sort under -sorted), genome\u002Fchrom.sizes generation, sorting contracts, BED12 block invariants, validation, makewindows, cross-assembly liftover (liftOver\u002FCrossMap), and BED\u003C->VCF\u002FBAM\u002FFASTA conversion. Use when reading, creating, validating, sorting, lifting between genome builds, or converting interval files, preparing inputs for bedtools\u002Ftabix\u002FbigBed, or debugging an off-by-one or empty-overlap result.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-intervals-bed-file-basics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-genome-intervals-bed-file-basics\ndescription: Handles BED-format genomic intervals (BED3 through BED12, narrowPeak\u002FbroadPeak) and the coordinate-system substrate the whole interval category rests on, with bedtools (CLI) and pybedtools\u002Fpyranges\u002Fpandas (Python). Covers the 0-based half-open vs 1-based-closed convention boundary and the start-1\u002Fend-unchanged conversion, the silent failures (chrom-name mismatch, CRLF, lexicographic-vs-version sort under -sorted), genome\u002Fchrom.sizes generation, sorting contracts, BED12 block invariants, validation, makewindows, cross-assembly liftover (liftOver\u002FCrossMap), and BED\u003C->VCF\u002FBAM\u002FFASTA conversion. Use when reading, creating, validating, sorting, lifting between genome builds, or converting interval files, preparing inputs for bedtools\u002Ftabix\u002FbigBed, or debugging an off-by-one or empty-overlap result.\ntool_type: mixed\nprimary_tool: bedtools\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"genome-intervals\u002Fbed-file-basics\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: bedtools 2.31+, pybedtools 0.10+, pyranges 0.x (the `pyranges1` rewrite ships as a separate package), samtools 1.19+, pandas 2.2+, UCSC liftOver \u002F CrossMap 0.7+ (the bare `CrossMap` entry point replaced `CrossMap.py` at 0.7.0).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n\npyranges has a major-version API split: pyranges 0.x and the `pyranges1` rewrite differ in method names and DataFrame access; both keep `Chromosome\u002FStart\u002FEnd` columns and 0-based half-open coordinates. Check `import pyranges; pyranges.__version__` before chaining methods. Operations that need chromosome lengths (`slop`, `complement`, `shuffle`, `makewindows -g`, `-sorted` ordering) require a genome\u002Fchrom.sizes file. If code throws an error, introspect the installed tool and adapt rather than retrying.\n\n# BED File Basics\n\n**\"Work with this interval file without shifting everything by one base\"** -> Establish the coordinate convention from the format, read\u002Fcreate\u002Fvalidate\u002Fsort the intervals, and convert across format boundaries with the correct base shift.\n- CLI: `bedtools sort -i in.bed`, `bedtools getfasta`, `bedtools makewindows -g genome.txt -w 10000`, `sort -k1,1 -k2,2n`\n- Python: `pybedtools.BedTool('in.bed')`, `pr.read_bed('in.bed')` (pyranges), `pd.read_csv(sep='\\t', comment='#')`\n\n## The Single Most Important Modern Insight -- A Coordinate Is a Bare Integer With No Self-Describing Convention\n\nA `start` column is just an `int`. Nothing in the file says whether it is 0-based or 1-based, so the convention lives in the analyst's head, keyed off the **format**, not the data. BED is 0-based half-open `[start, end)`; GTF\u002FGFF, SAM, VCF, and wiggle are 1-based fully-closed `[start, end]`. Three load-bearing consequences:\n\n1. **The conversion is `start - 1, end unchanged` -- and it throws no error if wrong.** A botched convention shift still parses, still runs, and silently shifts every answer by one base: gene bodies 1 bp short, boundary SNPs flipping in\u002Fout, exact-edge intersections toggling. The end is numerically identical between BED-half-open and GFF-closed because GFF's last *included* base and BED's first *excluded* position are the same boundary. The symmetry instinct (subtract 1 from both) is the classic bug. The reflex: convert `start_bed = start_1based - 1` (end unchanged) and **test the round-trip on a 1 bp feature** -- BED `chr1 5 6` == GFF `chr1 6 6`, both one base. Length is `end - start` in BED (no `+1`); `end - start + 1` in GTF.\n\n2. **The two truly silent file failures.** (a) **Chrom-name mismatch** (`chr1` vs `1`, `chrM` vs `MT`): intersecting a `chr`-prefixed file against a bare-numeral one yields a perfectly valid **empty** result -- \"no overlap\" looks like biology, not a bug. Confirm shared naming (`cut -f1 a.bed | sort -u`) before any cross-file op. (b) **CRLF line endings** from Excel\u002FWindows glue `\\r` onto the last field (`end` becomes `\"100\\r\"`); the tell is \"works for some tools, breaks for others.\" `cat -A` shows `^M$`; fix with `dos2unix`. Never open a BED in Excel -- it date-mangles `SEPT9`->`9-Sep` and float-truncates large coordinates.\n\n3. **bedtools `-sorted` assumes both inputs share the SAME chromosome order.** With a lexicographic (`chr1, chr10, chr2`) vs version (`chr1, chr2, chr10`) sort mismatch, modern bedtools (>=~2.25) detects the inconsistency and **errors out** (exit 1, `chromomsome sort ordering ... is inconsistent`); older versions silently swept past and **dropped chr10-chr22**. Either sort both files with the identical command, or pass `-g genome.txt` (derived from the same reference FASTA) to pin the expected order. For one-off work, omit `-sorted` (the in-memory path tolerates any order). The mismatch that stays SILENT on every version is a chromosome-NAME difference (`chr1` vs `1`), which returns an empty result with no error.\n\n## Tool Taxonomy\n\n| Tool | Role | Mechanism | When |\n|------|------|-----------|------|\n| bedtools | CLI interval algebra (Quinlan 2010 *Bioinformatics* 26:841) | streaming, sorted-input reference implementation | shell pipelines, large files, reproducible one-liners |\n| pybedtools | Python wrapper over bedtools (Dale 2011 *Bioinformatics* 27:3423) | shells out per op; BedTool objects + iterators | inside a Python analysis; chaining with pandas |\n| pyranges | pure-Python interval engine (Stovner 2020 *Bioinformatics* 36:918) | vectorized PyRanges\u002Fpandas, no bedtools binary | large in-memory joins, dataframe-native workflows |\n| pandas | flat tabular read | `read_csv(sep='\\t')`; knows NO coordinate semantics | quick filter\u002Finspect; the analyst enforces 0-based + sort manually |\n| UCSC bedToBigBed \u002F tabix | indexed\u002Fcompressed BED for random access | requires `sort -k1,1 -k2,2n`, no track lines | browser tracks, region queries on huge files |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Quick create\u002Fsort\u002Ffilter on the command line | bedtools + coreutils `sort -k1,1 -k2,2n` | no Python overhead; reproducible |\n| Inside a pandas\u002FPython pipeline | pybedtools or pyranges | stays in-process; pyranges if no bedtools binary |\n| Convert VCF\u002FGTF\u002FSAM positions to BED | subtract 1 from start, end unchanged | the convention boundary; test on a 1 bp feature |\n| Empty intersect \u002F \"no overlap found\" | check chrom naming (`chr1` vs `1`) FIRST | the most common silent null result |\n| Using `-sorted` for speed\u002FRAM | sort both files identically, or pass `-g genome.txt` | modern bedtools errors on a lexicographic-vs-version mismatch; old versions dropped chroms silently |\n| Need chromosome lengths (slop\u002Fcomplement\u002Fwindows) | generate genome.txt from the SAME FASTA | a stale\u002Fgeneric chrom.sizes rots slop\u002Fcomplement |\n| Set operations on these intervals | -> interval-arithmetic | this skill is the format\u002Fcoordinate substrate |\n| Parse a GTF\u002FGFF gene model | -> gtf-gff-handling | 1-based, parent\u002Fchild hierarchy, not a flat BED |\n| Peaks not yet called | -> chip-seq\u002Fpeak-calling or atac-seq\u002Fatac-peak-calling | this category operates on existing intervals |\n| Convert between assemblies (hg19\u003C->hg38) | liftOver\u002FCrossMap, report unmapped | a different problem from convention shifts |\n\n## BED Columns (BED3 -> BED12)\n\nThe first 3 fields are required; the rest are optional but **positional** (cannot supply field N without 1..N-1), and the field count must be identical on every line.\n\n```\nBED3   chrom  start  end\nBED4   + name\nBED5   + score (int 0-1000; '.' allowed)\nBED6   + strand (+\u002F-\u002F.)            # the common stranded-interval form\nBED12  + thickStart thickEnd itemRgb blockCount blockSizes blockStarts   # transcript\u002Fexon models\n```\n\nnarrowPeak is **BED6+4** (`signalValue pValue qValue peak`); broadPeak is **BED6+3** (drops `peak`). The `peak` column is a **0-based offset from chromStart** (absolute summit = `chromStart + peak`), `-1` if none; `pValue`\u002F`qValue` are `-log10` scaled with `-1` meaning \"not assigned\", NOT p=0.1.\n\n## Create and Read BED Files\n\n```python\nimport pybedtools\nimport pandas as pd\n\nintervals = [('chr1', 100, 200, 'peak1', 100, '+'), ('chr1', 300, 400, 'peak2', 200, '-')]\nbed = pybedtools.BedTool(intervals)                                       # from list of tuples\nbed = pybedtools.BedTool.from_dataframe(pd.read_csv('peaks.tsv', sep='\\t'))  # from a DataFrame\nbed.saveas('peaks.bed')\n\nfor iv in pybedtools.BedTool('peaks.bed'):\n    print(iv.chrom, iv.start, iv.end, len(iv))   # start\u002Fend are ints; len(iv) == end - start\ndf = pybedtools.BedTool('peaks.bed').to_dataframe(names=['chrom', 'start', 'end', 'name', 'score', 'strand'])\n```\n\npandas reads BED as a flat table but knows nothing about coordinates: `pd.read_csv('in.bed', sep='\\t', header=None, comment='#')` -- the analyst enforces 0-based and sorts manually.\n\n## Generate the Genome \u002F chrom.sizes File\n\n**Goal:** Produce the authoritative chromosome-length file that `slop`, `complement`, `shuffle`, `makewindows -g`, and `-sorted` ordering depend on.\n\n**Approach:** Index the exact reference FASTA the rest of the pipeline used and take its first two columns -- never download a generic `hg38.chrom.sizes` and hope it matches the assembly the BAM was aligned to.\n\n```bash\nsamtools faidx ref.fa\ncut -f1,2 ref.fa.fai > genome.txt   # chrom\u003CTAB>size; bedtools reads only the first 2 cols, accepts the .fai directly\n```\n\n## Convert Across Format Boundaries\n\n**Goal:** Move positions between BED and VCF\u002FSAM\u002FGTF\u002FBAM without an off-by-one.\n\n**Approach:** Subtract 1 from the 1-based start (end unchanged) going TO BED; for BAM, let bedtools do the conversion; verify a known single-base landmark afterwards.\n\n```bash\ngrep -v '^#' in.vcf | awk 'BEGIN{OFS=\"\\t\"} {print $1, $2-1, $2}' > variants.bed   # VCF POS (1-based) -> BED; start-1\nbedtools bamtobed -i in.bam > alignments.bed                                       # bedtools handles the convention\nbedtools bamtobed -i in.bam -split > spliced.bed                                   # split spliced reads into blocks\nbedtools getfasta -fi ref.fa -bed in.bed -name -fo out.fa                          # extract sequence (uses the .fai)\n```\n\n## Sort, Validate, and Make Windows\n\n```bash\nbedtools sort -i in.bed > sorted.bed                 # lexicographic, == sort -k1,1 -k2,2n\nbedtools sort -i in.bed -faidx names.txt > sorted.bed  # reorder to an arbitrary reference contig order\nawk -F'\\t' '{print NF}' in.bed | sort -u             # field count consistent? (one value expected)\nawk -F'\\t' '$2 \u003C 0 || $2 >= $3' in.bed               # negative or inverted intervals (bedtools also errors on these)\ncut -f1 in.bed | sort -u                             # chromosome names (compare against the partner file)\nbedtools makewindows -g genome.txt -w 10000 -s 5000 -i winnum > windows.bed   # 10 kb sliding windows, step 5 kb, numbered\n```\n\n## Cross-Assembly Liftover (a different problem from convention conversion)\n\n**Goal:** Move coordinates between genome builds (hg19\u003C->hg38, mm10\u003C->mm39) - which is remapping to a different reference, NOT the 0-based\u002F1-based convention shift above.\n\n**Approach:** Map intervals through a chain file with UCSC `liftOver` (BED) or CrossMap (BED\u002FVCF\u002FGFF\u002FBAM\u002FbigWig), and ALWAYS inspect the unmapped file - regions that fail to map (assembly gaps, rearrangements, split\u002Fmerged contigs) are dropped, and silently ignoring them biases everything downstream.\n\n```bash\nliftOver in.hg19.bed hg19ToHg38.over.chain.gz out.hg38.bed unmapped.bed   # UCSC; chain from UCSC goldenPath\nwc -l unmapped.bed                                                         # NEVER skip: dropped regions are not random\nCrossMap bed GRCh37_to_GRCh38.chain.gz in.bed > out.bed                    # CrossMap also does vcf\u002Fgff\u002Fbam\u002Fbigwig\n```\n\nA coordinate is meaningless without its assembly just as it is meaningless without its convention - record the build (and the chain provenance) alongside the file. Liftover is many-to-one and one-to-none in places; never assume a 1:1 round-trip.\n\n## BED12 Block Invariants\n\nBED12 is a referentially-integral structure, not a flat table. `blockStarts` are **offsets from chromStart**, not absolute coordinates; the **first blockStart must be 0**; `blockStarts[last] + blockSizes[last]` must equal `chromEnd - chromStart`; blocks are ascending and non-overlapping. `thickStart\u002FthickEnd` (the CDS) are absolute and independent of the blocks -- a non-coding feature sets both to `chromStart`. Validate by reconstructing absolute exon coordinates (`chromStart + blockStarts[i]`) and confirming they fall inside `[chromStart, chromEnd]`; `bedtools bed12tobed6` explodes a model into per-exon BED6 as a quick sanity reconstruction.\n\n## Per-Method Failure Modes\n\n### Off-by-one at a convention boundary\n**Trigger:** treating a GTF\u002FVCF 1-based `start` as a BED `chromStart`. **Mechanism:** the convention is not stored in the data. **Symptom:** every feature 1 bp short; boundary intersections flip; no error. **Fix:** `start - 1, end unchanged`; test the round-trip on a 1 bp feature.\n\n### Chrom-name mismatch\n**Trigger:** intersecting `chr`-prefixed against bare-numeral files. **Mechanism:** chrom strings never match. **Symptom:** valid empty\u002Fzero result presented as biology. **Fix:** harmonize naming across all files and genome.txt before any cross-file op.\n\n### Lexicographic-vs-version sort under `-sorted`\n**Trigger:** two inputs sorted in different chromosome orders. **Mechanism:** sweep-line assumes one shared order and concludes chroms passed each other. **Symptom:** modern bedtools errors out (`chromomsome sort ordering ... is inconsistent`, exit 1); pre-2.25 silently dropped chr10-chr22 and favored low chroms. **Fix:** sort both identically or pass `-g genome.txt`; omit `-sorted` for one-off work.\n\n### CRLF line endings\n**Trigger:** file authored\u002Fround-tripped through Windows\u002FExcel. **Mechanism:** `\\r` glues onto the last field. **Symptom:** \"not an integer\" or cryptic last-column errors; works in some tools. **Fix:** `dos2unix` or `sed 's\u002F\\r$\u002F\u002F'`; never edit BED in Excel.\n\n### Stale \u002F generic genome file\n**Trigger:** a downloaded chrom.sizes that does not match the aligned FASTA. **Mechanism:** missing contigs or wrong lengths. **Symptom:** `slop`\u002F`complement` run off real ends or drop contigs; `-sorted` order breaks. **Fix:** regenerate from the exact reference FASTA.\n\n### pyranges 0.x idioms on pyranges1\n**Trigger:** running 0.x method\u002Fattribute names against the `pyranges1` rewrite. **Mechanism:** the rewrite renamed methods and changed DataFrame access. **Symptom:** AttributeError. **Fix:** check `pyranges.__version__` and use the matching API.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| Required minimum 3 columns (BED3) | UCSC\u002Fhts-specs BEDv1 | chrom\u002Fstart\u002Fend; field count identical on every line |\n| BED `score` integer 0-1000 | UCSC spec | maps to browser gray shade; analysis tools tolerate out-of-range, browser clamps |\n| narrowPeak\u002FbroadPeak `-1` in pValue\u002FqValue\u002Fpeak | ENCODE narrowPeak.as | means \"not assigned\", NOT a real value (e.g. p=0.1 or summit at offset 0) |\n| Convention shift: start - 1, end unchanged | BED 0-based vs GFF\u002FVCF 1-based | only the start moves; ends coincide at the shared boundary |\n| makewindows window\u002Fstep (e.g. -w 10000 -s 5000) | analysis choice | resolution vs file size; state the size used, do not default silently |\n| tabix BED needs `-p bed` (or `-0`) | tabix default is 1-based | `-p bed` sets chrom\u002Fstart\u002Fend cols and 0-based interpretation |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| Empty intersect \u002F \"no overlap\" | chrom naming mismatch (`chr1` vs `1`, `chrM` vs `MT`) | harmonize naming across all files + genome.txt |\n| Every feature 1 bp short | converted 1-based->BED without the start-1 (or subtracted from both) | `start - 1, end unchanged`; verify on a 1 bp feature |\n| Every coordinate shifted one column right | UCSC MySQL\u002F`SELECT *` table dump prepends a `bin` column (hierarchical binning index, Kent 2002) | drop field 1 before feeding bedtools: `cut -f2-` |\n| `-sorted` errors or (old bedtools) favors low chroms | lexicographic vs version sort mismatch | sort both identically or pass `-g genome.txt`; or drop `-sorted` |\n| \"not an integer\" on the last column | CRLF line endings | `dos2unix` \u002F `sed 's\u002F\\r$\u002F\u002F'` |\n| Negative start \u002F past-chrom-end after slop | missing or stale genome file | regenerate genome.txt from the aligned FASTA |\n| `bedToBigBed`\u002F`tabix` errors | unsorted input or track lines present | `sort -k1,1 -k2,2n`; strip `track`\u002F`browser`\u002F`#` lines |\n| pyranges AttributeError | 0.x vs pyranges1 API mismatch | check `pyranges.__version__`, use matching method names |\n\n## References\n\n- Quinlan AR, Hall IM. 2010. BEDTools: a flexible suite of utilities for comparing genomic features. *Bioinformatics* 26:841-842.\n- Dale RK, Pedersen BS, Quinlan AR. 2011. Pybedtools: a flexible Python library for manipulating genomic datasets and annotations. *Bioinformatics* 27:3423-3424.\n- Stovner EB, Sætrom P. 2020. PyRanges: efficient comparison of genomic intervals in Python. *Bioinformatics* 36:918-919.\n- Kent WJ, Sugnet CW, Furey TS, et al. 2002. The Human Genome Browser at UCSC. *Genome Res* 12:996-1006.\n- The Browser Extensible Data (BED) format, hts-specs BEDv1. samtools.github.io\u002Fhts-specs\u002FBEDv1.pdf.\n- UCSC Genome Browser FAQ: Data File Formats. genome.ucsc.edu\u002FFAQ\u002FFAQformat.html.\n\n## Related Skills\n\n- interval-arithmetic - Set operations (intersect\u002Fmerge\u002Fsubtract) on the intervals defined here\n- gtf-gff-handling - 1-based annotation parsing and the parent\u002Fchild gene-model hierarchy\n- coverage-analysis - Per-base depth that becomes bedGraph intervals\n- alignment-files\u002Fsam-bam-basics - BAM-to-BED conversion and the SAM-1-based vs BAM-0-based distinction\n- variant-calling\u002Fvcf-basics - VCF POS (1-based) to BED conversion and indel left-anchoring\n","## Version Compatibility\n\nReference examples tested with: bedtools 2.31+, pybedtools 0.10+, pyranges 0.x (the `pyranges1` rewrite ships as a separate package), samtools 1.19+, pandas 2.2+, UCSC liftOver \u002F CrossMap 0.7+ (the bare `CrossMap` entry point replaced `CrossMap.py` at 0.7.0).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n\npyranges has a major-version API split: pyranges 0.x and the `pyranges1` rewrite differ in method names and DataFrame access; both keep `Chromosome\u002FStart\u002FEnd` columns and 0-based half-open coordinates. Check `import pyranges; pyranges.__version__` before chaining methods. Operations that need chromosome lengths (`slop`, `complement`, `shuffle`, `makewindows -g`, `-sorted` ordering) require a genome\u002Fchrom.sizes file. If code throws an error, introspect the installed tool and adapt rather than retrying.\n\n# BED File Basics\n\n**\"Work with this interval file without shifting everything by one base\"** -> Establish the coordinate convention from the format, read\u002Fcreate\u002Fvalidate\u002Fsort the intervals, and convert across format boundaries with the correct base shift.\n- CLI: `bedtools sort -i in.bed`, `bedtools getfasta`, `bedtools makewindows -g genome.txt -w 10000`, `sort -k1,1 -k2,2n`\n- Python: `pybedtools.BedTool('in.bed')`, `pr.read_bed('in.bed')` (pyranges), `pd.read_csv(sep='\\t', comment='#')`\n\n## The Single Most Important Modern Insight -- A Coordinate Is a Bare Integer With No Self-Describing Convention\n\nA `start` column is just an `int`. Nothing in the file says whether it is 0-based or 1-based, so the convention lives in the analyst's head, keyed off the **format**, not the data. BED is 0-based half-open `[start, end)`; GTF\u002FGFF, SAM, VCF, and wiggle are 1-based fully-closed `[start, end]`. Three load-bearing consequences:\n\n1. **The conversion is `start - 1, end unchanged` -- and it throws no error if wrong.** A botched convention shift still parses, still runs, and silently shifts every answer by one base: gene bodies 1 bp short, boundary SNPs flipping in\u002Fout, exact-edge intersections toggling. The end is numerically identical between BED-half-open and GFF-closed because GFF's last *included* base and BED's first *excluded* position are the same boundary. The symmetry instinct (subtract 1 from both) is the classic bug. The reflex: convert `start_bed = start_1based - 1` (end unchanged) and **test the round-trip on a 1 bp feature** -- BED `chr1 5 6` == GFF `chr1 6 6`, both one base. Length is `end - start` in BED (no `+1`); `end - start + 1` in GTF.\n\n2. **The two truly silent file failures.** (a) **Chrom-name mismatch** (`chr1` vs `1`, `chrM` vs `MT`): intersecting a `chr`-prefixed file against a bare-numeral one yields a perfectly valid **empty** result -- \"no overlap\" looks like biology, not a bug. Confirm shared naming (`cut -f1 a.bed | sort -u`) before any cross-file op. (b) **CRLF line endings** from Excel\u002FWindows glue `\\r` onto the last field (`end` becomes `\"100\\r\"`); the tell is \"works for some tools, breaks for others.\" `cat -A` shows `^M$`; fix with `dos2unix`. Never open a BED in Excel -- it date-mangles `SEPT9`->`9-Sep` and float-truncates large coordinates.\n\n3. **bedtools `-sorted` assumes both inputs share the SAME chromosome order.** With a lexicographic (`chr1, chr10, chr2`) vs version (`chr1, chr2, chr10`) sort mismatch, modern bedtools (>=~2.25) detects the inconsistency and **errors out** (exit 1, `chromomsome sort ordering ... is inconsistent`); older versions silently swept past and **dropped chr10-chr22**. Either sort both files with the identical command, or pass `-g genome.txt` (derived from the same reference FASTA) to pin the expected order. For one-off work, omit `-sorted` (the in-memory path tolerates any order). The mismatch that stays SILENT on every version is a chromosome-NAME difference (`chr1` vs `1`), which returns an empty result with no error.\n\n## Tool Taxonomy\n\n| Tool | Role | Mechanism | When |\n|------|------|-----------|------|\n| bedtools | CLI interval algebra (Quinlan 2010 *Bioinformatics* 26:841) | streaming, sorted-input reference implementation | shell pipelines, large files, reproducible one-liners |\n| pybedtools | Python wrapper over bedtools (Dale 2011 *Bioinformatics* 27:3423) | shells out per op; BedTool objects + iterators | inside a Python analysis; chaining with pandas |\n| pyranges | pure-Python interval engine (Stovner 2020 *Bioinformatics* 36:918) | vectorized PyRanges\u002Fpandas, no bedtools binary | large in-memory joins, dataframe-native workflows |\n| pandas | flat tabular read | `read_csv(sep='\\t')`; knows NO coordinate semantics | quick filter\u002Finspect; the analyst enforces 0-based + sort manually |\n| UCSC bedToBigBed \u002F tabix | indexed\u002Fcompressed BED for random access | requires `sort -k1,1 -k2,2n`, no track lines | browser tracks, region queries on huge files |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Quick create\u002Fsort\u002Ffilter on the command line | bedtools + coreutils `sort -k1,1 -k2,2n` | no Python overhead; reproducible |\n| Inside a pandas\u002FPython pipeline | pybedtools or pyranges | stays in-process; pyranges if no bedtools binary |\n| Convert VCF\u002FGTF\u002FSAM positions to BED | subtract 1 from start, end unchanged | the convention boundary; test on a 1 bp feature |\n| Empty intersect \u002F \"no overlap found\" | check chrom naming (`chr1` vs `1`) FIRST | the most common silent null result |\n| Using `-sorted` for speed\u002FRAM | sort both files identically, or pass `-g genome.txt` | modern bedtools errors on a lexicographic-vs-version mismatch; old versions dropped chroms silently |\n| Need chromosome lengths (slop\u002Fcomplement\u002Fwindows) | generate genome.txt from the SAME FASTA | a stale\u002Fgeneric chrom.sizes rots slop\u002Fcomplement |\n| Set operations on these intervals | -> interval-arithmetic | this skill is the format\u002Fcoordinate substrate |\n| Parse a GTF\u002FGFF gene model | -> gtf-gff-handling | 1-based, parent\u002Fchild hierarchy, not a flat BED |\n| Peaks not yet called | -> chip-seq\u002Fpeak-calling or atac-seq\u002Fatac-peak-calling | this category operates on existing intervals |\n| Convert between assemblies (hg19\u003C->hg38) | liftOver\u002FCrossMap, report unmapped | a different problem from convention shifts |\n\n## BED Columns (BED3 -> BED12)\n\nThe first 3 fields are required; the rest are optional but **positional** (cannot supply field N without 1..N-1), and the field count must be identical on every line.\n\n```\nBED3   chrom  start  end\nBED4   + name\nBED5   + score (int 0-1000; '.' allowed)\nBED6   + strand (+\u002F-\u002F.)            # the common stranded-interval form\nBED12  + thickStart thickEnd itemRgb blockCount blockSizes blockStarts   # transcript\u002Fexon models\n```\n\nnarrowPeak is **BED6+4** (`signalValue pValue qValue peak`); broadPeak is **BED6+3** (drops `peak`). The `peak` column is a **0-based offset from chromStart** (absolute summit = `chromStart + peak`), `-1` if none; `pValue`\u002F`qValue` are `-log10` scaled with `-1` meaning \"not assigned\", NOT p=0.1.\n\n## Create and Read BED Files\n\n```python\nimport pybedtools\nimport pandas as pd\n\nintervals = [('chr1', 100, 200, 'peak1', 100, '+'), ('chr1', 300, 400, 'peak2', 200, '-')]\nbed = pybedtools.BedTool(intervals)                                       # from list of tuples\nbed = pybedtools.BedTool.from_dataframe(pd.read_csv('peaks.tsv', sep='\\t'))  # from a DataFrame\nbed.saveas('peaks.bed')\n\nfor iv in pybedtools.BedTool('peaks.bed'):\n    print(iv.chrom, iv.start, iv.end, len(iv))   # start\u002Fend are ints; len(iv) == end - start\ndf = pybedtools.BedTool('peaks.bed').to_dataframe(names=['chrom', 'start', 'end', 'name', 'score', 'strand'])\n```\n\npandas reads BED as a flat table but knows nothing about coordinates: `pd.read_csv('in.bed', sep='\\t', header=None, comment='#')` -- the analyst enforces 0-based and sorts manually.\n\n## Generate the Genome \u002F chrom.sizes File\n\n**Goal:** Produce the authoritative chromosome-length file that `slop`, `complement`, `shuffle`, `makewindows -g`, and `-sorted` ordering depend on.\n\n**Approach:** Index the exact reference FASTA the rest of the pipeline used and take its first two columns -- never download a generic `hg38.chrom.sizes` and hope it matches the assembly the BAM was aligned to.\n\n```bash\nsamtools faidx ref.fa\ncut -f1,2 ref.fa.fai > genome.txt   # chrom\u003CTAB>size; bedtools reads only the first 2 cols, accepts the .fai directly\n```\n\n## Convert Across Format Boundaries\n\n**Goal:** Move positions between BED and VCF\u002FSAM\u002FGTF\u002FBAM without an off-by-one.\n\n**Approach:** Subtract 1 from the 1-based start (end unchanged) going TO BED; for BAM, let bedtools do the conversion; verify a known single-base landmark afterwards.\n\n```bash\ngrep -v '^#' in.vcf | awk 'BEGIN{OFS=\"\\t\"} {print $1, $2-1, $2}' > variants.bed   # VCF POS (1-based) -> BED; start-1\nbedtools bamtobed -i in.bam > alignments.bed                                       # bedtools handles the convention\nbedtools bamtobed -i in.bam -split > spliced.bed                                   # split spliced reads into blocks\nbedtools getfasta -fi ref.fa -bed in.bed -name -fo out.fa                          # extract sequence (uses the .fai)\n```\n\n## Sort, Validate, and Make Windows\n\n```bash\nbedtools sort -i in.bed > sorted.bed                 # lexicographic, == sort -k1,1 -k2,2n\nbedtools sort -i in.bed -faidx names.txt > sorted.bed  # reorder to an arbitrary reference contig order\nawk -F'\\t' '{print NF}' in.bed | sort -u             # field count consistent? (one value expected)\nawk -F'\\t' '$2 \u003C 0 || $2 >= $3' in.bed               # negative or inverted intervals (bedtools also errors on these)\ncut -f1 in.bed | sort -u                             # chromosome names (compare against the partner file)\nbedtools makewindows -g genome.txt -w 10000 -s 5000 -i winnum > windows.bed   # 10 kb sliding windows, step 5 kb, numbered\n```\n\n## Cross-Assembly Liftover (a different problem from convention conversion)\n\n**Goal:** Move coordinates between genome builds (hg19\u003C->hg38, mm10\u003C->mm39) - which is remapping to a different reference, NOT the 0-based\u002F1-based convention shift above.\n\n**Approach:** Map intervals through a chain file with UCSC `liftOver` (BED) or CrossMap (BED\u002FVCF\u002FGFF\u002FBAM\u002FbigWig), and ALWAYS inspect the unmapped file - regions that fail to map (assembly gaps, rearrangements, split\u002Fmerged contigs) are dropped, and silently ignoring them biases everything downstream.\n\n```bash\nliftOver in.hg19.bed hg19ToHg38.over.chain.gz out.hg38.bed unmapped.bed   # UCSC; chain from UCSC goldenPath\nwc -l unmapped.bed                                                         # NEVER skip: dropped regions are not random\nCrossMap bed GRCh37_to_GRCh38.chain.gz in.bed > out.bed                    # CrossMap also does vcf\u002Fgff\u002Fbam\u002Fbigwig\n```\n\nA coordinate is meaningless without its assembly just as it is meaningless without its convention - record the build (and the chain provenance) alongside the file. Liftover is many-to-one and one-to-none in places; never assume a 1:1 round-trip.\n\n## BED12 Block Invariants\n\nBED12 is a referentially-integral structure, not a flat table. `blockStarts` are **offsets from chromStart**, not absolute coordinates; the **first blockStart must be 0**; `blockStarts[last] + blockSizes[last]` must equal `chromEnd - chromStart`; blocks are ascending and non-overlapping. `thickStart\u002FthickEnd` (the CDS) are absolute and independent of the blocks -- a non-coding feature sets both to `chromStart`. Validate by reconstructing absolute exon coordinates (`chromStart + blockStarts[i]`) and confirming they fall inside `[chromStart, chromEnd]`; `bedtools bed12tobed6` explodes a model into per-exon BED6 as a quick sanity reconstruction.\n\n## Per-Method Failure Modes\n\n### Off-by-one at a convention boundary\n**Trigger:** treating a GTF\u002FVCF 1-based `start` as a BED `chromStart`. **Mechanism:** the convention is not stored in the data. **Symptom:** every feature 1 bp short; boundary intersections flip; no error. **Fix:** `start - 1, end unchanged`; test the round-trip on a 1 bp feature.\n\n### Chrom-name mismatch\n**Trigger:** intersecting `chr`-prefixed against bare-numeral files. **Mechanism:** chrom strings never match. **Symptom:** valid empty\u002Fzero result presented as biology. **Fix:** harmonize naming across all files and genome.txt before any cross-file op.\n\n### Lexicographic-vs-version sort under `-sorted`\n**Trigger:** two inputs sorted in different chromosome orders. **Mechanism:** sweep-line assumes one shared order and concludes chroms passed each other. **Symptom:** modern bedtools errors out (`chromomsome sort ordering ... is inconsistent`, exit 1); pre-2.25 silently dropped chr10-chr22 and favored low chroms. **Fix:** sort both identically or pass `-g genome.txt`; omit `-sorted` for one-off work.\n\n### CRLF line endings\n**Trigger:** file authored\u002Fround-tripped through Windows\u002FExcel. **Mechanism:** `\\r` glues onto the last field. **Symptom:** \"not an integer\" or cryptic last-column errors; works in some tools. **Fix:** `dos2unix` or `sed 's\u002F\\r$\u002F\u002F'`; never edit BED in Excel.\n\n### Stale \u002F generic genome file\n**Trigger:** a downloaded chrom.sizes that does not match the aligned FASTA. **Mechanism:** missing contigs or wrong lengths. **Symptom:** `slop`\u002F`complement` run off real ends or drop contigs; `-sorted` order breaks. **Fix:** regenerate from the exact reference FASTA.\n\n### pyranges 0.x idioms on pyranges1\n**Trigger:** running 0.x method\u002Fattribute names against the `pyranges1` rewrite. **Mechanism:** the rewrite renamed methods and changed DataFrame access. **Symptom:** AttributeError. **Fix:** check `pyranges.__version__` and use the matching API.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| Required minimum 3 columns (BED3) | UCSC\u002Fhts-specs BEDv1 | chrom\u002Fstart\u002Fend; field count identical on every line |\n| BED `score` integer 0-1000 | UCSC spec | maps to browser gray shade; analysis tools tolerate out-of-range, browser clamps |\n| narrowPeak\u002FbroadPeak `-1` in pValue\u002FqValue\u002Fpeak | ENCODE narrowPeak.as | means \"not assigned\", NOT a real value (e.g. p=0.1 or summit at offset 0) |\n| Convention shift: start - 1, end unchanged | BED 0-based vs GFF\u002FVCF 1-based | only the start moves; ends coincide at the shared boundary |\n| makewindows window\u002Fstep (e.g. -w 10000 -s 5000) | analysis choice | resolution vs file size; state the size used, do not default silently |\n| tabix BED needs `-p bed` (or `-0`) | tabix default is 1-based | `-p bed` sets chrom\u002Fstart\u002Fend cols and 0-based interpretation |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| Empty intersect \u002F \"no overlap\" | chrom naming mismatch (`chr1` vs `1`, `chrM` vs `MT`) | harmonize naming across all files + genome.txt |\n| Every feature 1 bp short | converted 1-based->BED without the start-1 (or subtracted from both) | `start - 1, end unchanged`; verify on a 1 bp feature |\n| Every coordinate shifted one column right | UCSC MySQL\u002F`SELECT *` table dump prepends a `bin` column (hierarchical binning index, Kent 2002) | drop field 1 before feeding bedtools: `cut -f2-` |\n| `-sorted` errors or (old bedtools) favors low chroms | lexicographic vs version sort mismatch | sort both identically or pass `-g genome.txt`; or drop `-sorted` |\n| \"not an integer\" on the last column | CRLF line endings | `dos2unix` \u002F `sed 's\u002F\\r$\u002F\u002F'` |\n| Negative start \u002F past-chrom-end after slop | missing or stale genome file | regenerate genome.txt from the aligned FASTA |\n| `bedToBigBed`\u002F`tabix` errors | unsorted input or track lines present | `sort -k1,1 -k2,2n`; strip `track`\u002F`browser`\u002F`#` lines |\n| pyranges AttributeError | 0.x vs pyranges1 API mismatch | check `pyranges.__version__`, use matching method names |\n\n## References\n\n- Quinlan AR, Hall IM. 2010. BEDTools: a flexible suite of utilities for comparing genomic features. *Bioinformatics* 26:841-842.\n- Dale RK, Pedersen BS, Quinlan AR. 2011. Pybedtools: a flexible Python library for manipulating genomic datasets and annotations. *Bioinformatics* 27:3423-3424.\n- Stovner EB, Sætrom P. 2020. PyRanges: efficient comparison of genomic intervals in Python. *Bioinformatics* 36:918-919.\n- Kent WJ, Sugnet CW, Furey TS, et al. 2002. The Human Genome Browser at UCSC. *Genome Res* 12:996-1006.\n- The Browser Extensible Data (BED) format, hts-specs BEDv1. samtools.github.io\u002Fhts-specs\u002FBEDv1.pdf.\n- UCSC Genome Browser FAQ: Data File Formats. genome.ucsc.edu\u002FFAQ\u002FFAQformat.html.\n\n## Related Skills\n\n- interval-arithmetic - Set operations (intersect\u002Fmerge\u002Fsubtract) on the intervals defined here\n- gtf-gff-handling - 1-based annotation parsing and the parent\u002Fchild gene-model hierarchy\n- coverage-analysis - Per-base depth that becomes bedGraph intervals\n- alignment-files\u002Fsam-bam-basics - BAM-to-BED conversion and the SAM-1-based vs BAM-0-based distinction\n- variant-calling\u002Fvcf-basics - VCF POS (1-based) to BED conversion and indel left-anchoring\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","mixed","2026-09-20","genome-intervals\u002Fbed-file-basics\u002FSKILL.md","bedtools","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-genome-intervals-bed-file-basics","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-genome-intervals-bed-file-basics",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-genome-intervals-bed-file-basics",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-genome-intervals-bed-file-basics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-intervals-bed-file-basics\u002FSKILL.md",true,[50,56,60],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fcreate_bed.py","SCRIPT","脚本",1438,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-intervals-bed-file-basics\u002Fexamples\u002Fcreate_bed.py",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Fvalidate_bed.sh",1836,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-intervals-bed-file-basics\u002Fexamples\u002Fvalidate_bed.sh",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"usage-guide.md","REFERENCE","参考文档",4970,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-intervals-bed-file-basics\u002Fusage-guide.md",[67,75,82,89,96,103],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":74},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":74},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":74},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":74},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":74},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]