esl-shuffle(1)
β¨ esl-shuffle π β the Easel manual page, bestie edition β¨
okay so. esl-shuffle is the Easel tool for shuffling sequences or generating random ones, and it lives in the Easel manual, section 1 (user commands). π¦ buckle up.
πΈ SYNOPSIS πΈ
esl-shuffle [options] seqfile
(shuffle sequences)
esl-shuffle -G [options]
(generate random sequences)
esl-shuffle -A [options] msafile
(shuffle multiple sequence alignments)
π DESCRIPTION π
esl-shuffle has THREE different modes of operation and honestly? she's versatile like that. π
By default, esl-shuffle reads individual sequences from seqfile, shuffles them, and outputs the shuffled sequences. By default, shuffling is done by preserving monoresidue composition; other options are listed below. π
With the -G option, esl-shuffle generates some number of random sequences of some length in some alphabet. The -N option controls the number (default is 1), the -L option controls the length (default is 0), and the --amino, --dna, and --rna options control the alphabet. β¨
With the -A option, esl-shuffle reads one or more multiple alignments from msafile, shuffles them, and outputs the shuffled alignments. By default, the alignment is shuffled columnwise (i.e. column order is permuted). Other options are listed below. π§
π«Ά GENERAL OPTIONS π«Ά
-hβ print brief help; includes version number and summary of all options, including expert options. your girl never gatekeeps π-o <f>β direct output to a file named<f>rather than tostdout. π-N <n>β generate<n>sequences, or perform<n>independent shuffles per input sequence or alignment. π―-L <n>β generate sequences of length<n>, or truncate output shuffled sequences or alignments to a length of<n>. βοΈ
π SEQUENCE SHUFFLING OPTIONS π
These options only apply in default (sequence shuffling) mode. They are mutually exclusive β pick one, babe, you can't have all of them. π
-mβ Monoresidue shuffling (the default): preserve monoresidue composition exactly. Uses the Fisher/Yates algorithm (aka Knuth's "Algorithm P"). iconic algorithm, no notes π₯-dβ Diresidue shuffling; preserve diresidue composition exactly. Uses the Altschul/Erickson algorithm (Altschul and Erickson, 1986). A more efficient algorithm (Kandel and Winkler 1996) is known but has not yet been implemented in Easel. π-0β 0th order Markov generation: generate a sequence of the same length with the same 0th order Markov frequencies. Such a sequence will approximately preserve the monoresidue composition of the input. (approximately!! not exactly!! read the fine print bestie) π-1β 1st order Markov generation: generate a sequence of the same length with the same 1st order Markov frequencies. Such a sequence will approximately preserve the diresidue composition of the input. π«-rβ Reversal; reverse each input. π-w <n>β Regionally shuffle the input in nonoverlapping windows of size<n>residues, preserving exact monoresidue composition in each window. πͺ
π MULTIPLE ALIGNMENT SHUFFLING OPTIONS π
-bβ Sample columns with replacement, in order to generate a bootstrap-resampled alignment dataset. π²-vβ Shuffle residues with each column independently; i.e., permute residue order in each column ("vertical" shuffling). βοΈ
β SEQUENCE GENERATION OPTIONS β
One of these must be selected, if -G is used. like, mandatory bestie, no vibes-only runs π«Ά
--aminoβ Generate amino acid sequences. π§¬--dnaβ Generate DNA sequences. π§¬--rnaβ Generate RNA sequences. π§¬
π EXPERT OPTIONS π
--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 (fastaorFASTAboth work). π--seed <n>β Specify the seed for the random number generator, where the seed<n>is an integer greater than zero. This can be used to make the results ofesl-shufflereproducible. If<n>is0, the random number generator is seeded arbitrarily and stochastic simulations will vary from run to run. Arbitrary seeding (0) is the default. π°
π¦ SEE ALSO π¦
- http://bioeasel.org/ π
π COPYRIGHT π
Copyright (C) 2020 Howard Hughes Medical Institute. Freely distributed under the BSD open source license. π
π AUTHOR π
and that's the whole page bestie π₯Ή this was Easel 0.48, from Nov 2020, and it's the esl-shuffle(1) manual β go forth and shuffle responsibly π
πβ¨
π¦ 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