esl-mask(1)

πŸ“¦
version 3.3.2 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– 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 default X. pick your fighter.
  • -o <f> β€” Send output to file <f> instead of stdout. redirecting? in this economy?
  • -r β€” Reverse mask; mask everything outside the region start..end, as opposed to the default of masking that region. flip the script bestie.
  • -R β€” Random access; fetch sequences from seqfile rather than requiring that sequence names in maskfile and seqfile come in exactly the same order and number. The seqfile must be SSI indexed (see esl-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 masking 1..<start>-1+<n> and <end>+1-<n>..L in a sequence of length L. growth mindset πŸ’…
  • --informat <s> β€” Assert that input seqfile is 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 (fasta or FASTA both work). case-insensitive? she's chill like that.

πŸ¦‹ SEE ALSO πŸ¦‹

http://bioeasel.org/ β€” go look, it's giving documentation πŸ’œ


Copyright (C) 2020 Howard Hughes Medical Institute. Freely distributed under the BSD open source license.


πŸ’œ AUTHOR πŸ’œ

http://eddylab.org


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