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.

Menu:

AMRfíor - The AMR Multi-Tool Gene Detection Workflow.

options:
  -h, --help            show this help message and exit

Required selection:
  -i, --input INPUT     Input FASTA file with sequences to analyse
  -o, --output OUTPUT   Output directory for results

Output selection:
  --report_fasta {None,all,detected,detected-all}
                        Specify whether to output sequences that "mapped" to genes."all" should only be used for deep investigation/debugging."detected" will
                        report the reads that passed detection thresholds for each detected gene."detected-all" will report all reads for each detected gene.
                        (default: None)

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

Query threshold Parameters:
  --q-min-cov, --query-min-coverage QUERY_MIN_COVERAGE
                        Minimum coverage threshold in percent (default: 40.0)

Gene Detection Parameters:
  --d-min-cov, --detection-min-coverage DETECTION_MIN_COVERAGE
                        Minimum coverage threshold in percent (default: 80.0)
  --d-min-id, --detection-min-identity DETECTION_MIN_IDENTITY
                        Minimum identity threshold in percent (default: 80.0)

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)
  --no_cleanup
  -v, --verbose

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 and dna-only mode
  python amr_pipeline.py -i nanopore.fasta -o results/ \
    -t 16 --d-min-cov 90 --d-min-id 85 \
     --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.1.tar.gz (28.3 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.1-py3-none-any.whl (28.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: amrfior-0.1.1.tar.gz
  • Upload date:
  • Size: 28.3 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.1.tar.gz
Algorithm Hash digest
SHA256 7d829b8ee3cc85ba2947fcf830c0a5065e0a7154106eba65e75d3f9435d80d49
MD5 d74af4f0ce4cc9c18e5ea7f23a77d1d8
BLAKE2b-256 fe47a8f5e00301a8bc904ca3991ddf1a60edc38f80c275b4970362974f149733

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amrfior-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c9c0f35e3d0ebb931435e47bdf54f484168b15a2f91522b5c07f2f862a9c62b
MD5 4d5acd2a1317b49207148139ebc144e1
BLAKE2b-256 72ea91833e75197c52117bd7c9dd6cd752ee8d01953430b863ea90858a5538ff

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