Ace::G...gments(3pm)
π Ace::Graphics::Glyph::segments β the "discontinuous segments" glyph
okay bestie, this is a page from the User Contributed Perl Documentation for Ace::Graphics::Glyph::segments, and we're gonna get into it π
β¨ SYNOPSIS β¨
See L<Ace::Graphics::Panel> and L<Ace::Graphics::Glyph>.
like, that's the whole synopsis, she's lowkey minimal, iconic behavior honestly π
πΈ DESCRIPTION πΈ
so this glyph draws a sequence feature that consists of multiple discontinuous segments β think the exons on a transcript, or a gapped alignment. the way it shows up on screen is a whole row of filled rectangles connected together by line segments, like little beads on a string fr fr π§
and here's the vibe check on what you're allowed to feed it: the features you pass in must be one of these two flavors β
- they respond to the
Bio::SequenceFeatureI-stylesubSeqFeatures()method, or - they respond to the
AcePerl/Das-stylesegments()ormerged_segments()methods
that's it, that's the guest list, no plus-ones π
π OPTIONS π
on top of all the common options (iykyk), this glyph also recognizes the -stranded argument. here's the tea:
-strandedβ if it's true and the feature is an alignment (meaning: it has thetarget()method), then the glyph will draw little arrows inside the segment boxes to show off which direction the alignment is going β‘οΈβ¨
so cute, so functional, we love a glyph that communicates.
π BUGS π
Please report them.
(not me, not the glyph, them β the bugs. go snitch. it's giving responsible user π«Ά)
π SEE ALSO π
Ace::SequenceAce::Sequence::FeatureAce::Graphics::PanelAce::Graphics::TrackAce::Graphics::Glyph::anchored_arrowAce::Graphics::Glyph::arrowAce::Graphics::Glyph::boxAce::Graphics::Glyph::primersAce::Graphics::Glyph::segmentsAce::Graphics::Glyph::toomanyAce::Graphics::Glyph::transcript
yes she cited herself in her own SEE ALSO. main character energy, periodt π
β¨ AUTHOR β¨
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.
fr fr, read the license, don't skip it, that's the whole point of it being there π
and that's the page!! this was perl v5.42.3, dated 2026-08-19, and it's giving "old but still serving" β thanks for reading bestie, go draw some exons ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: libace-perl 1.92-14build1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms