metaerg
metaerg copied to clipboard
Output_reports.pl - Time::Piece not working, resulting in error?
Just ran metaerg on the included example files to try to get a sense of what a normal output looks like, but when it got to the outputreports step it threw up an error. It also seems to be having an issue with the database directory maybe? But I cannot find how I would even attempt to fix that...
Here is the full error message:
Running: /usr/local/perl/5.28.0/bin/perl /HOMEDIR/metaERG/metaerg/bin/output_reports.pl -g /HOMEDIR/metaERG/output_test/data/all.gff -o /HOMEDIR/metaERG/output_test -f /HOMEDIR/metaERG/output_test/metaerg.pl_05042021.fna [Tue May 4 21:16:44 2021] Re-using existing --outdir /HOMEDIR/metaERG/output_test DBI connect('dbname=/HOMEDIR/metaERG/metaerg/bin/../db/sqlite3/metaerg.db','',...) failed: unable to open database file at /project/RDS-FSC-H2020-RW/metaERG/metaerg/bin/output_reports.pl line 58. [Tue May 4 21:16:44 2021] Could not run command:/usr/local/perl/5.28.0/bin/perl /project/RDS-FSC-H2020-RW/metaERG/metaerg/bin/output_reports.pl -g /HOMEDIR/metaERG/output_test/data/all.gff -o /HOMEDIR/metaERG/output_test -f /HOMEDIR/metaERG/output_test/metaerg.pl_05042021.fna,
-bash-4.1$ perl /HOMEDIR/metaERG/metaerg/bin/output_reports.pl -g /HOMEDIR/metaERG/output_test/data/all.gff -o /HOMEDIR/metaERG/output_test -f /HOMEDIR/metaERG/output_test/metaerg.pl_05042021.fna Can't locate Time/Piece.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /HOMEDIR/metaERG/metaerg/bin/output_reports.pl line 5. BEGIN failed--compilation aborted at /HOMEDIR/metaERG/metaerg/bin/output_reports.pl line 5.
I am going to attempt to run this again but with line 5 in output_reports.pl hashed out to see what happens, will report back if that fixes the issue.
I am facing the same issue now "Re-using existing --outdir /data/my_metaerg_output DBI connect('dbname=/NGStools/metaerg/bin/../db/sqlite3/metaerg.db','',...) failed: unable to open database file at /NGStools/metaerg/bin/output_reports.pl line 58." let me know how you debugged this issue