Bio::D...erator(3pm)
π LICENSE π
okay bestie, legal stuff first because we respect our institutions β¨
Copyright [2015-2018] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
π¦ NAME π¦
Bio::DB::HTS::Kseq::Iterator β it's The Kseq iterator, no cap π
πΈ DESCRIPTION πΈ
So basically this is an object for iterating through the available records, one at a time, like a little queue of sequence besties waiting for their moment π
There are other methods hanging around too, but they're undocumented β lowkey on purpose, because the way you should be living your life is using the "next_seq" methods as much as possible. That's the vibe. That's the assignment. Periodt.
β¨ SYNOPSIS β¨
my $iter = $kseq->iterator();
while(my $r = $iter->next_seq()) {
say $r->name;
say $r->desc;
say $r->seq;
say $r->qual;
}
look at her go π she's just looping through records and printing the whole little glow-up. iconic behaviour fr fr.
π METHODS π
π§ "next_seq" π§
Returns a blessed Bio::DB::HTS::Kseq::Record instance. like a whole little object with a bow on it π«Ά
π "next_seq_hash" π
Returns a raw HashRef with the keys name, desc, seq and qual available. no blessing, just straight facts, iykyk π
and that's the whole page, bestie π₯° this was Bio::D...erator(3pm) from the User Contributed Perl Documentation, running under perl v5.40.0, dated 2024-10-31. go forth and iterate responsibly πβ¨π
π¦ where this page comes from
- debian trixie: libbio-db-hts-perl 3.01-5 Β· Apache-2.0
- ubuntu questing: libbio-db-hts-perl 3.01-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms