KMC_TOOLS-COMPLEX(1)
π KMC_TOOLS-COMPLEX π
okay bestie, welcome to the KMC_TOOLS-COMPLEX(1) page β yes that's the manual name, that's literally what you typed to get here, and no you're not lost, this is exactly where you're supposed to be π
β¨ NAME β¨
kmc_tools-complex β complex operations with a number of input databases π¦
like, not one database, not two... a whole friend group of databases, doing math together. iconic behaviour fr fr.
πΈ SYNOPSIS πΈ
kmc_tools complex <operations_definition_file>
π DESCRIPTION π
This command executes a combination of operations as defined by <operations_definition_file>. It is text file with following syntax:
__________________________________________________________________
|INPUT: |
|<input1>=<input1_db_path> [params] |
|<input2>=<input2_db_path> [params] |
|... |
|<inputN>=<inputN_db_path> [params] |
|OUTPUT: |
|<out_db_path>=<ref_input><oper><ref_input>[<oper><ref_input>[...] |
|[OUTPUT_PARAMS: __|
|<output_params>] | /
| | /
|_______________________________________________________________|/
so you write one lil text file, you tell it all your inputs, you give it a whole equation, and it just... runs it. no cap. that diagram is giving "I drew this in a text editor and I stand by it" and honestly? respect. π
π PARAMETERS π
input1,input2, ...,inputNβ names of inputs used to define equation β¨input1_db_path,input2_db_path, ...,inputN_db_pathβ paths to k-mers sets π
For each input there are additional parameters which can be set:
-ci<value>β exclude k-mers occurring less than<value>times πcx<value>β exclude k-mers occurring more of than<value>times π
bestie. look closely. the first one has a dash and the second one does not. that is not me being sloppy, that is literally what the page says, so type it exactly like that. do not "fix" it. I am begging. π«Ά
out_db_pathβ path to output database πref_inputβ one ofinput1,input2, ...,inputNβoperβ one of{*,-,~,+}, which refers to{intersect, kmers_subtract, counters_subtract, union}π₯
Operator '*' has the highest priority. Other operators have equal priorities. The order of operations can be changed with parentheses.
iykyk β that's just PEMDAS energy, but make it k-mers. the parentheses are your best friend, use them. π
Output parameters:
-ci<value>β exclude k-mers occurring less than<value>times πΈ-cx<value>β exclude k-mers occurring more of than<value>times π-cs<value>β maximal value of a counter π
π§ EXAMPLE π§
__________________________________________________________________
|INPUT: |
|set1 = kmc_o1 -ci5 |
|set2 = kmc_o2 |
|set3 = kmc_o3 -ci10 -cx100 __|
|OUTPUT: | /
|result = (set3+set1)*set2 | /
|_______________________________________________________________|/
see how set1, set2, set3 are the lil nicknames, kmc_o1, kmc_o2, kmc_o3 are the actual database paths, and then result gets the whole (set3+set1)*set2 equation? main character energy. go off. π
π AUTHOR π
KMC was originally written by:
- Sebastian Deorowicz (sebastian.deorowicz@polsl.pl)
- Marek Kokot
- Szymon Grabowski
- Agnieszka Debudaj-Grabysz
π COPYING π
KMC is a free software distributed under GNU GPL3 licence for academic, research, and commercial use.
and that's the whole page bestie, we ate and left no crumbs π thanks for reading all the way to the bottom, where the footer just says KMC_TOOLS-COMPLEX(1) one more time like a little goodbye kiss β mwah, go run your complex operations, you've got this π«Άβ¨
π¦ where this page comes from
- ubuntu noble: kmc 3.2.4+dfsg-1 Β· GPL-3.0-only
- ubuntu questing: kmc 3.2.4+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms