BP_SEQRET(1p)
π NAME π
okay bestie, so bp_seqret is the bioperl glow-up of sequence fetch from a local db β think EMBOSS seqret energy but make it Perl. it literally pulls sequences out of a local database file and hands them to you in whatever format you want. no cap. π§β¨
πΈ USAGE πΈ
the vibe check on the flags:
-f,--formatoutputformat β sets the output format, bestie. pick your fave.-o,--out,--outfileoutfile β where the output goes. yes,-oand--outand--outfileall do the same thing, it's giving generous. π«Ά-d,--dbdbname β the database you're pulling from. your local sequence stash. π-i,--id,-s,--seqnameseqname1 β the name of the sequence you want. and the way you can just say it again and again for more sequences?? iconic. π₯
the full synopsis, verbatim, no edits:
bp_seqret [-f/--format outputformat] [-o/--out/--outfile outfile]
[-d/--db dbname] [-i/--id/-s/--seqname seqname1]
β¨ examples, bestie β¨
these are literally copy-pasteable, i would never lie to you:
bp_seqret -f fasta -db db.fa -i seq1 -i seq2 > output.fas
bp_seqret db.fa:seq1 output.fas
bp_seqret db.fa:seq1 -o output.fas
bp_seqret -db db.fa -o output.fas seq1 seq2 seq3
bp_seqret -db db.fa seq1 seq2 seq3 output.fas
bp_seqret -db db.fa seq1 seq2 seq3 - > output.fas
π¦ the deets π¦
the DB is expected to be a Fasta formatted sequence file with multiple sequences. like, that's the whole thing. multiple sequences, fasta, boom. π
output format is Fasta by default β so if you don't specify, that's what you're getting, periodt.
if you don't give it an output filename, the output goes straight to STDOUT. and if you pass - as the output filename? same thing, bestie β - means STDOUT. both roads lead to the terminal. π
ngl, - as an output filename is lowkey the same as saying nothing at all. it's the "idk just show me" option. π
π AUTHOR π
this absolute legend wrote it: Jason Stajich β jason_AT_bioperl-dot-org π
that's the whole page bestie, we ate and left no crumbs π
β¨ this was perl v5.32.1, dated 2021-08-15, and it's BP_SEQRET(1p) β ily, go fetch some sequences π¦π
π¦ where this page comes from
- debian bookworm: bioperl 1.7.8-1 Β· Perl
- debian trixie: bioperl 1.7.8-1 Β· Perl
- ubuntu jammy: bioperl 1.7.8-1 Β· Perl
- ubuntu noble: bioperl 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