Bio::A...IO::arp(3pm)

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

πŸ’– Bio::A...IO::arp β€” bestie edition πŸ’–

okay so this is the manpage for Bio::A...IO::arp, aka the ARP MSA Sequence input/output stream, from the User Contributed Perl Documentation. it lives in the 3pm section (perl module docs, iykyk). sit down, grab a snack, we're doing this πŸ’…


✨ NAME ✨

Bio::AlignIO::arp β€” ARP MSA Sequence input/output stream. that's it, that's the whole name, slay πŸŽ€


✨ SYNOPSIS ✨

okay so literally the first thing you need to know:

Do not use this module directly. use it via the Bio::AlignIO class. no cap. it's a behind-the-scenes girly, not a main character you call up yourself 🫢

✨ DESCRIPTION ✨

so this object can create Bio::SimpleAlign objects out of ARP flat files. and what are those? they're typically configuration-like data files for the program Arlequin ✨. if you want more info, go here:

http://lgb.unige.ch/arlequin/

for the moment, this retains the allele sequence data in the DATA section and inserts them into SimpleAlign objects. and bestie, real talk: ARP files that contain other data (RFLP, etc.) are not expected to parse properly. also, if the DNA data is actually SNP data, then the LocatableSeq object instantiation will throw an error 😭 so like. be aware.

this is now set up as a generic parser (i.e. it parses everything) and collects as much data as possible into the SimpleAlign object. here's the general mapping of where data can be found, bestie, study it πŸ“–:

Tag        SimpleAlign
           Method
----------------------------------------------------------------------
Title      description
SampleName id
----------------------------------------------------------------------

and then, for the annotation girlies:

Tag        Bio::Annotation   TagName                    Bio::Annotation
           Class                                        Parameters
----------------------------------------------------------------------
 NE        SimpleValue       pfam_family_accession      value
 NL        SimpleValue       sequence_start_stop        value
 SS        SimpleValue       sec_structure_source       value
 BM        SimpleValue       build_model                value
 RN        Reference         reference                  *
----------------------------------------------------------------------
* RN is generated based on the number of Bio::Annotation::Reference objects

in addition, the number of samples found in the alignment is retained in a Bio::Annotation::TagTree object in the annotation collection, and it's accessible via this iconic little snippet:

($samples) = $aln->annotation->get_Annotations('Samples');
say $samples->display_text;
# or use other relevant TagTree methods to retrieve data

🌸 FEEDBACK 🌸

πŸ’Œ Support

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

bioperl-l@bioperl.org

rather than to the module maintainer directly. many experienced and responsive experts will be able look at the problem and quickly address it. and please include a thorough description of the problem with code and data examples if at all possible β€” give them the receipts, bestie πŸ§ΎπŸ’–

πŸ› Reporting Bugs

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

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

πŸ‘‘ AUTHORS πŸ‘‘

Chris Fields (cjfields) β€” the icon, the moment, the legend ✨


πŸ¦‹ APPENDIX πŸ¦‹

the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (so if you see an underscore, mind your business, that's internal βœ‹).

🌈 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


and that's the whole page, periodt πŸ’…βœ¨

this was perl v5.32.1, dated 2021-08-15, and it's filed under Bio::A...IO::arp(3pm) in the User Contributed Perl Documentation β€” mwah, go forth and parse responsibly πŸ«ΆπŸŽ€πŸ’–

πŸ“¦ where this page comes from