esl-mask(1)
π esl-mask β bestie edition π
okay so this is esl-mask, a little cutie from the Easel Manual, and it does one thing gorgeously: it masks sequence residues with X's (or, like, literally any other character you want, we're flexible π ).
β¨ SYNOPSIS β¨
esl-mask [options] seqfile maskfile
πΈ DESCRIPTION πΈ
So here's the vibe, bestie. esl-mask reads lines from maskfile that give start/end coordinates for regions in each sequence in seqfile, masks those residues (changes them to X's, iconic), and outputs the masked sequence. That's it. That's the whole serve. π
The maskfile is a space-delimited file. Blank lines and lines that start with # (comments, we love a comment) are ignored. Each data line contains at least three fields: seqname, start, and end. The seqname is the name of a sequence in the seqfile, and start and end are coordinates defining a region in that sequence. The coordinates are indexed <1..L> with respect to a sequence of length <L>. no cap.
By default, the sequence names must appear in exactly the same order and number as the sequences in the seqfile. And honestly? That's easy to enforce, because the format of maskfile is also legal as a list of names for esl-sfetch, so you can always fetch a temporary sequence file with esl-sfetch and pipe that to esl-mask. literally a pipeline moment π«Ά (Alternatively, see the -R option for fetching from an SSI-indexed seqfile.)
The default is to mask the region indicated by <start>..<end>. Alternatively, everything but this region can be masked β see the -r reverse masking option. we love options.
The default is to mask residues by converting them to X's. Any other masking character can be chosen (see -m option), or alternatively, masked residues can be lowercased (see -l option). choices, choices β¨
π OPTIONS π
-hβ Print brief help; includes version number and summary of all options, including expert options. the "help me" button but make it cute.-lβ Lowercase; mask by converting masked characters to lower case and unmasked characters to upper case. yes it does both, that's the whole bit.-m<c>β Mask by converting masked residues to<c>instead of the defaultX. pick your fighter.-o<f>β Send output to file<f>instead of stdout. redirecting? in this economy?-rβ Reverse mask; mask everything outside the regionstart..end, as opposed to the default of masking that region. flip the script bestie.-Rβ Random access; fetch sequences fromseqfilerather than requiring that sequence names inmaskfileandseqfilecome in exactly the same order and number. Theseqfilemust be SSI indexed (seeesl-sfetch --index.) note the index, it's not optional, don't come for me.-x<n>β Extend all masked regions by up to<n>residues on each side. For normal masking, this means masking<start>-<n>..<end>+<n>. For reverse masking, this means masking1..<start>-1+<n>and<end>+1-<n>..Lin a sequence of length L. growth mindset π--informat<s>β Assert that inputseqfileis in format<s>, bypassing format autodetection. Common choices for<s>include:fasta,embl,genbank. Alignment formats also work; common choices include:stockholm,a2m,afa,psiblast,clustal,phylip. For more information, and for codes for some less common formats, see main documentation. The string<s>is case-insensitive (fastaorFASTAboth work). case-insensitive? she's chill like that.
π¦ SEE ALSO π¦
http://bioeasel.org/ β go look, it's giving documentation π
π COPYRIGHT π
Copyright (C) 2020 Howard Hughes Medical Institute. Freely distributed under the BSD open source license.
π AUTHOR π
and that's the whole page bestie!! no notes, 10/10, periodt β¨
Easel @EASELVERSION@ β Nov 2020 β and yes that's the esl-mask(1) footer, mwah, bye!! ππ¦πΈπ«Ά
π¦ where this page comes from
- fedora 43: hmmer-easel 3.3.2-11.fc43 Β· GPL-3.0-only
- fedora 44: hmmer-easel 3.3.2-12.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms