-
Notifications
You must be signed in to change notification settings - Fork 3
Python bindings
Anuradha Wickramarachchi edited this page Aug 27, 2024
·
1 revision
When you install kmertools
from BioConda or PyPI now python bindings are available in the installed python environment. The package name inside python is pykmertools
and you can use it as follows.
>>> import pykmertools as kt
>>> print(kt.__doc__)
Pykmertools: kmertools python wrapper
Modules:
OligoComputer - computing oligonucleotide frequency vectors
from DNA sequences
CgrComputer - computing chaos game representations
for DNA sequences
KmerGenerator - an iterator object to generate k-mers
as (forward, reverse) numeric kmer tuples
MinimiserGenerator - an iterator object to iterate minimisers
as (kmer, start, end) numeric minimiser tuples
# TODO
Load from python as follows (script).
# TODO
The scatter plot would be as follows.
kmertools - k-mer driven genomics analytics toolkit