RUN_RESFINDER.PY(1)
π RUN_RESFINDER.PY(1) π
okay so you found your way into the User Commands corner of the manual and the thing you're looking at is run_resfinder.py π¦ β the script that sniffs out acquired antimicrobial resistance genes. sit down, grab a strawberry, and let's get into it bestie, because this one has a lot of flags and every single one of them matters π
β¨ NAME β¨
run_resfinder.py β identify acquired antimicrobial resistance genes π₯
πΈ DESCRIPTION πΈ
the way this program wants to be called is literally this, no cap:
usage: run_resfinder.py [-h] [-ifa INPUTFASTA]
[-ifq INPUTFASTQ [INPUTFASTQ ...]] [-o OUT_PATH]
[-b BLAST_PATH] [-k KMA_PATH] [-s SPECIES] [-db_res DB_PATH_RES]
[-db_res_kma DB_PATH_RES_KMA] [-d DATABASES] [-acq] [-ao
ACQ_OVERLAP] [-l MIN_COV] [-t THRESHOLD] [-c] [-db_point
DB_PATH_POINT] [-db_point_kma DB_PATH_POINT_KMA] [-g
SPECIFIC_GENE [SPECIFIC_GENE ...]] [-u] [-l_p MIN_COV_POINT]
[-t_p THRESHOLD_POINT] [--pickle]
that's the whole vibe check right there. now let's break down every single argument, because we are not skipping any of them π
π optional arguments π
-h,--helpβ shows this help message and exits. the classic. the icon. when in doubt, ask for help, periodt π-ifa INPUTFASTA,--inputfasta INPUTFASTAβ your input fasta file. just the one. singular. she's a fasta girly π§-ifq INPUTFASTQ [INPUTFASTQ ...],--inputfastq INPUTFASTQ [INPUTFASTQ ...]β input fastq file(s). and here's the tea: if you hand over only one file it's assumed to be single-end fastq, and if you hand over two files it's assumed to be paired-end data. two files = couple goals fr fr π-o OUT_PATH,--outputPath OUT_PATHβ path to blast output. where the receipts go π-b BLAST_PATH,--blastPath BLAST_PATHβ path toblastn. point her at the binary bestie π-k KMA_PATH,--kmaPath KMA_PATHβ path to KMA. yes, that KMA. the kmer bestie π«Ά-s SPECIES,--species SPECIESβ species in the sample. like, who are we even talking about here π-db_res DB_PATH_RES,--db_path_res DB_PATH_RESβ path to the databases for ResFinder ποΈ-db_res_kma DB_PATH_RES_KMA,--db_path_res_kma DB_PATH_RES_KMAβ path to the ResFinder databases indexed with KMA. defaults to the'kma_indexing'directory inside the given database directory. lowkey convenient β¨-d DATABASES,--databases DATABASESβ the databases you've chosen to search in. and if none is specified, all of them get used. go big or go home π-acq,--acquiredβ runs resfinder for acquired resistance genes. that's the whole point of her π―-ao ACQ_OVERLAP,--acq_overlap ACQ_OVERLAPβ genes are allowed to overlap this number of nucleotides. default:30. let them overlap a little, it's fine π-l MIN_COV,--min_cov MIN_COVβ minimum (breadth-of) coverage of ResFinder. set the bar, bestie π-t THRESHOLD,--threshold THRESHOLDβ threshold for identity of ResFinder. how close is close enough π-c,--pointβ runs pointfinder for chromosomal mutations. different beast, same energy π§¬-db_point DB_PATH_POINT,--db_path_point DB_PATH_POINTβ path to the databases for PointFinder ποΈ-db_point_kma DB_PATH_POINT_KMA,--db_path_point_kma DB_PATH_POINT_KMAβ path to the PointFinder databases indexed with KMA. defaults to the'kma_indexing'directory inside the given database directory. twins with the ResFinder one, obsessed π-g SPECIFIC_GENE [SPECIFIC_GENE ...]β specify genes existing in the database to search for. if none is specified, all genes are included in the search. cherry-picking is allowed, slay π-u,--unknown_mutβ show all mutations found even if unknown to the resistance database. spill everything, even the mystery ones π-l_p MIN_COV_POINT,--min_cov_point MIN_COV_POINTβ minimum (breadth-of) coverage of Pointfinder. ifNoneis selected, the minimum coverage of ResFinder will be used. she borrows from her sister π«Ά-t_p THRESHOLD_POINT,--threshold_point THRESHOLD_POINTβ threshold for identity of Pointfinder. ifNoneis selected, the minimum coverage of ResFinder will be used. yes, it says coverage, and we are quoting her exactly, no edits π--pickleβ create a pickle dump of the Isolate object. currently needed in the CGE webserver. dependency and this option is being removed. so, like, don't build your whole life around it, it's on the way out π
π AUTHOR π
this manpage was written by Nilesh Patra for the Debian distribution and can be used for any other usage of the program. absolute legend, we love a manpage author π
and that's the whole page bestie, no notes, you ate it π β¨
run_resfinder.py 4.1.5 β July 2021 β that's the version and the date, tucked right at the end where the footer lives, mwah π
π¦ where this page comes from
- debian bookworm: resfinder 4.3.0-1 Β· Apache-2.0
- debian trixie: resfinder 4.4.2-2 Β· Apache-2.0
- ubuntu jammy: resfinder 4.1.6-1 Β· Apache-2.0
- ubuntu noble: resfinder 4.4.2-1 Β· Apache-2.0
- ubuntu questing: resfinder 4.4.2-2
- ubuntu resolute: resfinder 4.4.2-3 Β· Apache-2.0
- ubuntu stonking: resfinder 4.4.2-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms