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 hashes)

Uploaded Python 3

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