Usage#
You can either compute the scaffolding from a Command Line Interface (CLI), or directly call the function in Python3 from the imported package.
Command line interface#
Usage:
python3.9 -m khloraascaf [-h] [--mult-upbound MULTIPLICITY_UPPERBOUND] [--presscore-upbound PRESENCE_SCORE_UPPERBOUND] [--solver {GUROBI,CBC}] [--out-directory OUTPUT_DIRECTORY] [--instance-name INSTANCE_NAME] [--debug]
contig_attributes contig_links starter_id
Positional arguments:
Argument name |
Description |
---|---|
|
The multiplicities and the presence score of the contigs |
|
The links between the oriented contigs |
|
The identifier of the starter contig |
Optional arguments:
Flag(s) and name |
Description |
---|---|
|
Show the help message |
|
The upper bound for unknown multiplicities |
|
The upper bound for unknown presence score |
|
The MILP solver to use |
|
The output directory path |
|
Custom prefix for outputs |
|
Outputs debugs |
Python function#
from khloraascaf import scaffolding
from pathlib import Path
scaffolding(
Path('tests/data/ir_sc/contig_attrs.tsv'),
Path('tests/data/ir_sc/contig_links.tsv'),
'C0',
)
See khloraascaf.scaffolding()
function API reference.