Closed sekhwal closed 1 year ago
(mob_env)U:~/mob.suite_run$ mob_typer --infile node2.fasta --out_file re.txt
2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: Running Mob-typer version 3.1.4 [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/mob_typer.py:173] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: Processing fasta file node2.fasta [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/mob_typer.py:175] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: SUCCESS: Found program blastn at /home/anaconda3/envs/mob_env/bin/blastn [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/utils.py:592] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: SUCCESS: Found program makeblastdb at /home/anaconda3/envs/mob_env/bin/makeblastdb [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/utils.py:592] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: SUCCESS: Found program tblastn at /home/anaconda3/envs/mob_env/bin/tblastn [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/utils.py:592] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: Warning! Needed database missing "/home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/databases/ncbi_plasmid_full_seqs.fas.msh" [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/mob_typer.py:321] usage: mob_typer [-h] [-d DATABASE_DIRECTORY] [-v] [-V] mob_typer: error: unrecognized arguments: --infile node2.fasta --out_file re.txt
The error here is pointing a missing database. You need to download and initialize the various databases using mob_init. Please run mob_init and see if that resolves the issue.
I installed the pipeline using conda. However, when I run it, it shows the following error.
(mob_env)U:~/mob.suite_run$ mob_typer --infile node2.fasta --out_file re.txt
2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: Running Mob-typer version 3.1.4 [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/mob_typer.py:173] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: Processing fasta file node2.fasta [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/mob_typer.py:175] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: SUCCESS: Found program blastn at /home/anaconda3/envs/mob_env/bin/blastn [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/utils.py:592] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: SUCCESS: Found program makeblastdb at /home/anaconda3/envs/mob_env/bin/makeblastdb [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/utils.py:592] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: SUCCESS: Found program tblastn at /home/anaconda3/envs/mob_env/bin/tblastn [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/utils.py:592] 2023-02-18 21:55:12,219 mob_suite.mob_typer INFO: Warning! Needed database missing "/home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/databases/ncbi_plasmid_full_seqs.fas.msh" [in /home/anaconda3/envs/mob_env/lib/python3.8/site-packages/mob_suite/mob_typer.py:321] usage: mob_typer [-h] [-d DATABASE_DIRECTORY] [-v] [-V] mob_typer: error: unrecognized arguments: --infile node2.fasta --out_file re.txt