Closed lisiruisusan closed 1 year ago
Hello Please check the manual to find out the correct way of specifying new databases Best,
Dear author,
Thanks so much for your reply. Problems solved.
Yours sincerely,
Li
March 31st 2023
Hello, I would like to ask how to solve this problem? I've encountered it too, but I don't know what's wrong~
db.list:CazyDB /public/home/zhanglj/squeezemetatrans/Squeezemetacazy /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/CAZyDB.Annotation
run:/public/home/zhanglj/miniconda3/envs/squeezeMeta/SqueezeMeta/utils/add_database.pl shotguntrans db.list
Please follow the instructions in the manual
Please follow the instructions in the manual
sadly, Professor, still can't run successfully,
(squeezeMeta) [zhanglj@admin Squeezemetacazy]$ ls CAZy_description.txt CAZy.dmnd (squeezeMeta) [zhanglj@admin Squeezemetacazy]$ pwd /public/home/zhanglj/squeezemetatrans/Squeezemetacazy
CazyDB /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/CAZy /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/CAZy_description.txt(db.list)
/public/home/zhanglj/miniconda3/envs/squeezeMeta/SqueezeMeta/utils/add_database.pl shotguntrans db.list(command)
Calculating coverage for functions Can't open EXTDB file CazyDB Can't open EXTDB file CazyDB
Did you format the database? What is its name?
yes i formatted, its named CAZy.dmnd(Already formatted according to the instructions) /public/home/zhanglj/miniconda3/envs/squeezeMeta/SqueezeMeta/bin/diamond makedb -d /public/home/zhanglj/db/Squeezemetacazy/cazy.dmnd --in /public/home/zhanglj/db/dbcan3/CAZyDB.07262023.fa
or you may mean this database? (squeezeMeta) [zhanglj@admin db]$ ls arc.all.faa bac.scg.faa hmms mito.hmm silva.nr_v132.align arc.hmm bac.scg.lookup hmms_ssu nr.dmnd silva.nr_v132.align.md5 arc.scg.faa DB_BUILD_DATE img nr.md5 silva.nr_v132.tax arc.scg.lookup distributions keggdb.dmnd pfam silva.nr_v132.tax.md5 bac.all.faa eggnog.dmnd kegg.db.md5 Pfam-A.hmm taxon_marker_sets.tsv bacar_marker.hmm euk.hmm LCA_tax ReadMe test_data bac.hmm genome_tree marker.hmm selected_marker_sets.tsv (squeezeMeta) [zhanglj@admin db]$ pwd /mnt/hpc/home/zhanglj/squeezeMeta/SqueezeMeta/database/db
Can you copy the SqueezeMeta_conf.pl file here?
Can you copy the SqueezeMeta_conf.pl file here?
Hum... weird. But your issue will probably be solved if you change last line of the SqueezeMeta_conf.pl file:
$opt_db = "CazyDB";
by
$opt_db = " /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/db.list"
and run add_databases.pl again
I'll try it now and feedback.
I guess that at some point you ran add_database.pl with CazyDB as database name, and that changed SqueezeMeta_conf.pl
Put the correct path for file db.list in SqueezeMeta_conf.pl
Hello Professor, I am not sure if my db.list is correct? db.list.txt
A: CazyDB /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/cazy /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/CAZy_description.txt B: CazyDB /public/home/zhanglj/squeezemetatrans/Squeezemetacazy /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/CAZy_description.txt
I put the database and db.list location as follows: (squeezeMeta) [zhanglj@admin Squeezemetacazy]$ pwd /mnt/hpc/home/zhanglj/squeezemetatrans/Squeezemetacazy (squeezeMeta) [zhanglj@admin Squeezemetacazy]$ ls CAZy_description.txt cazy.dmnd db.list
I modified SqueezeMeta_conf.pl $opt_db = "public/home/zhanglj/squeezemetatrans/Squeezemetacazy/db.list";
run command:/public/home/zhanglj/miniconda3/envs/squeezeMeta/SqueezeMeta/utils/add_database.pl shotguntrans db.list ( nomatter A or B db.list it still erro as bellow): Can't open EXTDB file db.list Functional assignment for COGS Found COG annotation file in /mnt/hpc/home/zhanglj/squeezemetatrans/shotguntrans/results/07.shotguntrans.fun3.cog, skipping KEGG Found KEGG annotation file in /mnt/hpc/home/zhanglj/squeezemetatrans/shotguntrans/results/07.shotguntrans.fun3.kegg, skipping Can't open EXTDB file public/home/zhanglj/squeezemetatrans/Squeezemetacazy/db.list PFAM Found COG annotation file in /mnt/hpc/home/zhanglj/squeezemetatrans/shotguntrans/results/07.shotguntrans.fun3.cog, skipping Calculating coverage for functions Can't open EXTDB file public/home/zhanglj/squeezemetatrans/Squeezemetacazy/db.list
Because the path in SqueezeMeta_conf.pl is not well set. Please check it and type it correctly. I think it should be: $opt_db = "/public/home/zhanglj/squeezemetatrans/Squeezemetacazy/db.list.txt"; Also check if your file is named db.list or db.list.txt
modified db.list location as: $opt_db = "/public/home/zhanglj/squeezemetatrans/db.list";
database lacation: (squeezeMeta) [zhanglj@admin Squeezemetacazy]$ ls CAZy_description.txt cazy.dmnd db.list: CazyDB /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/cazy /public/home/zhanglj/squeezemetatrans/Squeezemetacazy/CAZy_description.txt
CazyDB(squeezeMeta) [zhanglj@admin squeezemetatrans]$ /public/home/zhanglj/miniconda3/envs/squeezeMeta/Meta/utils/add_database.pl shotguntrans db.list
Trends analyzed in the ”intermediate“ folder: Was it successful?
@jtamames Hello Professor, it seems that this annotation is still unsuccessful. Can you please try again to find out what caused the problem?(resluts as below) , wish for your help!
(squeezeMeta) [zhanglj@admin squeezemetatrans]$ cd Squeezemetacazy (squeezeMeta) [zhanglj@admin Squeezemetacazy]$ ls CAZy.Annotation cazy.dmnd (squeezeMeta) [zhanglj@admin Squeezemetacazy]$ pwd /public/home/zhanglj/squeezemetatrans/Squeezemetacazy
run:time /public/home/zhanglj/miniconda3/envs/squeezeMeta/SqueezeMeta/utils/add_database.pl shotguntrans db.list
main erro !!!!!!: Can't open fun3 CazyDB annotation file /mnt/hpc/home/zhanglj/squeezemetatrans/shotguntrans/results/08.shotguntrans.fun3.CazyDB
erro details screenshot:
results is blank:
files :
The name of your file seems to be db.list.txt, not db.list
The name of your file seems to be db.list.txt, not db.list
In order to upload the file I added the txt suffix
07.shotguntrans.fun3.CazyDB have generated. 08.shotguntrans.fun3.CazyDB was not generated in the results folder and I didn't find it either
What happens if you run 07.fun3assign.pl shotguntrans?
Ok. Then just do:
cp 07.shotguntrans.fun3.CazyDB.txt 08.shotguntrans.fun3.CazyDB.txt
in the results directory
and try again
好的。然后只需执行:
cp 07.shotguntrans.fun3.CazyDB.txt 08.shotguntrans.fun3.CazyDB.txt
在结果目录中 并重试
Professor, it seems to be running, please wait for feedback. (wish successfuly)
I am very grateful to the professor for helping me. I finally succeeded.
Glad to hear. Closing issue
很高兴听到。结题
Dear author,
I came up with a problem when adding new database to existing projects. What shall I do?
(SqueezeMeta) zzzhou@dell-PowerEdge-R740:~$ add_database.pl /database/users/zzzhou/huichen/Hadza /database/users/zzzhou/phi.dmnd
add_database.pl - (c) J. Tamames, F. Puente-Sánchez CNB-CSIC, Madrid, SPAIN
This is part of the SqueezeMeta distribution (https://github.com/jtamames/SqueezeMeta) Please cite: Tamames & Puente-Sanchez, Frontiers in Microbiology 10.3389 (2019). doi: https://doi.org/10.3389/fmicb.2018.03349
m앤╃½B0M5l¶g¥whYǿ
Error: Invalid parameter count for option '--db' Error running command: /database/users/zzzhou/miniconda3/envs/SqueezeMeta/SqueezeMeta/bin/diamond blastp -q /database/users/zzzhou/huichen/Hadza/results/03.Hadza.faa -p 12 -d -e 0.001 --id 30 --quiet -b NF -f 6 qseqid qlen sseqid slen pident length evalue bitscore qstart qend sstart send -o /database/users/zzzhou/huichen/Hadza/intermediate/04.Hadza.m앤╃½B0M5l¶g¥whYǿ
.diamond at /database/users/zzzhou/miniconda3/envs/SqueezeMeta/bin/add_database.pl line 71, line 0.000000.
(SqueezeMeta) zzzhou@dell-PowerEdge-R740:~$
Yours sincerely,
Li
March 31st 2023