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
      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
    • seqadmin
      Strategies for Sequencing Challenging Samples
      by seqadmin


      Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
      03-22-2024, 06:39 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    30 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    32 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    28 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    53 views
    0 likes
    Last Post seqadmin  
    Working...
    X