Bio::M...ansfac(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Bio::Matrix::PSM::IO::transfac β€” the manual page, bestie edition πŸ’–

okay so this is the page for Bio::Matrix::PSM::IO::transfac from the User Contributed Perl Documentation β€” it's the PSM transfac parser and it's here to help you parse TRANSFAC-format position-specific scoring matrices. it's giving "quiet little module that does one thing" and honestly? iconic. πŸ’…


✨ NAME ✨

Bio::Matrix::PSM::IO::transfac β€” PSM transfac parser 🧚


🌸 SYNOPSIS 🌸

bestie, the synopsis is literally just pointing you elsewhere:

See Bio::Matrix::PSM::IO for documentation

so like, go read that one, she's the main character here. this page is the sidekick. 🫢


πŸŽ€ DESCRIPTION πŸŽ€

the entire description is:

#

no fr, that's it. that's the whole thing. a single hash. she said "I contain multitudes" and then contained exactly one #. not me being obsessed with the minimalism 😭✨


πŸ’Œ FEEDBACK πŸ’Œ

πŸ“¬ Mailing Lists

user feedback is integral to the evolution of this and other Bioperl modules, so if you've got comments or suggestions, send them to one of the Bioperl mailing lists. your participation is so appreciated, bestie, fr fr. πŸ₯Ή

bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

πŸ›Ÿ Support

please direct usage questions or support issues to the mailing list:

bioperl-l@bioperl.org

and not to the module maintainer directly, okay? like, don't DM the maintainer, post in the group chat. many experienced and reponsive experts will be able look at the problem and quickly address it. please include a thorough description of the problem with code and data examples if at all possible β€” the more context the better, periodt. πŸ“

πŸ› Reporting Bugs

report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution. bug reports can be submitted via the web:

https://github.com/bioperl/bioperl-live/issues

go off, tell them what's broken. it's a public service. πŸ‘‘


πŸ‘‘ AUTHOR - Stefan Kirov πŸ‘‘

Email skirov@utk.edu πŸ’Œ


πŸ“š APPENDIX πŸ“š

πŸ†• new

  • Title β€” new
  • Usage β€”
my $psmIO =  Bio::Matrix::PSM::IO->new(-format=>'transfac',
                                        -file=>$file);
  • Function β€” associates a file with the appropriate parser
  • Throws β€” (nothing listed)
  • Example β€” (nothing listed)
  • Args β€” (nothing listed)
  • Returns β€” "Bio::Matrix::PSM::$format"->new(@args);

⏭️ next_psm

  • Title β€” next_psm
  • Usage β€”
my $psm=$psmIO->next_psm();
  • Function β€” reads the next PSM from the input file, associated with this object
  • Throws β€” upon finding a line, defining the matrix, where one or more positions are not defined, see _make_matrix
  • Returns β€” Bio::Matrix::PSM::Psm object
  • Args β€” none

πŸ” _parseMatrix

  • Title β€” _parseMatrix
  • Usage β€” (nothing listed)
  • Function β€” parses a line
  • Throws β€” (nothing listed)
  • Example β€” internal stuff
  • Returns β€” array (frequencies for A,C,G,T in this order).
  • Args β€” string

🧡 _make_matrix

  • Title β€” _make_matrix
  • Usage β€” (nothing listed)
  • Function β€” (nothing listed)
  • Throws β€” if a position is undefined, for example if you have line like this in the file you are parsing: 08 4,7,,9
  • Example β€” internal stuff
  • Returns β€” (nothing listed)
  • Args β€” (nothing listed)
⚠️ heads up bestie: that _make_matrix throw is the one to watch. an undefined position like 08 4,7,,9 will absolutely end your whole parsing moment, no cap.

and that's the page!! this was documented with perl v5.32.1, dated 2021-08-15, and it lives under the User Contributed Perl Documentation umbrella. stay parsing, angel πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from