Rebuild contigs from serie of contiguous kmers formatted in fasta
Project description
mkprobe
Description
Build contigs from a suite of contiguous kmers as fasta format
kmers of input fasta file :
ATCG kmer 1
TCGC kmer 2
CGCT kmer 3
GCTA kmer 4
CTAT kmer 5
TATG kmer 6
ATGG kmer 7
contigs of output
ATCGCTA contig 1
CTATGG contig 2
Installation
No dependency required.
# with pip (recommended)
pip install mkprobe
# or github
git clone https://github.com/Transipedia/mkprobe.git
Examples
# All in a single output fasta file
mkprobe path/to/fasta/* -o result.fa
# All in a single output TSV file
mkprobe path/to/fasta/* -o result.tsv
# in separated files
for file in path/to/fasta/files/*
do
mkprobe $file -o output/$(basename $file}
done
Usage
usage: main.py [-h] [-o OUTPUT] [-v] [files ...]
positional arguments:
files fasta files
options:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
output file name, by default at fasta. If extension is 'tsv',
output will be a tabuled file
-a, --add-filename add file name to the headers, useful for multiple files
-k, --keep-all keep all fasta headers, not just the first space-separated string
-v, --version show program's version number and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mkprobe-0.2.0.tar.gz
(15.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mkprobe-0.2.0-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file mkprobe-0.2.0.tar.gz.
File metadata
- Download URL: mkprobe-0.2.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
561d2fcfe3c7719765cd1d6e616dcdeb8019020aea04995caa83b083e6f6608c
|
|
| MD5 |
8370834f264f133183cfc11a800a6e67
|
|
| BLAKE2b-256 |
52720e4cdd0711c539c7d809e36673859bd7ebc089cf684f32bdb04ecec39092
|
File details
Details for the file mkprobe-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mkprobe-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5d668a9b9857d059eedd4db433ffc1fe303b9a3316c9f936a91326722036317
|
|
| MD5 |
278faefeda4a9115393b109752958b46
|
|
| BLAKE2b-256 |
aedcdc796025f65184fdd1e275b3148811c4424b1604b93567764956c239b949
|