Bio::A...::xmfa(3pm)

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

πŸ’– NAME πŸ’–

Bio::AlignIO::xmfa β€” the XMFA MSA sequence input/output stream, bestie. Yes that's the whole name. Slay.


✨ SYNOPSIS ✨

Okay so listen. Do not use this module directly. Like, at all. Use it via the Bio::AlignIO class, periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

This object can transform Bio::SimpleAlign objects from XMFA flat file databases. That's its whole thing and it eats every time.

Want the tea on the format? It's all right here:

http://asap.ahabs.wisc.edu/mauve-aligner/mauve-user-guide/mauve-output-file-formats.html

Also, full transparency: this module is based on the AlignIO::fasta parser written by Peter Schattner. Credit where credit is due, we love an icon. πŸ‘‘


πŸŽ€ TODO πŸŽ€

The to-do list, no cap:

  • Finish write_aln()
  • Clean up code
  • Allow LargeLocatableSeq (e.g. for very large sequences from Mauve)

It's giving "work in progress" and honestly? Same.


🫢 FEEDBACK 🫢

🌸 Support 🌸

If you have usage questions or support issues, please direct them to the mailing list:

bioperl-l@bioperl.org

and not straight to the module maintainer. The way that there are so many experienced and responsive experts on that list who will look at your problem and quickly address it β€” use them, they're the main characters here. πŸ’…

Please include a thorough description of the problem with code and data examples if at all possible. Fr fr, the more detail the better.

πŸ› 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

πŸ‘‘ AUTHORS πŸ‘‘

Chris Fields


πŸ’€ APPENDIX πŸ’€

The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ β€” iykyk, that underscore means "bestie this is internal, handle with care".

πŸ’œ next_aln

  • Title β€” next_aln
  • Usage β€” $aln = $stream->next_aln
  • Function β€” returns the next alignment in the stream.
  • Returns β€” Bio::Align::AlignI object β€” returns 0 on end of file or on error
  • Args β€” -width => optional argument to specify the width sequence will be written (60 chars by default)

See Bio::Align::AlignI

πŸ”₯ write_aln

  • Title β€” write_aln
  • Usage β€” $stream->write_aln(@aln)
  • Function β€” writes the $aln object into the stream in xmfa format
  • Returns β€” 1 for success and 0 for error
  • Args β€” Bio::Align::AlignI object

See Bio::Align::AlignI

🧚 _get_len

  • Title β€” _get_len
  • Usage β€” (blank, the original leaves this one empty, no notes given πŸ™ˆ)
  • Function β€” determine number of alphabetic chars
  • Returns β€” integer
  • Args β€” sequence string

⭐ width

  • Title β€” width
  • Usage β€”
$obj->width($newwidth)
$width = $obj->width;
  • Function β€” Get/set width of alignment
  • Returns β€” integer value of width
  • Args β€” on set, new value (a scalar or undef, optional)

And that's the whole page, bestie! πŸ’– This lil masterpiece shipped with perl v5.32.1, dated 2021-08-15, from the Bio::A...::xmfa(3pm) manual page. Go forth and align your XMFA files, you absolute legend. πŸŒˆπŸ¦‹βœ¨

πŸ“¦ where this page comes from