VMATCHSELECT(1)
π VMATCHSELECT π
okay bestie, sit down, hydrate, because we're about to talk about vmatchselect β it's a page from the VMATCHSELECT(1) manual, and it's genuinely one of my faves. it sorts and selects matches. that's the whole vibe. slay.
β¨ NAME β¨
vmatchselect β sort and select matches π
πΈ SYNOPSIS πΈ
vmatchselect [options] matchfile
π¦ DESCRIPTION π¦
okay so. vmatchselect lets you pick out the interesting matches from the output of vmatch, based on criteria that you define. it hands off matches of your chosen length, degeneracy, or significance to whatever analysis routine you're running next. no cap. π
here's the tea: vmatchselect removes from the input all those matches that are contained in another match. and the way it does that efficiently? it sorts the matches by their position in the database sequence β so basically by the order the matches get output, unless you tell it otherwise. and that's not even all, bestie: the sequences of the virtual suffix tree that the match file was produced for can be clustered according to the matches. the input for vmatchselect is a file produced by vmatch, called a match file. πβ¨
the output of vmatchselect goes to standard output and it's sorted in ascending order of the positions of the left instance of a match. so:
- two matches where the left instance occurs at the same position β sorted in descending order of their length π₯
- two matches of the same length where the left instance occurs in the same position β sorted in ascending order of the position of the right instance of the match β
now, vmatchselect provides a subset of the options of vmatch. the main difference? vmatchselect gets its matches from a match file, while vmatch computes the matches from scratch. so that means the options specifying the index and/or the query sequences to be matched, plus the options specifying how to match β yeah, those are not available in vmatchselect. the options it does have mean the exact same thing as in vmatch, so for a description, see the corresponding documentation. iykyk π«Ά
and β note β vmatchselect also supports the option -dbcluster. if you call vmatchselect with that option, it parses the given match file and performs single linkage clustering based on the matches in that file. so basically vmatch and vmatchselect can do hierarchical clustering together, like a little duo. π
how that flow goes:
- first step: compute an initial set of matches with loose matching criteria, using
vmatch. - then you cluster those matches by calling
vmatchselect. - second round: you apply more strict choices for the matches by using the options
-l,-leastscore,-evalue, or-identity, etc.
this facilitates stepwise refinement of clusters without much computational effort, and β iconic behaviour β with no new index construction for the sequence of a cluster. and the output of vmatchselect is the same as the output of vmatch. periodt. π
π OPTIONS π
-dbcluster <args>β cluster the database sequences.- first argument is percentage of shorter string to be included in match,
- second argument is percentage of larger string to be included in match,
- third optional argument is filenameprefix,
- fourth optional argument is
(minclustersize, maxclustersize)
-nonredundantβ generate file with non-redundant set of sequences; only works together with option-dbcluster.-selfun <file>β specify shared object file containing selection function.-l <length>β specify that match must have the given length, optionally specify minimum and maximum size of gaps between repeat instances.-leastscore <score>β specify the minimum score of a match.-evalue <value>β specify the maximum E-value of a match.-identity <value>β specify minimum identity of match in range[1..100%].-sort <mode>β sort the matches, additional argument is mode:la: ascending order of lengthld: descending order of lengthia: ascending order of first positionid: descending order of first positionja: ascending order of second positionjd: descending order of second positionea: ascending order of Evalueed: descending order of Evaluesa: ascending order of scoresd: descending order of scoreida: ascending order of identityidd: descending order of identity
-best <n>β show the best matches (those with smallest E-values), default isbest 50.-sβ show the alignment of matching sequences.-showdescβ show sequence description of match.-fβ show filename where match occurs.-absoluteβ show absolute positions.-nodistβ do not show distance of match.-noevalueβ do not show E-value of match.-noscoreβ do not show score of match.-noidentityβ do not show identity of match.-vβ verbose mode.-versionβ show the version of the Vmatch package.-helpβ show help.
not me listing every single one of these because you deserve the full set, not a summary. we do NOT gatekeep options in this house. π«Ά
π SEE ALSO π
okay that's the whole page, bestie!! π this was the VMATCHSELECT(1) manual β the Vmatch package's own little corner of the docs, and yes it signs off with its own name right there at the bottom, VMATCHSELECT(1), like a queen leaving her signature. go forth and select some matches. you're gonna eat. πβ¨πΈπ¦π
π
π¦ where this page comes from
- ubuntu resolute: vmatch 2.3.1+git20240412.b3b8ac0+dfsg-2 Β· ISC
- ubuntu stonking: vmatch 2.3.1+git20240412.b3b8ac0+dfsg-2 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms