Bio::G...::gene(3pm)
π NAME π
okay so bestie, welcome to Bio::G...::gene(3pm) β it's a page from the User Contributed Perl Documentation and it's literally all about Bio::Graphics::Glyph::gene, a GFF3-compatible gene glyph. no cap. π§¬β¨
πΈ SYNOPSIS πΈ
See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>.
like, that's the whole synopsis, go read those two if you want the lore ππ«Ά
π¦ DESCRIPTION π¦
So this glyph is the one you pull out when you're drawing genes that might have alternatively-spliced transcripts. π The different isoforms get stacked on top of each other and share one single label and description that applies to the whole entire stack β main character energy, honestly. π
Each individual transcript's name is optionally printed to the left of the transcript glyph, if you want that. π
Transcripts (that's the splice isoforms) get drawn using the processed_transcript glyph. The CDS features are drawn in the background color, and the UTRs are drawn in an alternate color that you pick with the utr_color option. Also! You can make the UTRs thinner than the CDS by setting the "thin_utr" option. skinny legend behavior π
This glyph is designed to work properly with GFF3-style three-tier genes, where:
- the top level feature has the Sequence Ontology type
"gene" - the second level feature(s) have the SO type
"mRNA" - the third level feature(s) have the SO type
"CDS","five_prime_utr"and"three_prime_utr"
Subparts named "UTR" are also honored, periodt. β¨
The feature can contain other subparts too (think exon, intron, translation), but ngl they're currently ignored unless you supply the sub_part option. If you do use the sub_part option, that feature type gets used and the CDS and UTR features get excluded. This could be used for specifying that exons be used instead, for example. π
Oh and this glyph is a subclass of processed_transcript, so it recognizes all the same options. inherited the whole wardrobe fr π
β¨ OPTIONS β¨
These following options are standard among all Glyphs. See Bio::Graphics::Glyph for a full explanation. π
-fgcolorβ Foreground color. Default isblack.-outlinecolorβ Synonym for-fgcolor.-bgcolorβ Background color. Default isturquoise.-fillcolorβ Synonym for-bgcolor.-linewidthβ Line width. Default is1.-heightβ Height of glyph. Default is10.-fontβ Glyph font. Default isgdSmallFont.-connectorβ Connector type. Default isundef (false).-connector_colorβ Connector color. Default isblack.-labelβ Whether to draw a label. Default isundef (false).-descriptionβ Whether to draw a description. Default isundef (false).-strand_arrowβ Whether to indicate strandedness. Default isundef (false).-hiliteβ Highlight color. Default isundef (no color).
In addition, the gene glyph recognizes the following glyph-specific options: π
-label_transcriptsβ Flag. If true, then the display name of each transcript will be drawn to the left of the transcript glyph. Default isundef (false).-thin_utrβ Flag. If true, UTRs will be drawn at2/3of the height of CDS segments. Default isundef (false).-utr_colorβ Color of UTR segments. Default isGray #D0D0D0.-decorate_intronsβ Draw strand with little arrows on the intron. Default isundef (false).
π BUGS π
The SO terms are hard-coded. π They should be more flexible and should recognize ISA relationships. like... they know. they said it. we move.
π₯ SEE ALSO π₯
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 π the whole friend group fr
π 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. β
okay that's the whole page bestie, you ate that π
β¨ this was Bio::G...::gene(3pm) from perl v5.30.0, dated 2019-11-25 β go forth and draw some gorgeous three-tier genes, iykyk π¦ππ
π¦ 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