Bio::G...gments(3pm)
π 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::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 π«Ά
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 fromperl v5.30.0, dated2019-11-25, filed under theBio::G...gments(3pm)manual. mwah π go forth and color your segments.
π¦ 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