Skip to main content

Covest estimates the coverage and genome size, just from k-mer abundance histogram computed from DNA sequences reads.

Project description

Tool that estimates coverage (and genome size) of dna sequence from reads.

https://badge.fury.io/py/covest.svg https://travis-ci.org/mhozza/covest.svg?branch=master

Requirements

  • python 3.4+

  • python3-dev

  • gcc

Installation

We suggest to install CovEst in python3 virtual environment.

pip install covest

For development:

pip install -e . from the project directory

Usage

type covest --help for the usage.

Basic Usage:

covest histogram -m model -k K -r read_length

  • You can specify the read file using -s reads.fa parameter for more precise genome size computation.

  • default K is 21

  • default read length is 100

  • currently, the supported models are:

    • basic: for simple genomes without repeats

    • repeat: for genomes with repetitive sequences

Input Histogram Specification:

The input histogram can be generated from the read data using jellyfish.

  • jellyfish count -m K -C reads.fa -o table.jf

  • jellyfish histo table.jf -o reads.hist

The format of the histogram is just list of lines. Each lines contains an index and value separated by space.

Output Specification:

CovEst outputs it’s results in simple subset of YAML format for best human readability and possibility of machine processing.

The output are lines containing key: value. The most important keys are coverage and genome_size (or genome_size_reads if read file was specified).

Other included tools

  • geset.py tool for estimation genome size from reads and known coverage

  • kmer_hist.py custom khmer histogram computation, it is much slower than other tools, so use it only if you have no other option.

  • read_sampler.py script for subsampling reads, useful if you have very high coverage data and want to make it smaller.

  • fasta_length.py get total length of all sequences in fasta file.

  • Read simulator:

    • generate_sequence.py random sequence generator

    • read_simulator.py tool for generating random reads form the sequence

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

covest-0.4.4.tar.gz (38.4 kB view details)

Uploaded Source

File details

Details for the file covest-0.4.4.tar.gz.

File metadata

  • Download URL: covest-0.4.4.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for covest-0.4.4.tar.gz
Algorithm Hash digest
SHA256 47f48e1620826b0482643df8c26e7774f46b29f2750afc7f1e3a196f7e332414
MD5 80d24f79b4b191cbd0d4d1f789b7782e
BLAKE2b-256 faff8c96a218056ec7adfd5fb251b89e4171c5260d5e2d61aeb36df67743b202

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page