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

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

πŸ‘‘ NAME πŸ‘‘

okay bestie, listen up β€” this is Bio::Graphics::Glyph::heterogeneous_segments, the "heterogeneous_segments" glyph. that's it, that's the name. (it lives in the perl docs, section 3pm, iykyk πŸ’…)


✨ SYNOPSIS ✨

no wild args to memorize here, we're just sending you to the vibes:

See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>.

🌸 DESCRIPTION 🌸

so this glyph is literally graded_segments's cooler sibling πŸ’– β€” it does the same thing, but you get to set the bgcolor of each segment (aka each sub-feature) individually, by using the source field of the feature. per-segment glow-up, no cap.

every segment type gets its color via this exact naming scheme:

-{source}_color => $color

fr fr. so like β€” say your feature is a gene with both confirmed and unconfirmed exons, and you wanna make the confirmed ones green and the unconfirmed ones red? here's the move:

-confirmed_color   => 'green',
-unconfirmed_color => 'red'

slay. that's the whole trick πŸŽ€

πŸ¦‹ OPTIONS πŸ¦‹

these ones are standard across all the Glyphs β€” they're the shared group-chat rules. see Bio::Graphics::Glyph for the full breakdown.

  • -fgcolor β€” Foreground color β€” default: black
  • -outlinecolor β€” Synonym for -fgcolor
  • -bgcolor β€” Background color β€” default: turquoise
  • -fillcolor β€” Synonym for -bgcolor
  • -linewidth β€” Line width β€” default: 1
  • -height β€” Height of glyph β€” default: 10
  • -font β€” Glyph font β€” default: gdSmallFont
  • -connector β€” Connector type β€” default: 0 (false)
  • -connector_color β€” Connector color β€” default: black
  • -label β€” Whether to draw a label β€” default: 0 (false)
  • -description β€” Whether to draw a description β€” default: 0 (false)
  • -hilite β€” Highlight color β€” default: undef (no color)

πŸ’€ BUGS πŸ’€

found a bug? not the vibe. Please report them. πŸ™ˆ


🌈 SEE ALSO 🌈

the whole friend group, go say hi:

  • 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 🫢

main character who wrote this: Lincoln Stein <lstein@cshl.org> ✨

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. (yes that means what it means, bestie β€” same terms as Perl, periodt πŸ’…)


and that's a wrap! this whole page is from perl v5.30.0, dated 2019-11-25, filed under the Bio::G...gments(3pm) manual. mwah πŸ’– go forth and color your segments.
πŸ“¦ where this page comes from