Hello,
I don't have sudo privileges on our HPC platform, so I could not use the docker nor the regular installation method. Instead, I am trying to install tephra via singularity.
System confirguations:
Red Hat Enterprise Linux Server 7.6 (Maipo)
Perl version v5.24.1
Singularity version v3.1.1
So I can install tephra using the following command without error:
singularity run docker://sestaton/tephra
Then I type tephra and it shows help info with some warnings for perl:
$tephra
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Tephra version 0.12.4
Copyright (C) 2015-2019 S. Evan Staton
LICENSE -- MIT
...
I download the tephra_config.yml file and modified the genome name, then run:
tephra all -c tephra_config.yml
I got the following error messages:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't load '/usr/local/lib/x86_64-linux-gnu/perl/5.26.1/auto/Bio/DB/HTS/HTS.so' for module Bio::DB::HTS: libhts.so.1: cannot open shared object file: No such file or directory at /usr/lib/x86_64-linux-gnu/perl/5.26/DynaLoader.pm line 187.
at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/Bio/DB/HTS/Kseq.pm line 71.
Compilation failed in require at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/Bio/DB/HTS/Kseq.pm line 71.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.26.1/Bio/DB/HTS/Kseq.pm line 71.
Compilation failed in require at /usr/local/share/perl/5.26.1/Tephra/Stats/Age.pm line 17.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.26.1/Tephra/Stats/Age.pm line 17.
Compilation failed in require at /usr/local/share/perl/5.26.1/Tephra/Command/age.pm line 11.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.26.1/Tephra/Command/age.pm line 11.
Compilation failed in require at /usr/local/share/perl/5.26.1/App/Cmd.pm line 194.
App::Cmd::_command("Tephra", HASH(0x55dfea2ba1e0)) called at /usr/local/share/perl/5.26.1/App/Cmd.pm line 171
App::Cmd::new("Tephra", HASH(0x55dfea2ba1e0)) called at /usr/local/bin/tephra line 25
Is it something wrong with my perl version? Or is it approachable to install it via singularity?
Thanks,
Shujun
Hello,
I don't have
sudoprivileges on our HPC platform, so I could not use thedockernor the regular installation method. Instead, I am trying to installtephraviasingularity.System confirguations:
So I can install
tephrausing the following command without error:singularity run docker://sestaton/tephraThen I type
tephraand it shows help info with some warnings for perl:I download the
tephra_config.ymlfile and modified the genome name, then run:tephra all -c tephra_config.ymlI got the following error messages:
Is it something wrong with my perl version? Or is it approachable to install it via
singularity?Thanks,
Shujun