FASTK_python
Python interface for FASTK (currently Histex and Profex). Python >= 3 is required.
How to install
$ git clone https://github.com/yoshihikosuzuki/FASTK_python
$ cd FASTK_python
$ make
$ pip3 install .
How to use
Quick usage
import fastk
# Histex
hist = fastk.histex("/path/to/source[.hist]")
# Profex
prof = fastk.profex("/path/to/source[.prof]", read_id=1)
histex()
Signature: fastk.histex(fastk_prefix: str, min_count: int = 1, max_count: int = 100) -> bits.util._counter.RelCounter
Docstring:
Run Histex and return a histogram of k-mer count frequencies.
positional arguments:
@ fastk_prefix : Prefix of the output files of FastK.
optional arguments:
@ [min|max]_count : Specify the range of the k-mer count.
profex()
fastk.profex(
fastk_prefix: str,
read_id: int,
zero_padding: bool = False,
return_k: bool = False,
) -> Union[List[int], Tuple[List[int], int]]
Docstring:
Run Profex and return the k-mer count profile of a single read.
positional arguments:
@ fastk_prefix : Prefix of the output files of FastK.
@ read_id : Read ID (1, 2, ...)
@ zero_padding : If True, add (K - 1) zero counts to the prefix.
@ return_k : If True, return the value of K as well.
Metadata
Release files for fastk 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastk-1.1.tar.gz | 86.1 kB | Without provenance | Details for fastk-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastk-1.1-py3-none-any.whl | Python 3 | none | any | Details for fastk-1.1-py3-none-any.whl |
Total release size: 172.6 kB
Release files / fastk-1.1.tar.gz
| Download URL | fastk-1.1.tar.gz |
|---|---|
| Size | 86.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f386d3ab5fe285f2e6967e240db70b8d48a621ba6c61a14e2a35e88d15fab07f
|
|
BLAKE2b-256 checksum How to use checksums |
82f124b99a300fc009f7bbc6560db439fcbb55d98c287fc292cc071da8fcd1ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / fastk-1.1-py3-none-any.whl
| Download URL | fastk-1.1-py3-none-any.whl |
|---|---|
| Size | 86.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6986faa374e786585db2372e8ff51bb1edea84f2eb930e1320d8310e95580e91
|
|
BLAKE2b-256 checksum How to use checksums |
39bd25be4339926e681bc24656c746dd6a87553d791504e9eade650fa54de6df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for fastk 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.