Closed Wolves-printer closed 2 years ago
Not sure if this issue is still looked at. I have a similar issue with both commands that are downloading data:
hmmer2go fetchmap -o pfam2go
Which returns the following error:
Cannot connect to ftp.geneontology.org: Connection timed out, will retry. at /usr/local/share/perl/5.26.1/HMMER2GO/Command/fetchmap.pm line 77.
The problem seems to be that the ftp address is wrong/down:
$outfile //= 'pfam2go';
my $host = 'ftp.geneontology.org';
my $dir = '/pub/go/external2go';
my $file = 'pfam2go';
The same goes for the map2gaf
command which downloads the go.obo
.
I assume that the tool would work fine if these files are downloaded manually and used as input in the command line. Could you possibly assist in how to get around this?
Kind regards
I recommend downloading (via wget
, for example) the pfam2go and go.obo files. Download pfam2go from http://current.geneontology.org/ontology/external2go/pfam2go and go.obo from http://current.geneontology.org/ontology/go.obo.
For hmmer2go mapterms
, you can use the option -p pfam2go
(where pfam2go is what you downloaded), while for hmmer2go map2gaf
you can use the option -g go.obo
(where go.obo is what you downloaded).
Thanks for pointing out the new ontology locations @robpade. The FTP URLs need to be updated in this package and I'll try to get this done soon.
Please try the latest version v0.18.1, which includes fixes for this issue. Thanks! Comment if you have more issues.
Dear Evan Staton, Hello! Thank you a lot for benefiting the community by writing the wonderful HMMER2GO package for Gene Ontology mapping. However, I found difficulties connecting to ftp.geneontology,org during my installation of HMMER2GO 0.18.0 in the Linux Ubuntu system. I first tried to use the git command to install HMMER2GO, but the installation failed to show
Cannot connect to ftp.geneontology.org: Connection refused will retry. at /root/HMMER2GO-0.18.0/blib/lib/HMMER2GO/Command/mapterms.pm line 162.
. Alternatively, I tried to install it by downloading the source code followed by make, make test and make install. However, during the make test, a similar issue occurred by showing thatIt seems that the connection to ftp.geneontology.org was unsuccessful, but other commands (for example, getting ORF) seem to be working well. I was wondering how I could solve this problem. I tried to connect to ftp.geneontology.org through my windows browser but it also failed. I was wondering whether it would be a problem with the website. Thank you for taking the time to read this email, and hope to hear from you soon. Best Regards, Xiao Wang