Skip to main content

bfscan is designed to detect foodborne pathogens using bloom filter and machine learning

Project description

bfscan

BFScan is a tool to scan FASTA and FASTQ files using a combination of k-mer composition, Bloom-filter and machine learning methods.

Example

1. Construction a collection of Bloom filters for targets organisms

$ bfscan-build-filters \
    -i \
        data/fasta/salmonella.fasta \
        data/fasta/listeria.fasta \
        data/fasta/campylobacter.fasta \
    -o data/filters/filter

2. Training a machine learning model

$ bfscan-build-model \
    -i \
        data/fasta/salmonella.fasta \
        data/fasta/listeria.fasta \
        data/fasta/campylobacter.fasta \
    -o data/models/model \
    -background data/fastq/metagenome.fastq \
    -r data/reports/classification_report.txt

3. Running the search

$ bfscan-search \
    -i \
        reads.fastq \
    -o data/results/filtered \
    -F fastq
``

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bfscan-0.0.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file bfscan-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: bfscan-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for bfscan-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1b98759f110002cd7d3fb3f8bf7c72860442d4ef7c0caeac7bb465ba61bfed
MD5 a4cf0f12ed2d9ddf5ce86c7288b5be72
BLAKE2b-256 9dac4299ba931a01cefcec7c1ae43fedbe8279a1d2348805da6778d1f2b97ef4

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