Bio::G...script(3pm)

πŸ“¦
version 2.40 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– 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::Panel
  • Bio::Graphics::Glyph
  • Bio::Graphics::Glyph::arrow
  • Bio::Graphics::Glyph::cds
  • Bio::Graphics::Glyph::crossbox
  • Bio::Graphics::Glyph::diamond
  • Bio::Graphics::Glyph::dna
  • Bio::Graphics::Glyph::dot
  • Bio::Graphics::Glyph::ellipse
  • Bio::Graphics::Glyph::extending_arrow
  • Bio::Graphics::Glyph::generic
  • Bio::Graphics::Glyph::graded_segments
  • Bio::Graphics::Glyph::heterogeneous_segments
  • Bio::Graphics::Glyph::line
  • Bio::Graphics::Glyph::pinsertion
  • Bio::Graphics::Glyph::primers
  • Bio::Graphics::Glyph::rndrect
  • Bio::Graphics::Glyph::segments
  • Bio::Graphics::Glyph::ruler_arrow
  • Bio::Graphics::Glyph::toomany
  • Bio::Graphics::Glyph::transcript
  • Bio::Graphics::Glyph::transcript2
  • Bio::Graphics::Glyph::translation
  • Bio::Graphics::Glyph::triangle
  • Bio::DB::GFF
  • Bio::SeqI
  • Bio::SeqFeatureI
  • Bio::Das
  • GD

πŸ‘‘ 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