Bio Genome Intervals Proximity Operations

Performs proximity operations on genomic intervals with bedtools (closest, window, flank, slop) and pybedtools - nearest-feature queries with signed/strand-aware distance, fixed-radius window searches, strand-aware promoter construction, and interval extension. Covers the closest -d/-D a/b/ref/-t/-k/-io/-iu/-id flags, the -D ref strand sign-flip, silent chromosome-end clipping in slop/flank, -t all tie double-counting, and the critical distinction between a geometry answer (nearest TSS) and a biology answer (which gene an element regulates). Use when assigning peaks or variants to genes, defining promoters from a gene model, building distance-to-TSS distributions, finding features within a window, or extending intervals - and when deciding whether nearest-gene is a fair prior (GWAS locus) or a trap (distal enhancer).

pku-yuangroup Updated

File contents

pku-yuangroup/openai4s/tree/main/skills/bioskills/bio-genome-intervals-proximity-operations commit bd4e0dbdba

Frequently asked questions

npx skillmds@latest add pku-yuangroup/bio-genome-intervals-proximity-operations