phac-nml / staramr

Scans genome contigs against the ResFinder, PlasmidFinder, and PointFinder databases.
Apache License 2.0
120 stars 26 forks source link

Genome length not within range #214

Open joao1980 opened 4 months ago

joao1980 commented 4 months ago

Hi and thanks for the tool. I have been using staramr on my data but I recently obtaind the follwoing result:

First, what doesa this mean? and, Second, should/Can we play around with the default cutoffs? Best regards, Joao

sgsutcliffe commented 4 months ago

Hello Joao, staramr has, slightly restrictive, defaults for genome size range. I believe it was set originally with the Salmonella genome in mind (~5Mbp). You should adjust the default cutoffs to fit with your specific genome. I would try adjusting the --genome-size-lower-bound and --genome-size-upper-bound parameters and see if that resolves the isssue. Good luck

joao1980 commented 4 months ago

Hi, Thanks for the reply. Hum...I am setting up the tool to run dynamically so that it can take any microorganism. What would be the implications of creating a higher range (e.g., 1Mbp to 10 Mbp) so that I can provide any prokaryote without having to set the genome upper and lower bounds? Thanks

sgsutcliffe commented 4 months ago

I think it's largely there as a check for reasonable genome assembly. I think if you trust the assembly then it's fine.