Skip to main content

AMRfior: A toolkit that uses BLAST, BWA, Bowtie2, DIAMOND, and Minimap2 to search DNA and protein sequences against AMR databases (DNA and AA) such as CARD/RGI and ResFinder.

Project description

AMRfíor (pronounced "feer", sounds like beer)

This toolkit utilises a combined approach that uses BLAST, BWA, Bowtie2, DIAMOND, and Minimap2 to search DNA and protein sequences against AMR databases (DNA and AA) such as CARD/RGI and ResFinder (future work will include more databases).

Menu:

    AMR Gene Detection Pipeline - Multi-tool alignment with detection matrices

options:
  -h, --help            show this help message and exit
  -i, --input INPUT     Input FASTA file with sequences to analyse
  -o, --output OUTPUT   Output directory for results

Tool selection:
  --tools {blastn,blastp,diamond,bowtie2,bwa,minimap2} [{blastn,blastp,diamond,bowtie2,bwa,minimap2} ...]
                        Specify which tools to run (default: all)

Gene Detection Parameters:
  --min-cov, --min-coverage MIN_COVERAGE
                        Minimum coverage threshold in percent (default: 80.0)
  --min-id, --min-identity MIN_IDENTITY
                        Minimum identity threshold in percent (default: 80.0)
  --max_target_seqs MAX_TARGET_SEQS
                        Maximum number of "hits" to return per query sequence (default: 100)

Mode Selection:
  --dna-only            Run only DNA-based tools
  --protein-only        Run only protein-based tools
  --sensitivity {default,conservative,sensitive,very-sensitive}
                        Preset sensitivity levels - default means each tool uses its own default settings and very-
                        sensitive applies DIAMONDs --ultra-sensitive and Bowtie2s --very-sensitive-local presets

Tool-Specific Parameters:
  --minimap2-preset {sr,map-ont,map-pb,map-hifi}
                        Minimap2 preset: sr=short reads, map-ont=Oxford Nanopore, map-pb=PacBio, map-hifi=PacBio HiFi
                        (default: sr)

Runtime Parameters:
  -t, --threads THREADS
                        Number of threads to use (default: 4)

Examples:
  # Basic usage with default tools
  python amr_pipeline.py -i reads.fasta -o results/

  # Select specific tools
  python amr_pipeline.py -i reads.fasta -o results/ \
    --tools blastn diamond bowtie2

  # Custom thresholds with long reads
  python amr_pipeline.py -i nanopore.fasta -o results/ \
    -t 16 --min-cov 90 --min-id 85 \
    --minimap-preset map-ont --dna-only

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

amrfior-0.1.0.tar.gz (28.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amrfior-0.1.0-py3-none-any.whl (28.8 MB view details)

Uploaded Python 3

File details

Details for the file amrfior-0.1.0.tar.gz.

File metadata

  • Download URL: amrfior-0.1.0.tar.gz
  • Upload date:
  • Size: 28.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for amrfior-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fdf48ced25f2e7449dfcb6fb66d577adbf319f6cbed3495db9943a41b0101cb3
MD5 dd9c9a29b30ec0f2f702374c7e3a7918
BLAKE2b-256 2eb49794a844d9b287d288281c6e9a4c5a7655738e997794f71e83f2b45e0e92

See more details on using hashes here.

File details

Details for the file amrfior-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: amrfior-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for amrfior-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94e63337ebd8148aa567cae7a1c32671ee20d4e39d0c5d449b3acc187e7775f7
MD5 fae14130623f12a706e389f54c5222ee
BLAKE2b-256 29ba8e287d93a763426820ad26082f164f7d0fc69a43b62c5dafbb60ff32e784

See more details on using hashes here.

Supported by

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