Closed s4251484 closed 4 years ago
Hi again, The specification of the database location is currently broken in MetaErg, I don’t think that is going to get fixed in the near future. Will update my Readme. You have to place the reference data in /QRISdata/Q2348/metaerg/metaerginstall/metaerg/db
Hope this helps, Lukas
Am 21.05.2020 um 02:05 schrieb s4251484 notifications@github.com:
Hi @Finesim97 and team again
I have encountered an error with the testing set, the attach file is the verbose output metaerg_arc.hmm-error.txt
error: [09:50:09] Obtained from https://sourceforge.net/projects/rrnafinder/ [09:50:09] Can't find database: /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db/hmm/rna/arc.hmm [Thu May 21 09:50:09 2020] Could not run command:/QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/rRNAFinder.pl --dbdir /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db --threads 8 --evalue 1e-05 --domain meta --outdir metaergtest/tmp metaergtest/tmp/metaerg.pl_05212020.tRNA.masked.fna, No such file or directory
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi again, The specification of the database location is currently broken in MetaErg, I don’t think that is going to get fixed in the near future. Will update my Readme. You have to place the reference data in /QRISdata/Q2348/metaerg/metaerginstall/metaerg/db Hope this helps, Lukas … Am 21.05.2020 um 02:05 schrieb s4251484 @.***>: Hi @Finesim97 and team again I have encountered an error with the testing set, the attach file is the verbose output metaerg_arc.hmm-error.txt error: [09:50:09] Obtained from https://sourceforge.net/projects/rrnafinder/ [09:50:09] Can't find database: /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db/hmm/rna/arc.hmm [Thu May 21 09:50:09 2020] Could not run command:/QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/rRNAFinder.pl --dbdir /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db --threads 8 --evalue 1e-05 --domain meta --outdir metaergtest/tmp metaergtest/tmp/metaerg.pl_05212020.tRNA.masked.fna, No such file or directory — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
i see. thanks for your reply! but what do you mean by reference data? will wait on the updated readme! thanks again!
Did you download http://ebg.ucalgary.ca/metaerg/db.tar.gz or did you use setup_db.pl
?
Did you download http://ebg.ucalgary.ca/metaerg/db.tar.gz or did you use
setup_db.pl
?
i downloaded from http://ebg.ucalgary.ca/metaerg/db.tar.gz
Could you send me the output of:
ls /QRISdata/Q2348/metaerg/metaerginstall/metaerg/
ls /QRISdata/Q2348/metaerg/metaerginstall/metaerg/db
Could you send me the output of:
ls /QRISdata/Q2348/metaerg/metaerginstall/metaerg/ ls /QRISdata/Q2348/metaerg/metaerginstall/metaerg/db
`s4251484@tn513d:~> ls /QRISdata/Q2348/metaerginstall/metaerg/
bin db Dockerfile docs example hmmrna metaerg.sql notes.txt README.md template tmp txt
s4251484@tn513d:~> ls /QRISdata/Q2348/metaerginstall/metaerg/db
blast diamond hmm sqlite3`
Sure! i re-installed metaerg following your read.me so the path has changed.
Ok, seems fine and there is no /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm
?
Ok, seems fine and there is no
/QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm
?
yea
(/QRISdata/Q2348/metaerginstall) s4251484@tn513d:~> find /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm find: ‘/QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm’: No such file or directory (/QRISdata/Q2348/metaerginstall) s4251484@tn513d:~> ls /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm ls: cannot access /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm: No such file or directory (/QRISdata/Q2348/metaerginstall) s4251484@tn513d:~> less /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna/arc.hmm: No such file or directory
is it possible that it is a temporary file? coz I don't see any db folder in /QRISdata/Q2348/metaerginstall/metaerg/bin
That is strange.
The ..
in /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db
means "go up one directory", therefore the used path is /QRISdata/Q2348/metaerg/metaerginstall/metaerg/db
.
Sry for all the ls
s, but what is in the folder /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/
and /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna
That is strange.
The
..
in/QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db
means "go up one directory", therefore the used path is/QRISdata/Q2348/metaerg/metaerginstall/metaerg/db
.Sry for all the
ls
s, but what is in the folder/QRISdata/Q2348/metaerginstall/metaerg/db/hmm/
and/QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna
(/RDS/Q1034/conda/taxmaps) s4251484@tn513d:~> ls /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/
casgenes.hmm FOAM1.hmm FOAM2.hmm FOAM3.hmm FOAM4.hmm FOAM5.hmm FOAM-hmm_rel1a.hmm metabolic.hmm Pfam-A.hmm TIGRFAMs.hmm
(/RDS/Q1034/conda/taxmaps) s4251484@tn513d:~> /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna
-bash: /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna: No such file or directory`
the db.tar.gz was 20GB No worries! i would be very glad if this can be solved. and I have a feeling you are getting there! thanks for your help!
Ok, my installation also doesn't have this folder, but I am using an older version, in my version, the hmmrna
folder in metaerg is used, which has the missing files and comes with the metaerg installation. The setup_db.pl
of the current version creates these files at the correct path, but the reference data provided by the authors is missing this folder.
The solution therefore is:
cp -r /QRISdata/Q2348/metaerginstall/metaerg/hmmrna /QRISdata/Q2348/metaerginstall/metaerg/db/hmm/rna
IT IS A FIX!!! THANKS! run finished successfully with the testing set!
Did you download http://ebg.ucalgary.ca/metaerg/db.tar.gz or did you use
setup_db.pl
?i downloaded from http://ebg.ucalgary.ca/metaerg/db.tar.gz
Hi, I came onto this fix but this link doesn't work anymore (404). Could you provide a new one?
Did you download http://ebg.ucalgary.ca/metaerg/db.tar.gz or did you use
setup_db.pl
?i downloaded from http://ebg.ucalgary.ca/metaerg/db.tar.gz
Hi, I came onto this fix but this link doesn't work anymore (404). Could you provide a new one?
Hi, I am not sure, why they removed the database, either because it was to big and downloaders used too much bandwidth or (wthat I fear is more likely) they were redistributing reference data, which they weren't allowed to redistribute (some databases, especially commercial ones have very strict policies). So I am not ready to upload them myself to my own server. Do you have the computational resources to create the databases files yourself?
Have a nice, day, Lukas Jansen
Hi, thanks for the honest answer. Using the setup script only downloaded and built a subset of the datasets. I could build them myself, that's for sure: are there instructions to do it somewhere, or do I find them on the corresponding websites?
The script in this repository should (haven't tested it recently) install the dependencies for making the setup_db.pl
call run completely, this should lead to a full database. I haven't tested the changes pushed to the MetaErg repository in January of this year. Honestly you should maybe consider running other, better supported pipelines, I used metaErg in my bachelor thesis and project, but in the lab we called it MetaÄrger (German for trouble). I can recommend sourmash (for tax. analysis), interproscan, kofamkoala (there is a version, which you can run on your own system) and eggNOG mapper (those 3 for functional analysis).
Hope you find something, that works for you
Lukas Jansen
Hi @Finesim97 and team again
I have encountered an error with the testing set, the attach file is the verbose output metaerg_arc.hmm-error.txt
error:
[09:50:09] Obtained from https://sourceforge.net/projects/rrnafinder/ [09:50:09] Can't find database: /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db/hmm/rna/arc.hmm [Thu May 21 09:50:09 2020] Could not run command:/QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/rRNAFinder.pl --dbdir /QRISdata/Q2348/metaerg/metaerginstall/metaerg/bin/../db --threads 8 --evalue 1e-05 --domain meta --outdir metaergtest/tmp metaergtest/tmp/metaerg.pl_05212020.tRNA.masked.fna, No such file or directory