BP_TREE2PAG(1p)
π BP_TREE2PAG π
ok so bestie. this is a page from the User Contributed Perl Documentation collection, and it's about a lil script called bp_tree2pag. buckle up, it's short and it's slay π
β¨ NAME β¨
bp_tree2pag β convert Bio::TreeIO parseable format trees to pagel format π³β‘οΈπΈ
π SYNOPSIS π
ok so here's the vibe, three whole ways to run it:
bp_tree2pag -if nexus -i file.nexus > file.pag
or, bestie, you can pipe it in through STDIN and switch to newick format instead:
cat file.newick | bp_tree2pag -if newick > file.nh
or you can just specify an output and an input, main character energy:
bp_tree2pag -o file.pag -i file.newick
π¦ DESCRIPTION π¦
so what does it actually do? it converts TreeIO parseable files into Pagel format tree files. literally that's the whole job and it does it π
β οΈ okay but listen, be warned: pagel format only really supports a single tree per file, so. yeah. one tree. that's the limit. don't come for me.
π also, Pagel parsing is not yet available in bioperl. so like, reading it back? not yet a thing. noted. periodt.
anyway that's the whole page, short and sweet like a lil snack π this cutie was documented as part of perl v5.32.1, dated 2021-08-15, mwah π bye bestie!! π«Άβ¨
π¦ where this page comes from
- debian bookworm: bioperl 1.7.8-1 Β· Perl
- debian trixie: bioperl 1.7.8-1 Β· Perl
- ubuntu jammy: bioperl 1.7.8-1 Β· Perl
- ubuntu noble: bioperl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms