Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sock::connect error with blast_formatter 2.2.28+

    Hello,
    I've been getting the following error with the latest as well as older versions of blast+, specifically with the blast_formatter command:

    Error: (311.22) SOCK#1000[?]: [SOCK::Connect] Failed SOCK_gethostbyname("www.ncbi.nlm.nih.gov")
    Error: (303.7) [URL_Connect] Failed to connect to www.ncbi.nlm.nih.gov:80: Unknown

    I'm just using the standalone version and do not understand the need for blast_formatter to try to connect to the ncbi server. The command-line that I use with blast_formatter is as exemplified below:

    blast_formatter -archive file.ASN.1 -outfmt 0 -out file.aln

    It has worked properly before but one fine day I start getting this error..
    Can anyone please help? It's a little urgent for me.


    Thanks and regards,
    Meeta
    India

  • #2
    I had the same problem using a local database. The problem appears to be that blast_formatter looks for the database locally first using the path given for the database in the BLAST run; if it isn't found, then it tries remotely (and of course won't find it if there is no network or the DB is custom).

    In my situation, I had given it a relative path with output redirected to a different folder, so when I attempted to use blast_formatter from that folder, the database couldn't be found using the relative path. I simply moved the data back to where I ran the initial BLAST calls (relative path matched the database location) and got it working. The immediate solution to avoid this altogether is to always use an absolute path when running local BLAST.

    Originally posted by meetasunil View Post
    Hello,
    I've been getting the following error with the latest as well as older versions of blast+, specifically with the blast_formatter command:

    Error: (311.22) SOCK#1000[?]: [SOCK::Connect] Failed SOCK_gethostbyname("www.ncbi.nlm.nih.gov")
    Error: (303.7) [URL_Connect] Failed to connect to www.ncbi.nlm.nih.gov:80: Unknown

    I'm just using the standalone version and do not understand the need for blast_formatter to try to connect to the ncbi server. The command-line that I use with blast_formatter is as exemplified below:

    blast_formatter -archive file.ASN.1 -outfmt 0 -out file.aln

    It has worked properly before but one fine day I start getting this error..
    Can anyone please help? It's a little urgent for me.


    Thanks and regards,
    Meeta
    India

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM
    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Yesterday, 08:47 AM
    0 responses
    15 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    60 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    60 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    54 views
    0 likes
    Last Post seqadmin  
    Working...
    X