SEARCH_OVERVIEW(1p)
π SEARCH_OVERVIEW β no cap, it's giving graphics π
bestie, welcome to SEARCH_OVERVIEW(1p) from the User Contributed Perl Documentation β yes that's the whole manual name, we're being β¨officialβ¨ today.
πΈ NAME πΈ
search_overview β Render a SearchIO parser report into a simple overview graphic
π¦ SYNOPSIS π¦
search_overview -i filename [-f format] [-o outputfilename] [--labels]
π DESCRIPTION π
okay so here's the vibe: this script takes any Bio::SearchIO-parseable report and turns it into a cute lil overview graphic of that report. literally any of them. For our purposes we're assuming BLAST and the BLAST scores when assigning colors, just so you know where the color math is coming from. Output is a PNG format file. periodt.
ngl this is not meant to be an overly customized script β it's more of a quick and dirty look at a report, or a starting point for more complicated implementations. main character energy, but make it minimal. π
The color is determined by the hit score, which is currently pegged to the NCBI scheme and looks like this:
REDβ>= 200PURPLEβ80-200GREENβ50-80BLUEβ40-50BLACKβ< 40
β¨ OPTIONS β¨
-i/--inputβ the input filename, otherwise input is assumed fromSTDIN. π«Ά-o/--outputβ the output filename. this one is optional! if you do not provide the output filename, the script will create a file using the name of the query sequence and will process all the sequences in the file. but if an output filename IS provided, the script will only display an image for the first one. (yes, that's the whole trade-off, iykyk.)-f/--formatβ the SearchIO format parser to use. if not provided, SearchIO will guess based on the file extension. she's intuitive like that. π§-l/--labelsβ display the hit sequence name as a label in the overview. for lots of sequences this will make the image very long π so by default it is turned off.
π AUTHOR π
Jason Stajich
Jason Stajich, jason[-at-]open-bio[-dot-]org.
ok and that's the whole page bestie, we ate and left no crumbs π this wasperl v5.30.0from2019-11-25β go forth and render those reports, mwah π
π¦ 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