Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexpreynolds/kmer-counter-sparse

Count canonical kmers with Google sparse_hash_map
https://github.com/alexpreynolds/kmer-counter-sparse

bioinformatics cpp hash-tables kmer kmer-counting kmer-frequency-count

Last synced: 8 days ago
JSON representation

Count canonical kmers with Google sparse_hash_map

Awesome Lists containing this project

README

        

# kmer-counter-sparse

The `kfs` program reads in multiline FASTA records, counts canonical kmers using Google's [`sparse_hash_map` hash table](https://github.com/sparsehash/sparsehash), and measures time taken to read in and process records.

## Usage

To install `sparse_hash_map` libraries on OS X, use Homebrew: `brew install google-sparsehash`.

### Compilation

```
$ make kfs
```

### Performance

Specify variables `K` (integer) and `FASTA` (path to FASTA sequences).

```
$ /usr/bin/time -l ./kfs -k ${K} -i ${FASTA}
...
```