Bio::C...Reports(3pm)
πΈ NAME πΈ
Bio::Chado::NaturalDiversity::Reports β a whole lil collection of functions that format your Chado stock data so it actually looks cute and usable π
β¨ SYNOPSIS β¨
use Bio::Chado::NaturalDiversity::Reports
my $sreport = Bio::Chado::NaturalDiversity::Reports->new;
my $data = $sreport->phenotypes_by_trait($phenotypes);
like. that's it. that's the whole vibe. go off π«Ά
π DESCRIPTION π
okay so bestie, this is a collection of functions that format Chado stock-related data into different data structures, which is lowkey so useful when you wanna pass stuff off to other programs and software. iconic behaviour honestly.
and the reason it's like this? because the Chado stock table is THE key for storing samples that get put through genotyping and phenotyping experiments, so it's main-character-adjacent to a bunch of other Chado modules, no cap:
- NaturalDiversity β for storing the experiment data
- Project β for storing the metadata about the experiments
- Phenotype β for the phenotyping values
- Genotype β for the genotyping values
This module generates several reports so you can actually get to that data without losing your mind β¨
β οΈ heads up: all the data reports heavily rely on the Natural Diversity schema. The results in each report may differ based on how the experiment data is stored in the database. it's giving "your mileage may vary" fr fr π
ngl there is no one correct way of loading phenotyping and genotyping data in this module. but there ARE some examples for 'best practice' in the GMOD Wiki, right here: http://gmod.org/wiki/Chado_Natural_Diversity_Module β go read it, it's giving helpful π
π METHODS π
π« new
Make a new Reports object. that's the whole thing. a lil baby object, fresh out the box π¦
π phenotypes_by_trait
Usage: $self->phenotypes_by_trait($phenotype_rs , { %args } )
Desc: generate a report of phenotype values by trait name/accession
Args: an arrayref of L<Bio::Chado::Schema::Result::Phenotype::Phenotype> ResultSets
[optional] list of args to filter the report. Currently supported args are
Ret: arrayref of tab delimited data
so like, what this does: it generates a report of phenotype values by trait name/accession πΈ
what you hand it: an arrayref of L<Bio::Chado::Schema::Result::Phenotype::Phenotype> ResultSets, plus β optionally β a list of args to filter the report. Currently supported args areβ¦ and then it just. doesn't say. the list is empty bestie, that's just how the page is, we don't make the rules π
what you get back: an arrayref of tab delimited data. tabs!! iconic separator, honestly π₯
User Contributed Perl Documentation π«Ά this lil page is perl v5.32.0, dated 2020-12-04, and yeah it's the Bio::C...Reports(3pm) page β shoutout to the truncation, she's mysterious. anyway mwah, go format some stock data, you got this πβ¨
π¦ where this page comes from
- debian bookworm: libbio-chado-schema-perl 0.20000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbio-chado-schema-perl 0.20000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libbio-chado-schema-perl 0.20000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbio-chado-schema-perl 0.20000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbio-chado-schema-perl 0.20000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbio-chado-schema-perl 0.20000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms