VMATCH(1)
π VMATCH(1) π β solve matching tasks π¦β¨
πΈ NAME πΈ
vmatch β solve matching tasks. That's the whole job title, bestie, but the way it does it is iconic π
β¨ SYNOPSIS β¨
vmatch [options] indexname
π§ DESCRIPTION π§
okay so real talk: vmatch is the program that lets you solve a multitude of different matching tasks over an index constructed by mkvtree. Each matching task gets solved by a combination of options specifying:
- the input,
- the kind of matches sought,
- additional constraints on the matches,
- the direction of the matches (in case of DNA),
- the kind of postprocessing to be done,
- the output mode and output format.
Additionally, if there is more than one algorithm to solve a certain matching task, vmatch lets you specify which algorithm is to be used. Periodt. π
vmatch supports computing the following kinds of matches:
- match all substrings of the database sequences against itself. The matches can be one of the following kinds:
- branching tandem repeats, i.e. repeats where the two instances of the repeat occur at consecutive positions
- maximal repeats, i.e. pairs of maximal substrings occurring more than once in the database sequences
- supermaximal repeats, i.e. pairs of maximal substrings occurring more than once in the database sequences, but not in any other maximal repeat
- match a set of query sequences (given in an extra query file) against the index. The matches can be one of the following kinds:
- maximal substring matches, i.e. the substrings of the query sequences matching substrings of the database sequences. All matches exceeding some minimum length, extended maximally to the left and to the right, are reported.
- maximal unique matches, i.e. the substrings of the query sequences matching substrings of the database sequences. A match is reported if it is unique in the database sequences as well as in the query sequences.
- complete matches, i.e. a query sequence must completely match (i.e. from the first character to the last character) a substring of the database sequences.
For all these match kinds, the matches themselves can be direct or palindromic (i.e. on the reverse strand, in case of DNA sequences). If required, DNA sequences are translated into six reading frames and the matches are computed on the protein level, and reported on the DNA level. Besides exact matches, also degenerate matches with a maximal number of errors (insertions, deletions, and mismatches) are supported. Moreover, degenerate matches can be derived from exact matches by extending these using a greedy extension strategy. This does not apply to complete matches. For all different match kinds, the matches delivered by vmatch can be selected according to their E-value, their identity value, or their match score.
In the default case, a match is reported as a formatted row of numbers, containing its lengths, the positions where it occurs, the E-value, the number of errors it contains, the match score, and the identity value. Optionally, an alignment of the sequences that are involved in the match can be reported. An important feature of vmatch is the capability of directly postprocessing the matches found in the following ways:
- inverse output, i.e. report substrings of the database sequences or the query sequences not covered by a match
- masking substrings of the database sequences or the query sequences covered by a match
- clustering of a set of database sequences according to the matches found between these sequences. The output of this option can be a representation of the clusters, or a set of sequences each being representative for a cluster.
- chaining of a set of matches, i.e. finding optimal subsets of all matches which do not cross
- clustering of matches according to the pairwise similarities on the sequences involved in the match
- clustering of matches according to the positions where they occur
Finally, to accommodate many more kinds of user defined post processing tasks, vmatch provides the concept of selection functions. These provide an open interface which allow arbitrary on-the-fly postprocessing of the matches without output and parsing of the matches. For more details on this concept, see the manual.
π OPTIONS π
okay bestie, here's the whole menu. Every flag, every argument, no skips π β¨
-q <file>β Specify files containing queries to be matched.-dnavsprot <table>β Perform six frame translation. Specify codon translation table by a number in the range[1,23]except for7,8,17,18,19and20; (default is1):1Standard2Vertebrate Mitochondrial3Yeast Mitochondrial4Mold Mitochondrial; Protozoan Mitochondrial; Coelenterate Mitochondrial; Mycoplasma; Spiroplasma5Invertebrate Mitochondrial6Ciliate Nuclear; Dasycladacean Nuclear; Hexamita Nuclear9Echinoderm Mitochondrial10Euplotid Nuclear11Bacterial12Alternative Yeast Nuclear13Ascidian Mitochondrial14Flatworm Mitochondrial15Blepharisma Macronuclear16Chlorophycean Mitochondrial21Trematode Mitochondrial22Scenedesmus Obliquus Mitochondrial23Thraustochytrium Mitochondrial
-tandemβ Compute right branching tandem repeats.-supermaxβ Compute supermaximal matches.-mumβ Compute maximal unique matches.-completeβ Specify that query sequences must match completely.-dbnomatch <arg>β Mask all database substrings containing a match; optional argument:keepleftmeans to not mask the left instance of a matchkeeprightmeans to not mask the right instance of a matchkeepleftifsamesequencemeans to not mask the left instance of the match if the right instance occurs in the same sequencekeeprightifsamesequencemeans to not mask the right instance of the match if the left instance occurs in the same sequence
-qnomatchβ Show all query substrings not containing a match.-dbmaskmatch <arg>β Mask all database substrings containing a match; optional argument:keepleftmeans to not mask the left instance of a matchkeeprightmeans to not mask the right instance of a matchkeepleftifsamesequencemeans to not mask the left instance of the match if the right instance occurs in the same sequencekeeprightifsamesequencemeans to not mask the right instance of the match if the left instance occurs in the same sequence
-qmaskmatchβ Mask all query substrings containing a match.-ppβ Generic postprocessing of matches.-onlineβ Run algorithms online without using the index.-qspeedup <level>β Specify speedup level when matching queries (0: fast,2: faster; default is2), beware of time/space tradeoff.-dβ Compute direct matches (default).-pβ Compute palindromic (i.e. reverse complemented matches).-h <dist>β Specify the allowed hamming distance >0. In combination with option-completeone can switch on the percentage search mode or the best search mode. For the percentage search mode use an argument of the formip(whereiis a positive integer). This means that up toi*100/mmismatches are allowed in a match of a query of lengthm. For the best search mode use an argument of the formibwhereiis a positive integer. This means that in a first phase the minimum thresholdqis determined such that there is still a match withqmismatches.qis in the range0toi*100/m.-e <dist>β Specify the allowed edit distance >0. In combination with option-completeone can switch on the percentage search mode or the best search mode. For the percentage search mode use an argument of the formip(whereiis a positive integer). This means that up toi*100/mdifferences are allowed in a match of a query of lengthm. For the best search mode use an argument of the formibwhereiis a positive integer. This means that in a first phase the minimum thresholdqis determined such that there is still a match withqdifferences.qis in the range0toi*100/m.-allmaxβ Show all maximal matches in the order of their computation.-seedlength <length>β Specify the seed length.-hxdrop <value>β Specify the xdrop value for hamming distance extension.-exdrop <value>β Specify the xdrop value for edit distance extension.-iβ Give information about number of different matches.-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 is best50.-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 basic options.-help+β Show all options.
β¨ SEE ALSO β¨
vmatchselect(1)β yeah bestie, that's the one to go read next π it's the sibling page, and honestly the way these two hang out together is iconic. Go say hi to it. π«Ά
okay that's literally the whole page, we made it to the end π no cap, you now know vmatch better than 90% of the people using it, periodt π
and for the cute lil' sign-off: the footer of this page is just the page tag itself, VMATCH(1) β no date stamp, no source line drama, just the name chillin' at the bottom like main character energy π so nothing extra to report there, bestie, that's fr fr the whole thing πΈ
go touch some grass and then come back and grep something, mwah πβ¨
π¦ 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