This is a test version of Biostars. For the public version, visit https://www.biostars.org.
error in rgi tool to detect antibiotic resistance genes

I have used the "rgi" tool to screen for antibiotic resistant genes against CARD database from the sample which are protein sequences using the command line given below.

rgi main -i Documents/MG.aa.calls.clean.fa -o Documents/CARD1/rgi/arg-1 -t protein -a DIAMOND -n 4 --low_quality

I get the following error

Error: Invalid parameter count for option '--query'
ERROR 2020-01-24 14:18:56,425 : missing blast xml file(/home/dymphan/Documents/CARD1/rgi/MG.aa.calls.clean.fa.temp.blastRes.xml). Please check if input_type: 'protein' correspond with input file: '/home/dymphan/Documents/MG.aa.calls.clean.fa' or use '--low_quality' flag for short contigs to predicts partial genes.

I would like to know the cause for the above error and any changes that need to be made.

gene next-gen sequencing sequence software error

You seem to be missing a blast xml file. You also have a couple other suggestions to check in the error message.

My input file has protein sequences in fasta format. how can I get a .xml file. I have also added the other options in command line.

0 answers

No answers yet.

Log in to answer this question.