diff --git a/data_managers/data_manager_build_staramr/.shed.yml b/data_managers/data_manager_build_staramr/.shed.yml
new file mode 100644
index 00000000000..7f7e7d59ede
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/.shed.yml
@@ -0,0 +1,10 @@
+name: data_manager_build_staramr
+owner: iuc
+description: "Download the Resfinder, Pointfinder and Plasmidfinder databases for staramr search command"
+homepage_url: "https://github.com/phac-nml/staramr"
+long_description: |
+ Download the Resfinder, Pointfinder and Plasmidfinder databases for starAMR using the commits corresponding to the versions of the different databases.
+remote_repository_url: "https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_staramr"
+type: unrestricted
+categories:
+- Data Managers
\ No newline at end of file
diff --git a/data_managers/data_manager_build_staramr/data_manager/data_manager_build_staramr_download.xml b/data_managers/data_manager_build_staramr/data_manager/data_manager_build_staramr_download.xml
new file mode 100644
index 00000000000..c8d8cad1bd0
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/data_manager/data_manager_build_staramr_download.xml
@@ -0,0 +1,117 @@
+
+
+
+ 0.10.0
+ 0
+ 22.05
+
+
+
+
+
+
+
+
+
+
+ staramr
+
+
+
+
+
+
+
+ ResFinder tag 2.4.0 (commit d1e607b) 2024-08-06
+ ResFinder tag 2.3.1 (commit c8c38c3) 2024-03-22
+ ResFinder tag 2.3.0 (commit 16d7fd3) 2023-03-08
+ ResFinder tag 2.2.1 (commit 208efbd) 2023-10-27
+ ResFinder tag 2.1.1 (commit 1a53e55) 2023-05-31
+ ResFinder tag 2.1.0 (commit c0cab25) 2023-03-03
+ ResFinder tag 2.0.2 (commit 18e3988) 2023-02-08
+ ResFinder tag 2.0.1 (commit 8306696) 2023-01-16
+ ResFinder tag 2.0.0 (commit 585ec75) 2022-10-13
+
+
+ PointFinder tag 4.1.1 (commit 694919f) 2024-08-08
+ PointFinder tag 4.1.0 (commit 9d55d02) 2024-03-08
+ PointFinder tag 4.0.1 (commit b6e9e0b) 2023-11-02
+ PointFinder tag 3.0.1 (commit cb7806f) 2023-05-31
+ PointFinder tag 3.0.0 (commit 3556bad) 2023-01-18
+ PointFinder tag 2.0.1 (commit 0b281b0) 2023-01-18
+ PointFinder tag 2.0.0 (commit afbc82d) 2022-10-13
+
+
+ PlasmidFinder (commit 3e77502) 2024-03-07
+ PlasmidFinder (commit 81c11f4) 2024-12-04
+ PlasmidFinder (commit 314d85f) 2023-03-17
+ PlasmidFinder tag 2.1 (commit 1307168) 2019-08-28
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 10.3390/microorganisms10020292
+
+
\ No newline at end of file
diff --git a/data_managers/data_manager_build_staramr/data_manager_conf.xml b/data_managers/data_manager_build_staramr/data_manager_conf.xml
new file mode 100644
index 00000000000..c6681ca2795
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/data_manager_conf.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+ ${path}
+ staramr/${path}
+
+ ${GALAXY_DATA_MANAGER_DATA_PATH}/staramr/${path}
+ abspath
+
+
+
+
+
+
+
+
diff --git a/data_managers/data_manager_build_staramr/test-data/staramr_database.loc.test b/data_managers/data_manager_build_staramr/test-data/staramr_database.loc.test
new file mode 100644
index 00000000000..65e7509a92f
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/test-data/staramr_database.loc.test
@@ -0,0 +1,11 @@
+#This is a tab separated file describing the location of StarAMR databases
+#used for the StarAMR tool
+#
+#file has this format (white space characters are TAB characters)
+#
+#The columns are:
+#value name path resfinder_commit pointfinder_commit plasmidfinder_commit
+#
+#For example
+#staramr_downloaded_20241004_resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 ResFinder: tag 4.6.0, commit d1e607b, 2024-08-06 - PointFinder: tag 4.1.1, commit 694919f, 2024-08-08 - PlasmidFinder: commit 3e77502, 2024-03-07 (downloaded 20241004) /path/to/data d1e607b 694919f 3e77502
+staramr_downloaded_13012025_resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 starAMR databases with ResFinder: 2.4.0_d1e607b_2024-08-06, PointFinder: 4.1.1_694919f_2024-08-08, PlasmidFinder: 3e77502_2024-03-07 /tmp/tmpc6qeamum/galaxy-dev/tool-data/staramr/resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 d1e607b 694919f 3e77502
\ No newline at end of file
diff --git a/data_managers/data_manager_build_staramr/tool-data/staramr_database.loc.sample b/data_managers/data_manager_build_staramr/tool-data/staramr_database.loc.sample
new file mode 100644
index 00000000000..f27dc5a309c
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/tool-data/staramr_database.loc.sample
@@ -0,0 +1,10 @@
+#This is a tab separated file describing the location of StarAMR databases
+#used for the StarAMR tool
+#
+#file has this format (white space characters are TAB characters)
+#
+#The columns are:
+#value name path resfinder_commit pointfinder_commit plasmidfinder_commit
+#
+#For example
+#staramr_downloaded_20241004_resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 ResFinder: tag 4.6.0, commit d1e607b, 2024-08-06 - PointFinder: tag 4.1.1, commit 694919f, 2024-08-08 - PlasmidFinder: commit 3e77502, 2024-03-07 (downloaded 20241004) /path/to/data d1e607b 694919f 3e77502
\ No newline at end of file
diff --git a/data_managers/data_manager_build_staramr/tool_data_table_conf.xml.sample b/data_managers/data_manager_build_staramr/tool_data_table_conf.xml.sample
new file mode 100644
index 00000000000..93a3e0bd6c2
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/tool_data_table_conf.xml.sample
@@ -0,0 +1,6 @@
+
+
+ value, name, path, resfinder_commit, pointfinder_commit, plasmidfinder_commit
+
+
+
\ No newline at end of file
diff --git a/data_managers/data_manager_build_staramr/tool_data_table_conf.xml.test b/data_managers/data_manager_build_staramr/tool_data_table_conf.xml.test
new file mode 100644
index 00000000000..a188366464e
--- /dev/null
+++ b/data_managers/data_manager_build_staramr/tool_data_table_conf.xml.test
@@ -0,0 +1,6 @@
+
+
+ value, name, path, resfinder_commit, pointfinder_commit, plasmidfinder_commit
+
+
+
\ No newline at end of file
diff --git a/tools/staramr/.shed.yml b/tools/staramr/.shed.yml
new file mode 100644
index 00000000000..a3ad768a3d5
--- /dev/null
+++ b/tools/staramr/.shed.yml
@@ -0,0 +1,7 @@
+categories: [Sequence Analysis]
+description: Scan genome contigs against the ResFinder, PlasmidFinder, and PointFinder antimicrobial resistance databases.
+name: staramr
+owner: iuc
+long_description: staramr - Scans genome contigs (in FASTA format) against the ResFinder, PlasmidFinder, and PointFinder databases to search for antimicrobial resistance genomes. Makes predictions of the drugs these genes give resistance to.
+remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/master/tools/staramr
+homepage_url: https://github.com/phac-nml/staramr
diff --git a/tools/staramr/staramr_search.xml b/tools/staramr/staramr_search.xml
new file mode 100644
index 00000000000..5e7fd376a1c
--- /dev/null
+++ b/tools/staramr/staramr_search.xml
@@ -0,0 +1,1036 @@
+
+ Scans genome assemblies against the ResFinder, PlasmidFinder, and PointFinder databases searching for AMR genes
+
+ 0.11.0
+ 0
+ 22.05
+
+
+
+
+
+
+
+
+
+
+ staramr
+
+ mlst
+
+ staramr --version
+
+
+
+
+
+
+
+
+
+
+ Disable PointFinder
+ Campylobacter (campylobacter)
+ Enterococcus faecalis (enterococcus_faecalis)
+ Enterococcus faecium (enterococcus_faecium)
+ Escherichia coli (escherichia_coli)
+ Helicobacter pylori (helicobacter_pylori)
+ Salmonella (salmonella)
+
+ Unvalidated: Klebsiella (klebsiella)
+ Unvalidated: Mycobacterium tuberculosis (mycobacterium_tuberculosis)
+ Unvalidated: Neisseria gonorrhoeae (neisseria_gonorrhoeae)
+ Unvalidated: Plasmodium falciparum (plasmodium_falciparum)
+ Unvalidated: Staphylococcus aureus (staphylococcus_aureus)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Automatic
+ Aggregatibacter actinomycetemcomitans (aactinomycetemcomitans)
+ Acinetobacter baumannii (abaumannii)
+ Acinetobacter baumannii 2 (abaumannii_2)
+ Achromobacter (achromobacter)
+ Aeromonas (aeromonas)
+ Anaplasma phagocytophilum (aphagocytophilum)
+ Arcobacter (arcobacter)
+ Bartonella bacilliformis (bbacilliformis)
+ Burkholderia cepacia Complex (bcc)
+ Bacille cereus (bcereus)
+ Bacteroides fragilis (bfragilis)
+ Bartonella henselae (bhenselae)
+ Bacillus licheniformis 14 (blicheniformis_14)
+ Bordetella 3 (bordetella_3)
+ Borrelia (borrelia)
+ Burkholderia pseudomallei (bpseudomallei)
+ Brachyspira (brachyspira)
+ Brachyspira 2 (brachyspira_2)
+ Brachyspira 3 (brachyspira_3)
+ Brachyspira 4 (brachyspira_4)
+ Brachyspira 5 (brachyspira_5)
+ Brucella (brucella)
+ Bacillus subtilis (bsubtilis)
+ Bartonella washoensis (bwashoensis)
+ Campylobacter (campylobacter)
+ Campylobacter non-jejuni (campylobacter_nonjejuni)
+ Campylobacter non-jejuni 2 (campylobacter_nonjejuni_2)
+ Campylobacter non-jejuni 3 (campylobacter_nonjejuni_3)
+ Campylobacter non-jejuni 4 (campylobacter_nonjejuni_4)
+ Campylobacter non-jejuni 5 (campylobacter_nonjejuni_5)
+ Campylobacter non-jejuni 6 (campylobacter_nonjejuni_6)
+ Campylobacter non-jejuni 7 (campylobacter_nonjejuni_7)
+ Campylobacter non-jejuni 8 (campylobacter_nonjejuni_8)
+ Campylobacter non-jejuni 9 (campylobacter_nonjejuni_9)
+ Clostridium botulinum (cbotulinum)
+ Clostridioides difficile (cdifficile)
+ Citrobacter freundii (cfreundii)
+ Chlamydiales (chlamydiales)
+ Carnobacterium maltaromaticum (cmaltaromaticum)
+ Clostridium perfringens (cperfringens)
+ Cronobacter (cronobacter)
+ Clostridium septicum (csepticum)
+ Diphtheria 3 (diphtheria_3)
+ Dichelobacter nodosus (dnodosus)
+ Enterobacter cloacae (ecloacae)
+ Escherichia coli (ecoli)
+ Escherichia coli Achtman 4 (ecoli_achtman_4)
+ Edwardsiella (edwardsiella)
+ Enterococcus faecalis (efaecalis)
+ Enterococcus faecium (efaecium)
+ Flavobacterium psychrophilum (fpsychrophilum)
+ Gallibacterium (gallibacterium)
+ Geotrichum (geotrichum)
+ Helicobacter cinaedi (hcinaedi)
+ Helicobacter (helicobacter)
+ Haemophilus influenzae (hinfluenzae)
+ Haemophilus Parasuis (hparasuis)
+ Helicobacter suis (hsuis)
+ Klebsiella aerogenes (kaerogenes)
+ Kingella (kingella)
+ Klebsiella (klebsiella)
+ Klebsiella oxytoca (koxytoca)
+ Leptospira (leptospira)
+ Leptospira 2 (leptospira_2)
+ Leptospira 3 (leptospira_3)
+ Liberibacter (liberibacter)
+ Listeria (listeria_2)
+ Lactococcus lactis phage (llactis_phage)
+ Lactobacillus salivarius (lsalivarius)
+ Mycobacterium abscessus (mabscessus)
+ Mycoplasma agalactiae (magalactiae)
+ Mycoplasma anserisalpingitidis (manserisalpingitidis)
+ Mycobacterium bovis 2 (mbovis_2)
+ Microsporum canis (mcanis)
+ Macrococcus caseolyticus (mcaseolyticus)
+ Moraxella catarrhalis Achtman 6 (mcatarrhalis_achtman_6)
+ (Mycoplasma flocculare)
+ Mycoplasma gallisepticum (mgallisepticum)
+ Mycoplasma gallisepticum 2 (mgallisepticum_2)
+ Mannheimia haemolytica (mhaemolytica)
+ Mycoplasme hominis 3 (mhominis_3)
+ Mycoplasma hyopneumoniae (mhyopneumoniae)
+ Mycoplasma hyorhinis (mhyorhinis)
+ Mycoplasma iowae (miowae)
+ Melissococcus plutonius (mplutonius)
+ Mycoplasma pneumoniae (mpneumoniae)
+ Mammaliicoccus sciuri (msciuri)
+ Mycoplasma synoviae (msynoviae)
+ Mycobacteria 2 (mycobacteria_2)
+ Neisseria (neisseria)
+ Oral Streptococcus (oralstrep)
+ Ornithobacterium rhinotracheale (orhinotracheale)
+ Orientia tsutsugamushi (otsutsugamushi)
+ Propionibacterium acnes 3 (pacnes_3)
+ Pseudomonas aeruginosa (paeruginosa)
+ Photobacterium damselae (pdamselae)
+ Pseudomonas fluorescens (pfluorescens)
+ Porphyromonas gingivalis (pgingivalis)
+ Paenibacillus larvae (plarvae)
+ Pasteurella multocida (pmultocida)
+ Pasteurella multocida 2 (pmultocida_2)
+ Pediococcus pentosaceus (ppentosaceus)
+ Pseudomonas putida (pputida)
+ Piscirickettsia salmonis (psalmonis)
+ Riemerella anatipestifer (ranatipestifer)
+ Rhodococcus (rhodococcus)
+ Streptococcus agalactiae (sagalactiae)
+ Staphylococcus aureus (saureus)
+ Streptococcus bovis / Streptococcus equinus complex (sbsec)
+ Streptococcus canis (scanis)
+ Staphylococcus chromogenes (schromogenes)
+ Streptococcus dysgalactiae (sdysgalactiae)
+ Salmonella enterica Achtman 2 (senterica_achtman_2)
+ Staphylococcus epidermidis (sepidermidis)
+ Streptococcus gallolyticus (sgallolyticus)
+ Staphylococcus haemolyticus (shaemolyticus)
+ Shewanella (shewanella)
+ Staphylococcus hominis (shominis)
+ Sinorhizobium (sinorhizobium)
+ Stenotrophomonas maltophilia (smaltophilia)
+ Streptococcus pneumoniae (spneumoniae)
+ Staphylococcus pseudintermedius (spseudintermedius)
+ Streptococcus pyogenes (spyogenes)
+ Streptococcus suis (ssuis)
+ Staphylocoque lugdunensis (staphlugdunensis)
+ Streptococcus thermophilus (sthermophilus)
+ Streptomyces (streptomyces)
+ Streptococcus thermophilus (streptothermophilus)
+ Streptococcus uberis (suberis)
+ Streptococcus zooepidemicus (szooepidemicus)
+ Taylorella (taylorella)
+ Tenacibaculum (tenacibaculum)
+ Treponema pallidum (tpallidum)
+ Ureaplasma (ureaplasma)
+ Vibrio cholerae(vcholerae)
+ Vibrio cholerae 2 (vcholerae_2)
+ Vibrio (vibrio)
+ Vibrio parahaemolyticus (vparahaemolyticus)
+ Vibrio tapetis (vtapetis)
+ Vibrio vulnificus (vvulnificus)
+ Wolbachia (wolbachia)
+ Xylella fastidiosa (xfastidiosa)
+ Yersinia pseudotuberculosis Achtman 3 (ypseudotuberculosis_achtman_3)
+ Yersina ruckeri (yruckeri)
+
+
+
+ Exclude default list of AMR genes
+ Provide a custom list of AMR genes to exclude
+ Do not exclude any AMR genes
+
+
+
+
+
+
+
+
+
+ Include all available database types
+ Gram Positive
+ Enterobacteriaceae
+
+
+
+
+ MLST report
+ AMR genes/mutations summary
+ AMR genes/mutations/plasmids detailed summary
+ AMR gene report from ResFinder
+ AMR gene report from PlasmidFinder
+ AMR gene report from PointFinder
+ Settings file
+ Excel spreadsheet
+
+
+
+
+
+ output_files['output_selection'] and "mlst_table" in output_files['output_selection']
+
+
+ output_files['output_selection'] and "summary_table" in output_files['output_selection']
+
+
+ output_files['output_selection'] and "detailed_summary_table" in output_files['output_selection']
+
+
+ output_files['output_selection'] and "resfinder_table" in output_files['output_selection']
+
+
+ output_files['output_selection'] and "plasmidfinder_table" in output_files['output_selection']
+
+
+ pointfinder_organism != "disabled"
+ output_files['output_selection'] and "pointfinder_table" in output_files['output_selection']
+
+
+ output_files['output_selection'] and "settings_output" in output_files['output_selection']
+
+
+ output_files['output_selection'] and "excel_output" in output_files['output_selection']
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TAC (S -> Y) | 99.96 | 100.00 | 2637/2637 | contig00008 | 22801 | 20165 | S83Y | | | Target modification | 7492118,10471553 |
+| SRR1952926 | gyrA (S83Y) | ciprofloxacin I/R, nalidixic acid | Nalidixic acid,Ciprofloxacin | codon | 83 | TCC -> TAC (S -> Y) | 99.96 | 100.00 | 2637/2637 | contig00011 | 157768 | 160404 | S83Y | | | Target modification | 7492118,10471553 |
++------------+-------------+-----------------------------------+------------------------------+-------+----------+---------------------+-----------+----------+-------------------------+-------------+--------+--------+----------------------+-----------+-----------------------+---------------------+------------------+
+
+
+settings.txt
+````````````
+
+The command-line, database versions, and other settings used to run `staramr`.
+
+::
+
+ command_line = staramr search --pointfinder-organism enterococcus_faecium -o out pbp5.fa
+ version = 0.10.0
+ start_time = 2023-08-23 13:37:41
+ end_time = 2023-08-23 13:37:42
+ total_minutes = 0.02
+ resfinder_db_dir = staramr/databases/data/dist/resfinder
+ resfinder_db_url = https://bitbucket.org/genomicepidemiology/resfinder_db.git
+ resfinder_db_commit = fa32d9a3cf0c12ec70ca4e90c45c0d590ee810bd
+ resfinder_db_date = Tue, 24 May 2022 06:51
+ pointfinder_db_dir = staramr/databases/data/dist/pointfinder
+ pointfinder_db_url = https://bitbucket.org/genomicepidemiology/pointfinder_db.git
+ pointfinder_db_commit = 8c694b9f336153e6d618b897b3b4930961521eb8
+ pointfinder_db_date = Mon, 01 Feb 2021 15:46
+ pointfinder_organisms_all = campylobacter, enterococcus_faecalis, enterococcus_faecium, escherichia_coli, helicobacter_pylori, klebsiella, mycobacterium_tuberculosis, neisseria_gonorrhoeae, plasmodium_falciparum, salmonella, staphylococcus_aureus
+ pointfinder_organisms_valid = campylobacter, enterococcus_faecalis, enterococcus_faecium, escherichia_coli, helicobacter_pylori, salmonella
+ plasmidfinder_db_dir = staramr/databases/data/dist/plasmidfinder
+ plasmidfinder_db_url = https://bitbucket.org/genomicepidemiology/plasmidfinder_db.git
+ plasmidfinder_db_commit = c18e08c17a5988d4f075fc1171636e47546a323d
+ plasmidfinder_db_date = Wed, 18 Jan 2023 09:45
+ mlst_version = 2.23.0
+ pointfinder_organism = enterococcus_faecium
+ pointfinder_gene_drug_version = 072621.2
+ resfinder_gene_drug_version = 072621
+
+results.xlsx
+````````````
+
+An Excel spreadsheet containing the previous 5 files as separate worksheets.
+
+BLAST Hits
+``````````
+
+The dataset collection **hits** stores fasta files of the specific blast hits.
+
+.. _staramr: https://github.com/phac-nml/staramr
+.. _ResFinder: https://bitbucket.org/genomicepidemiology/resfinder_db
+.. _PlasmidFinder: https://bitbucket.org/genomicepidemiology/plasmidfinder_db
+.. _PointFinder: https://bitbucket.org/genomicepidemiology/pointfinder_db
+.. _webservices: http://www.genomicepidemiology.org/services/
+ ]]>
+
+ 10.3390/microorganisms1002029
+
+
+
+
+
+
+
+
+
diff --git a/tools/staramr/test-data/16S rc_gyrA rc_beta-lactam spaces (extra:characters).fsa b/tools/staramr/test-data/16S rc_gyrA rc_beta-lactam spaces (extra:characters).fsa
new file mode 120000
index 00000000000..a5aa69c26d6
--- /dev/null
+++ b/tools/staramr/test-data/16S rc_gyrA rc_beta-lactam spaces (extra:characters).fsa
@@ -0,0 +1 @@
+16S-rc_gyrA-rc_beta-lactam.fsa
\ No newline at end of file
diff --git a/tools/staramr/test-data/16S-rc_gyrA-rc_beta-lactam.fsa b/tools/staramr/test-data/16S-rc_gyrA-rc_beta-lactam.fsa
new file mode 100644
index 00000000000..c86a07c7748
--- /dev/null
+++ b/tools/staramr/test-data/16S-rc_gyrA-rc_beta-lactam.fsa
@@ -0,0 +1,88 @@
+>16S_rrsD rc (C1065T), gyrA rc G199C A67P, blaIMP-42_1_AB753456
+gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
+AGGTAAGGAGGTGATCCAACCGCAGGTTCCCCTACGGTTACCTTGTTACGACTTCACCCC
+AGTCATGAATCACAAAGTGGTAAGCGCCCTCCCGAAGGTTAAGCTACCTACTTCTTTTGC
+AACCCACTCCCATGGTGTGACGGGCGGTGTGTACAAGGCCCGGGAACGTATTCACCGTGG
+CATTCTGATCCACGATTACTAGCGATTCCGACTTCATGGAGTCGAGTTGCAGACTCCAAT
+CCGGACTACGACGCACTTTATGAGGTCCGCTTGCTCTCGCGAGGTCGCTTCTCTTTGTAT
+GCGCCATTGTAGCACGTGTGTAGCCCTGGTCGTAAGGGCCATGATGACTTGACGTCATCC
+CCACCTTCCTCCAGTTTATCACTGGCAGTCTCCTTTGAGTTCCCGACCTAATCGCTGGCA
+ACAAAGGATAAGGGTTGCGCTCGTTGCGGGACTTAACCCAACATTTCACAACACGAGCTa
+ACGACAGCCATGCAGCACCTGTCTCACAGTTCCCGAAGGCACCAATCCATCTCTGGAAAG
+TTCTGTGGATGTCAAGACCAGGTAAGGTTCTTCGCGTTGCATCGAATTAAACCACATGCT
+CCACCGCTTGTGCGGGCCCCCGTCAATTCATTTGAGTTTTAACCTTGCGGCCGTACTCCC
+CAGGCGGTCTACTTAACGCGTTAGCTCCGGAAGCCACGCCTCAAGGGCACAACCTCCAAG
+TAGACATCGTTTACGGCGTGGACTACCAGGGTATCTAATCCTGTTTGCTCCCCACGCTTT
+CGCACCTGAGCGTCAGTCTTTGTCCAGGGGGCCGCCTTCGCCACCGGTATTCCTCCAGAT
+CTCTACGCATTTCACCGCTACACCTGGAATTCTACCCCCCTCTACAAGACTCAAGCCTGC
+CAGTTTCGAATGCAGTTCCCAGGTTGAGCCCGGGGATTTCACATCCGACTTGACAGACCG
+CCTGCGTGCGCTTTACGCCCAGTAATTCCGATTAACGCTTGCACCCTCCGTATTACCGCG
+GCTGCTGGCACGGAGTTAGCCGGTGCTTCTTCTGCGGGTAACGTCAATTGCTGCGGTTAT
+TAACCACAACACCTTCCTCCCCGCTGAAAGTACTTTACAACCCGAAGGCCTTCTTCATAC
+ACGCGGCATGGCTGCATCAGGCTTGCGCCCATTGTGCAATATTCCCCACTGCTGCCTCCC
+GTAGGAGTCTGGACCGTGTCTCAGTTCCAGTGTGGCTGGTCATCCTCTCAGACCAGCTAG
+GGATCGTCGCCTTGGTGAGCCGTTACCTCACCAACAAGCTAATCCCATCTGGGCACATCT
+GATGGCAAGAGGCCCGAAGGTCCCCCTCTTTGGTCTTGCGACGTTATGCGGTATTAGCCA
+CCGTTTCCAGTAGTTATCCCCCTCCATCAGGCAGTTTCCCAGACATTACTCACCCGTCCG
+CCACTCGTCAGCGAAGCAGCAAGCTGCTTCCTGTTACCGTTCGACTTGCATGTGTTAGGC
+CTGCCGCCAGCGTTCAATCTGAGCCATGATCAAACTCTTCAATTgggggggggggggggg
+gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
+TTACTCGTCAGCGTCATCCGCAACGTCGTCATCGCTTTCCGCTTCCGGGGCGATATCCTC
+ATCCCCTTCCGCCACGCTGCCGTCGATAGCGTCGAGTTCTTCGTCATCTACCGGTTCAGC
+AACGCGTTGCAGACCCACCACGTTTTCATCTTCCGCCGTGCGGATAAGGATAACGCCCTG
+GGTATTACGTCCCACGACGCTGATCTCGGACACTCGGGTACGCACCAGAGTACCGGCATC
+CGTGATCATCATGATCTGGTCGCAATCGTCTACCTGTACCGCACCGACAACGGAACCGTT
+GCGCTCGGTCACTTTGATAGAGATAACGCCCTGCGTCGCACGAGACTTGGTCGGGTACTC
+GTCCGCTGCGGTACGCTTCCCGTAGCCGTTTTGCGTTACGGTCAGAATAGCGCCTTCGCC
+GCGTGGGATGATCAGAGAGACGACTTTATCGTCTCCCGCCAGCTTAATACCGCGCACACC
+GGTCGCGGTACGCCCCATCGCACGGACGGCGTCTTCTTTGAAGCGCACCACTTTACCCGC
+GGCCGAGAACAGCATGACTTCGTCAGAACCAGAAGTCAGGTCAACGCCAATCAGCTCGTC
+GCCGTCGTTGAGGTTCACCGCGATAATACCGGCGGAACGCGGACGGCTGAATTCGGTCAG
+CGCCGTTTTCTTCACGGTACCGCTGGCGGTCGCCATAAAGACGTTGACGCCTTCTTCGTA
+TTCACGAACCGGCAGAATCGCGGTGATACGTTCGTTGGCTTCCAGCGGCAGCAGGTTAAC
+GATCGGACGACCGCGCGCGCCGCGGCTGGCTTCCGGCAACTGATAGACCTTCATCCAGTA
+CAGACGGCCCCGGCTGGAGAAGCAGAGGATGGTGTCATGGGTGTTGGCCACCAGCAGGCG
+GTCGATAAAGTCTTCTTCTTTAATACGCGCGGCAGATTTACCTTTCCCACCACGACGTTG
+CGCTTCGTAATCCGTCAGCGGTTGATATTTGACGTAACCCTGGTGAGACAGCGTCACGAC
+AACATCTTCCTGGCTAATCAGATCTTCGATATTAATATCGGCGCTGTTGGCGGTGATTTC
+GGTACGACGCTCATCGCCGAACTGATCGCGAATTAACTCCATCTCTTCGCGGATCACTTC
+CATCAGGCGATCGGCGCTGCCCAGAATGTGCAGCAGTTCAGCAATCTGCTCCAGCAACTC
+TTTGTATTCGTCGAGCAGTTTTTCATGCTCCAGGCCGGTCAGTTTCTGCAAACGCAGATC
+CAGAATCGCCTGCGCCTGCTGCTCAGTCAGGTAATACTGACCGTCACGCACGCCAAATTC
+TGGCTCCAGCCATTCCGGACGCGCAGCGTCATCACCAGCGCGCTCCAGCATCGCAGCAAC
+GTTGCCCAGATCCCACGGACGCGAAATCAGCGCCGCTTTTGCTTCTGCCGGCGTTGGCGC
+GCGGCGAATCAGTTCGATAATCGGGTCGATGTTAGCCAGCGCAATCGCCAGAGCTTCAAG
+GATATGCGCGCGGTCACGGGCTTTACGCAGTTCAAAAATAGTACGACGCGTCACCACTTC
+ACGGCGGTGGCGCACGAACGCTGAAATGATGTCTTTCAGGTTCATGATCTTCGGCTGGCC
+GTGATGCAGCGCCACCATGTTAATACCGAAGGAAACCTGTAGCTGGGTCTGGGAGTAGAG
+ATTATTAAGCACCACCTCGCCCACCGCATCGCGTTTCACTTCAATCACGATGCGCATCCC
+GTCTTTGTCGGATTCGTCACGCAGCGCGCTGATGCCTTCCACGCGTTTATCTTTCACCAG
+CTCGGCGATTTTCTCGATCAGGCGCGCTTTGTTCACCTGATAGGGAATTTCATGGACGAT
+GATGGTTTCACGGCCCGTTTTCGCGTCAGCTTCAACTTCCGCGCGGGCGCGAATGTACAC
+TTTGCCACGACCGGTACGGTAGGCTTCTTCGATACCACGACGACCGTTGATGATCGCGGC
+GGTCGGGAAGTCCGGCCCCGGAATATGTTCCATCAGCCCTTCAATGCTGATGTCTTCGTT
+GTCGATATACGCCAGGCAGCCGTTAATCACTTCCGTCAGGTTGTGCGGCGGGATATTCGT
+CGCCATACCTACTGCGATACCGGAAGAACCGTTCACCAGCAGATTCGGAATTTTGGTCGG
+CATGACGTCCGGAATTTTTTCCGTACCGTCATAGTTATCCACGAAATCCACCGTCTCTTT
+TTCGAGATCGGCCATCAGTTCGTGGGCGATTTTCGCCAGACGGATCTCCGTATAACGCAT
+TGCCGCCGCGGAGTCGCCGTCAATAGAACCGAAGTTACCCTGACCATCCACCAGCATGTA
+ACGCAGCGAGAATGGCTGCGCCATACGAACGATGGTGTCATACACTGCGGAATCGCCGTG
+GGGATGGTATTTACCGATTACGTCACCAACGACACGGGgAGATTTTTTATAGGCTTTGTT
+CCAGTCATTGCCCAATACGTTCATGGCGTAAAGTACGCGACGGTGTACCGGCTTCAGGCC
+ATCTCGGACATCCGGCAGCGCACGGCCAACAATGACCGACATCGCATAATCCAGATAGGA
+GCTTTTCAGCTCTTCCTCAATGTTGACCGGTGTAATTTCTCTCGCAAGGTCGCTCATggg
+gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
+ATGAGCAAGTTATCTGCATTCTTTATATTTTTGTTTTGCAGCATTGATACCGCAGCAGAG
+TCTTTGCCAGATTTAAAAATTGAAAAGCTTGATGAAGGCGTTTATGTTCATACTTCGTTT
+GAAGAAGTTAACAGGTGGGGCGTTGTTCCTAAACATGGTTTGGTGGTTCTTGTAAATGCT
+GAGGCTTACCTAATTGACACTCCATTTACGGCTAAAGATACTGAAAAGTTAGTCACTTGG
+TTTGTGGAGCGTGGCTATAAAATAAAAGGCAGCATTTCCTCTCATTTTCATAGCGACAGC
+ACGGGCGGAATAGAGTGGCTTAATTCTCGATCTATCCCCACGTATGCATCTGAATTAACA
+AATGAACTGCTTAAAAAAGACGGTAAGGTTCAAGCCACAAATTCATTTAGCGGAGTTAAC
+TATTGGCTAGTTAAAAATAAAATTGAAGTTTTTTATCCAGGCCCGGGACACACTCCAGAT
+AACGTAGTGGTTTGGTTGCCTGAAAGGAAAATATTATTCGGTGGTTGTTTTATTAAACCG
+TACGGTTTAGGCAATTTGGGTGACGCAAATATAGAAGCTTGGCCAAAGTCCGCCAAATTA
+TTAAAGTCCAAATATGGTAAGGCAAAACTGGTTGTTCCAAGTCACAGTGAAGTTGGAGAC
+GCATCACTCTTGAAACTTACATTAGAGCAGGCGGTTAAAGGGTTAAACGAAAGTAAAAAA
+CCATCAAAACCAAGCAACTAAggggggggggggggggggggggggggggggggggggggg
+gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
diff --git a/tools/staramr/test-data/genes_to_exclude.tsv b/tools/staramr/test-data/genes_to_exclude.tsv
new file mode 100644
index 00000000000..47ab30a0428
--- /dev/null
+++ b/tools/staramr/test-data/genes_to_exclude.tsv
@@ -0,0 +1,2 @@
+gene_id
+aac(6')-Iaa_1_NC_003197
diff --git a/tools/staramr/test-data/staramr_database.loc b/tools/staramr/test-data/staramr_database.loc
new file mode 100644
index 00000000000..b69021ec1a9
--- /dev/null
+++ b/tools/staramr/test-data/staramr_database.loc
@@ -0,0 +1,11 @@
+#This is a tab separated file describing the location of StarAMR databases
+#used for the StarAMR tool
+#
+#file has this format (white space characters are TAB characters)
+#
+#The columns are:
+#value name path resfinder_commit pointfinder_commit plasmidfinder_commit
+#
+#For example
+#staramr_downloaded_20241004_resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 ResFinder: tag 4.6.0, commit d1e607b, 2024-08-06 - PointFinder: tag 4.1.1, commit 694919f, 2024-08-08 - PlasmidFinder: commit 3e77502, 2024-03-07 (downloaded 20241004) /path/to/data d1e607b 694919f 3e77502
+staramr_downloaded_20112024_resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 starAMR databases with ResFinder: 2.4.0_d1e607b_2024-08-06, PointFinder: 4.1.1_694919f_2024-08-08, PlasmidFinder: 3e77502_2024-03-07 resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502 d1e607b 694919f 3e77502
\ No newline at end of file
diff --git a/tools/staramr/test-data/test-aminoglycoside.fsa b/tools/staramr/test-data/test-aminoglycoside.fsa
new file mode 100644
index 00000000000..cce653aa23e
--- /dev/null
+++ b/tools/staramr/test-data/test-aminoglycoside.fsa
@@ -0,0 +1,9 @@
+>aac(6')-Iaa_1_NC_003197
+ATGGACATCAGGCAAATGAACAGAACCCATCTGGATCACTGGCGCGGATTGCGAAAACAG
+CTCTGGCCTGGTCACCCGGATGACGCCCATCTGGCGGACGGCGAAGAAATTCTGCAAGCC
+GATCATCTGGCATCATTTATTGCGATGGCAGACGGGGTGGCGATTGGCTTTGCGGATGCC
+TCAATCCGCCACGATTATGTCAATGGCTGTGACAGTTCGCCCGTGGTTTTCCTTGAAGGT
+ATTTTTGTTCTCCCCTCATTCCGTCAACGCGGCGTAGCGAAACAATTGATTGCAGCGGTG
+CAACGATGGGGAACGAATAAAGGGTGTCGGGAAATGGCCTCCGATACCTCGCCGGAAAAT
+ACAATTTCCCAGAAAGTTCATCAGGCGTTAGGATTTGAGGAAACAGAGCGCGTCATTTTC
+TACCGAAAGCGTTGTTGA
diff --git a/tools/staramr/tool-data/staramr_database.loc.sample b/tools/staramr/tool-data/staramr_database.loc.sample
new file mode 100644
index 00000000000..1d3296545d3
--- /dev/null
+++ b/tools/staramr/tool-data/staramr_database.loc.sample
@@ -0,0 +1,3 @@
+#This is a sample file distributed with Galaxy that enables tools
+#file has this format (white space characters are TAB characters)
+#V4.0_2022-08-29 7025248 1.5 path/to/db
\ No newline at end of file
diff --git a/tools/staramr/tool_data_table_conf.xml.sample b/tools/staramr/tool_data_table_conf.xml.sample
new file mode 100644
index 00000000000..6e4275f42cf
--- /dev/null
+++ b/tools/staramr/tool_data_table_conf.xml.sample
@@ -0,0 +1,7 @@
+
+
+
+ value, name, path, resfinder_commit, pointfinder_commit, plasmidfinder_commit
+
+
+
\ No newline at end of file
diff --git a/tools/staramr/tool_data_table_conf.xml.test b/tools/staramr/tool_data_table_conf.xml.test
new file mode 100644
index 00000000000..f8d47a5b8d8
--- /dev/null
+++ b/tools/staramr/tool_data_table_conf.xml.test
@@ -0,0 +1,7 @@
+
+
+
+ value, name, path, resfinder_commit, pointfinder_commit, plasmidfinder_commit
+
+
+
\ No newline at end of file