Bio::A...IO::arp(3pm)
π 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_alnUsageβ$aln = $stream->next_alnFunctionβ returns the next alignment in the stream.ReturnsβBio::Align::AlignIobject β returns0on end of file or on errorArgsβ-width=> optional argument to specify the width sequence will be written (60chars by default)
See Bio::Align::AlignI
π write_aln
Titleβwrite_alnUsageβ$stream->write_aln(@aln)Functionβ writes the$alnobject into the stream in xmfa formatReturnsβ1for success and0for errorArgsβBio::Align::AlignIobject
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
- debian bookworm: libbio-perl-perl 1.7.8-1 Β· Perl
- debian trixie: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu jammy: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu noble: libbio-perl-perl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms