BP_SEQPART(1)

πŸ“¦ version 1.7.8, in nixos 26.05, nixpkgs unstable

πŸ’… bp_seqpart.pl β€” BP_SEQPART(1), bestie edition

okay so picture this: it's a Perl script, it's got SeqIO energy, and its whole personality is taking your sequence files and splitting them into load-balanced chunks. the manual page is BP_SEQPART(1) and honestly? she ate. ✨


🌸 NAME 🌸

bp_seqpart.pl β€” takes one or more sequence files and splits them into a number of load balanced files. literally that's the job. no cap. 🫢


✨ USAGE ✨

here's the whole thing, exactly as it lives, no edits:

bp_seqpart.pl -n <NUM_PARTS> [-h, -p <PREFIX>, -f <FORMAT>, -o <OUT_DIR>] <FILES...>

  -n number of files to create through partitioning
  -h this help message
  -p prefix for all FASTA file names output, files are of the form <outdir>/<prefix>#.<format>
  -f format of the files, defaults to FASTA but you can specify anything supported by SeqIO from BioPerl
  -o output directory where to dump the split sequence files

and in group-chat form, one bullet per flag:

  • -n β€” number of files to create through partitioning πŸ‘‘ (this one's the main character, you gotta have it)
  • -h β€” this help message πŸŽ€
  • -p β€” prefix for all FASTA file names output, files are of the form <outdir>/<prefix>#.<format> πŸ¦‹
  • -f β€” format of the files, defaults to FASTA but you can specify anything supported by SeqIO from BioPerl πŸ”₯
  • -o β€” output directory where to dump the split sequence files πŸ“

πŸ’– DESCRIPTION πŸ’–

so this is a script wrapping SeqIO that allows partitioning of multiple sequence files into near equal sized parts for later parallel processing. like, it's giving "prep work for your cluster job." πŸ’…

and here's the slay part: even if you have 10 input files, outputting to 10 files will balance the files to contain similar total length of sequence. the balancing is by total sequence length, not by count β€” which is genuinely the smart way to do it.

⚠️ real talk though: ID's are ignored when deciding on how to balance each sequence. so don't come in here expecting your IDs to influence anything. they do not. πŸ™ˆ

🌈 AUTHOR 🌈

Matt Oates β€” mattoates+support@gmail.com 🫢


πŸŽ€ FEEDBACK πŸŽ€

πŸ’Œ Mailing Lists

user feedback is an integral part of the evolution of this and other Bioperl modules. so like… send your comments and suggestions, preferably to the Bioperl mailing list. your participation is much appreciated, fr fr. 🧚

bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

πŸ› Reporting Bugs

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

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

like please report them, bestie, they cannot fix what they don't know about 😭


⭐ EDIT HISTORY ⭐

  • 2012-04-03 β€” Matt Oates β€” First features added. the origin story. iconic. πŸ‘‘

πŸ¦‹ DEPENDANCY πŸ¦‹

(yes, that's how it's spelled in the original, we respect the spelling πŸ’œ)

  • Getopt::Long β€” used to parse command line options.
  • Pod::Usage β€” used for usage and help output.
  • Bio::SeqIO β€” used to cut up sequences and parse FASTA.

okay that's the whole page πŸ’– shoutout to perl v5.42.3 and the 2021-02-03 date on this one β€” that's the version and stamp this gorgeous little manpage shipped with. go partition something and slay, bestie πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from