BP_SREFORMAT(1)
π BP_SREFORMAT(1) β like, the whole manual bestie
okay so first things first: this is bpsreformat, and it lives in the User Contributed Perl Documentation section of the manual, section 1. That's the vibe. Now let's get into it β¨
π¦ NAME
bpsreformat β convert sequence formats. that's it, that's the whole name, and honestly? iconic.
πΈ DESCRIPTION
okay so this script uses the SeqIO system, which is the thing that lets you convert sequence formats β and it handles both plain sequence data π« and multiple sequence alignment data π
now, about the name real quick: it comes from the fact that Sean Eddy's program sreformat (part of the HMMER pkg) already does this exact thing. so yeah, we're not out here inventing words, we're just building on the icon himself π
but here's the difference, and it's kind of a big one: Sean's program tries to guess the input formats. our code? nah. currently you have to specify what the input and output formats are, and also whether the data is from a multiple sequence alignment or from straight sequence files. no guessing, no vibes-based parsing, you tell it or it doesn't happen π«Ά
Usage:
bpsreformat -if INFORMAT -of OUTFORMAT -i FILENAME -o output.FORMAT
π OPTIONS
-h,--helpβ prints this help. the "what does anything do" button π₯Ί-if,--informatβ specify the input format. required, bestie, this program does not guess π-of,--outformatβ specify the output format. also required. yes both. I know. π-i,--inputβ specify the input file name. and listen: to pass in data on STDIN, use the minus sign-as the filename π-o,--outputβ specify the output file name. same deal β to pass data out on STDOUT, use the minus sign-as the filename π--msaβ specify that this is multiple sequence alignment data. use this when your data is an alignment and not just loose sequences, iykyk π§--specialβ will pass on special parameters to the AlignIO/SeqIO object β most of these are forBio::AlignIOobjects. it takes a comma separated list of the following:nointerleavedβ forphylip, non-interleaved formatidlinebreakβ forphylip, makes it molphy formatpercentagesβ forclustalw, show % id per line
ngl, --special is giving "mystery box of format-specific quirks" but it's literally just those three. comma separated. you got this π
π₯ SEE ALSO
nothing listed, bestie β this page is a solo act π (but like, sreformat from HMMER is the spiritual ancestor, if you're curious πΈ)
okay that's the whole page!! this one's from perl v5.42.3, dated 2021-02-03 β so go forth, convert those sequences, and remember: specify your formats, the program is not reading your mind πβ¨π¦
π¦ where this page comes from
- nixos 26.05: perl5.42.3-BioPerl 1.7.8
- nixpkgs unstable: perl5.42.3-BioPerl 1.7.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms