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

Count canonical kmers with Abseil C++ `absl::flat_hash_map`

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

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.9%) to scientific vocabulary

Keywords

abseil bazel bazel-examples bioinformatics cpp hash-tables kmer kmer-counting kmer-frequency-count
Last synced: 5 months ago · JSON representation

Repository

Count canonical kmers with Abseil C++ `absl::flat_hash_map`

Basic Info
  • Host: GitHub
  • Owner: alexpreynolds
  • Language: C++
  • Default Branch: master
  • Homepage:
  • Size: 8.79 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
abseil bazel bazel-examples bioinformatics cpp hash-tables kmer kmer-counting kmer-frequency-count
Created over 7 years ago · Last pushed over 7 years ago
Metadata Files
Readme

README.md

kmer-counter-abseil

The kfs program reads in multiline FASTA records, counts canonical kmers using the Abseil C++ container:flat_hash_map.

Abseil C++

Integration of the Abseil C++ kit requires use of bazel, e.g., on OS X:

$ brew cask install homebrew/cask-versions/java8 $ brew install bazel

Clone the Abseil C++ Github repository:

$ make abseil-cpp

Edit the WORKSPACE file in this directory to specify the correct path for the Abseil C++ installation.

Then complete the build:

$ make abseil-cpp-build

This can take a few minutes.

Usage

Compilation

$ make kfs $ make msl $ make generate_fasta

These targets build binaries bazel-bin/src/kfs, bazel-bin/src/msl, and bazel-bin/src/generate_fasta, respectively.

Test data

$ bazel-bin/src/generate_fasta > test.fa

(Or build the generate_test_data target.)

Performance testing

Specify variables K (integer) and FASTA (path to FASTA sequences), before running tests with those variables, e.g.:

$ export K=29 $ export FASTA=test.fa $ /usr/bin/time -l bazel-bin/src/kfs -k ${K} -i ${FASTA} ...

Etc.

Owner

  • Name: Alex Reynolds
  • Login: alexpreynolds
  • Kind: user
  • Location: Seattle, WA USA
  • Company: Altius Institute for Biomedical Sciences

Pug caregiver, curler, cyclist, gardener, beginning French scholar

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 3
  • Total Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Alex Reynolds a****s@g****m 3

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels