FUSE-SEGMENTS(1)

✨ FUSE-SEGMENTS ✨

okay bestie, welcome to the NCBI Entrez Direct User's Manual πŸ’– this one's a lil baby page but it's so useful, trust.

🌸 NAME 🌸

fuse-segments β€” the girl who takes adjacent or overlapping integral segments and squishes them together into one πŸ’… consolidation queen behavior, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

fuse-segments

that's it. that's the whole vibe. no flags, no arguments, no notes πŸŽ€ she just runs.


🌈 DESCRIPTION 🌈

so here's the tea β˜• fuse-segments reads a tab-delimited table from standard input, okay? and the first two columns of that table β€” and honestly they might be the only two columns, she's not judging β€” contain the endpoints of integral segments πŸ‘‘

then she does her thing: she consolidates adjacent or overlapping segments ✨ like, if two of them are touching or stepping on each other's toes, boom, fused. one segment. iconic.

and then she writes the result out to standard output 🫢 in the same general format as before, except:

  • all the segments come out in forward order ⭐ (no chaos, we love order here)
  • and there's only a length column riding along with the endpoints β€” that's it, that's the whole accompaniment πŸŽ€
no cap: the output is a tab-delimited table too, just tidier and fused. she ate and left no crumbs fr fr πŸ’€

πŸ’œ SEE ALSO πŸ’œ

go read those next bestie, iykyk 😭


NCBI Β· 2023-02-05 β€” that's the source, the date, and the whole manual page name right there πŸ¦‹ mwah, love u, go fuse some segments πŸ’–βœ¨πŸ‘‘