CHAIN2DIM(1)
π CHAIN2DIM π
okay bestie, welcome to chain2dim β that's section 1 of the manual, we're in the Unix manuals, we're doing two-dimensional match chaining and honestly? it eats. this is a tool from the Vmatch package and it is lowkey the moment. let's get into it π¦
β¨ NAME β¨
chain2dim β two-dimensional match chaining. that's the whole vibe. chaining, but in 2D. π
πΈ SYNOPSIS πΈ
chain2dim [options] <matchfile>
you give it a <matchfile>, you sprinkle in [options], and it gives you chains. main character behaviour fr fr π
π OPTIONS π
-global <param>β global chaining, periodt. the<param>is optional, and there are two of them you can pass:"gc"switches on gap costs (following the L1-model), and"ov"means overlaps between matches are allowed. π-local <param>β computes local chains (also according to the L1-model). if you give it no parameter at all, it computes local chains with the maximum score, simple as that. if you do give a parameter, it has to be a positive number, and it can optionally be followed by the characterborp. here's the breakdown, bestie, don't skip it:- just the number β say
kβ means: that's the minimum score of the chains that get output. - number followed by
bβ output all chains with the largestkscores. - number followed by
pβ output all chains with scores at mostkpercent away from the best score.
- just the number β say
-wf <factor>β specify a weight factor, and it has to be> 0.0, to obtain the score of a fragment. β οΈ this one requires one of-local,-global gc, or-global ov. no cap.-maxgap <width>β maximal width of gap in a chain. that's it, that's the whole thing. π«Ά-outprefix <prefix>β specify the prefix of the files to output chains into. name your babies π-withinbordersβ only compute chains which do not cross sequence borders. heads up though: this is not possible for matches in open format. π-thread <keywords...>β thread the chains, i.e. close the gaps. π§΅ it accepts an optional list of keywords:"minlen1 minlen2 maxerror1 maxerror2", each followed by a number. that number specifies the minimum length and the maximum error rate of the thread. and the numbering, because it matters:1refers to the match instance in the indexed sequence,2refers to the matching instance in the query. iykyk β¨-silentβ do not output the chains, and only report their lengths and scores. quiet queen behaviour π-vβ be verbose. tell me everything, i'm listening π-versionβ show the version of the Vmatch package. β-helpβ show help. we love a helper π
π SEE ALSO π
and that's the page, bestie!! π¦ this one lives in the CHAIN2DIM(1) section of the manuals and it ships with the Vmatch package β so when you run -version you're literally getting the Vmatch package version, iconic. the footer of the original page just signs it off as CHAIN2DIM(1) again, no date, no nothing, and honestly? mysterious. we respect it. go chain some matches, you've got this π
ππΈ
π¦ 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