Bio::G...script(3pm)
π Bio::G...script β the "transcript" glyph π
okay bestie, so this page is from the User Contributed Perl Documentation collection, and it's about one specific little glyph in the Bio::Graphics universe. pull up a chair, we're doing biology-adjacent graphics and it's gonna be cute πΈ
β¨ NAME β¨
Bio::Graphics::Glyph::transcript β literally The "transcript" glyph. that's the whole name. iconic, concise, no notes π
π SYNOPSIS π
See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>.
like, that's it. that's the synopsis. go read those two if you want the full picture, this page is just the one glyph π¦
π DESCRIPTION π
So this glyph is the one you reach for when you wanna draw transcripts. and ngl, under the hood it's basically a "segments" glyph β except the bits that connect everything together are hats. yes, hats. it's giving "dressed up for the occasion" π
and because a transcript has a direction (it's not just vibes, it has orientation), there's an arrow attached to the end of the glyph pointing which way it goes. main character energy, honestly.
π OPTIONS π
first up, the standard options β every Glyph has these, they're universal. if you want the full deep-dive explanation, Bio::Graphics::Glyph is right there, go check it. but here's the rundown for this glyph:
-fgcolorβ the foreground color. default:blackπ€-outlinecolorβ a synonym for-fgcolor. same thing, different name, we love options.-bgcolorβ the background color. default:turquoiseπ (slay)-fillcolorβ a synonym for-bgcolor. yep, another alias, they're twins.-linewidthβ the line width. default:1-heightβ height of glyph. default:10-fontβ the glyph font. default:gdSmallFont-connectorβ the connector type. default:0(false)-connector_colorβ the connector color. default:black-labelβ whether to draw a label. default:0(false)-descriptionβ whether to draw a description. default:0(false)-hiliteβ the highlight color. default:undef(no color)
ok wait, the original page literally says "the alignment glyph recognizes the following glyph-specific options" β which, bestie, is a lil typo situation in the source. we're keeping it exactly as written because facts are facts, but just so you know: these are the options for this glyph π
and in addition, there's one glyph-specific option:
-arrow_lengthβ the length of the directional arrow. default:8πΉ
π«Ά BUGS π«Ά
Please report them. that's the whole vibe. if you find a bug, don't suffer in silence, tell someone β you deserve better and so does the code π
π SEE ALSO π
the whole friend group, in order:
Bio::Graphics::PanelBio::Graphics::GlyphBio::Graphics::Glyph::arrowBio::Graphics::Glyph::cdsBio::Graphics::Glyph::crossboxBio::Graphics::Glyph::diamondBio::Graphics::Glyph::dnaBio::Graphics::Glyph::dotBio::Graphics::Glyph::ellipseBio::Graphics::Glyph::extending_arrowBio::Graphics::Glyph::genericBio::Graphics::Glyph::graded_segmentsBio::Graphics::Glyph::heterogeneous_segmentsBio::Graphics::Glyph::lineBio::Graphics::Glyph::pinsertionBio::Graphics::Glyph::primersBio::Graphics::Glyph::rndrectBio::Graphics::Glyph::segmentsBio::Graphics::Glyph::ruler_arrowBio::Graphics::Glyph::toomanyBio::Graphics::Glyph::transcriptBio::Graphics::Glyph::transcript2Bio::Graphics::Glyph::translationBio::Graphics::Glyph::triangleBio::DB::GFFBio::SeqIBio::SeqFeatureIBio::DasGD
π AUTHOR π
Lincoln Stein <lstein@cshl.org> β absolute legend, credit where credit is due π«‘
Copyright (c) 2001 Cold Spring Harbor Laboratory
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.
like, free software besties. go wild, but read DISCLAIMER.txt first, no cap π
and that's the page! this one's from perl v5.30.0, dated 2019-11-25, and honestly it still holds up. love that for us πβ¨ mwah, go draw some transcripts π§
π¦ where this page comes from
- debian bookworm: libbio-graphics-perl 2.40-6 Β· Perl
- debian trixie: libbio-graphics-perl 2.40-6 Β· Perl
- ubuntu jammy: libbio-graphics-perl 2.40-6 Β· Perl
- ubuntu noble: libbio-graphics-perl 2.40-6 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms