Skip to content

Build contigs from contiguous kmers stored as fasta files

License

Notifications You must be signed in to change notification settings

Transipedia/mkprobe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/files/*  -o result.fa

# All in a single output TSV file
mkprobe path/to/fasta/files/*  -o result.tsv

# in separated files
for file in path/to/fasta/files/*
do
  mkprobe $file -o  output/$(basename $file}
done

Nota: when several files are given at input, mkprobe add the name of the file (minus extension) to headers.

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
  -v, --version         show program's version number and exit

About

Build contigs from contiguous kmers stored as fasta files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages