Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bsk8635
    Junior Member
    • Jun 2011
    • 2

    #1

    BFAST error durig match: Could not start thread

    Hi,

    I have been playing around with BFAST the last couple of days and I can't get past the match step as it gives me the following error message after it has checked my command line arguments:


    $ bfast match -f MgIM62u.fasta -r A1.fastq > bfast.matches.MgIM62u.bmf
    ************************************************************
    Checking input parameters supplied by the user ...
    Validating fastaFileName MgIM62u.fasta.
    Validating readsFileName A1.fastq.
    Validating tmpDir path ./.
    **** Input arguments look good!
    ************************************************************
    ************************************************************
    Printing Program Parameters:
    programMode: [ExecuteProgram]
    fastaFileName: MgIM62u.fasta
    mainIndexes [Auto-recognizing]
    secondaryIndexes [Not Using]
    readsFileName: A1.fastq
    offsets: [Using All]
    loadAllIndexes: [Not Using]
    compression: [Not Using]
    space: [NT Space]
    startReadNum: 1
    endReadNum: 2147483647
    keySize: [Not Using]
    maxKeyMatches: 8
    maxNumMatches: 384
    whichStrand: [Both Strands]
    numThreads: 1
    queueLength: 250000
    tmpDir: ./
    timing: [Not Using]
    ************************************************************
    Searching for main indexes...
    Found 1 index (1 file).
    Not using secondary indexes.
    ************************************************************
    Reading in reference genome from MgIM62u.fasta.nt.brg.
    In total read 1546 contigs for a total of 313500235 bases
    ************************************************************
    Reading A1.fastq into a temp file.
    Will process 30325510 reads.
    ************************************************************
    Searching index file 1/1 (index #1, bin #1)...
    Reading index from MgIM62u.fasta.nt.1.1.bif.
    Read index from MgIM62u.fasta.nt.1.1.bif.
    Reads processed: 0************************************************************
    In function "FindMatches": Fatal Error[ThreadError]. Variable/Value: pthread_create: errCode.
    Message: Could not start thread.
    ***** Exiting due to errors *****
    ************************************************************


    Any ideas what this is related to? Since I have no idea what the problem is related to, I don't really know what additional information I should provide to help you help me.

    Thanks in advance for your help!

    -Boryana
    Last edited by bsk8635; 06-15-2011, 09:18 AM.
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Report what the error code is. To do so, add the following to the code and re-compile:
    Code:
    diff --git a/bfast/RunMatch.c b/bfast/RunMatch.c
    index d8e7de3..3cffe1a 100644
    --- a/bfast/RunMatch.c
    +++ b/bfast/RunMatch.c
    @@ -853,6 +853,7 @@ int FindMatches(char **indexFileName,
                                            FindMatchesThread, /* start routine */
                                            &data[i]); /* data to routine */
                            if(0!=errCode) {
    +                            fprintf(stderr, "errCode=%d\n", errCode);
                                    PrintError(FnName, "pthread_create: errCode", "C
                            }
                    }

    Comment

    • bsk8635
      Junior Member
      • Jun 2011
      • 2

      #3
      Hi Nils,

      Please bear with me for a second. I am not familiar with C at all, so could you please tell me which file (I assume RunMatch.c) and exactly where in the file (line number might be helpful) I need to add the given lines of code? The version of bfast installed on the cluster is 0.6.5a.

      Thank you very much for your help with this issue.

      - Boryana

      Comment

      • nilshomer
        Nils Homer
        • Nov 2008
        • 1283

        #4
        Add this line "fprintf(stderr, "errCode=%d\n", errCode);" in RunMatch.c. See the context (called a diff) above.

        My guess is that it is not BFAST related, but related to your specific operating system configuration. This would be a good time to talk to your system administrator and/or seek bioinformatics help.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
          by SEQadmin2



          CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

          Despite this, “CRISPR helped turn genome editing from a specialized technique into
          ...
          07-31-2026, 11:01 AM
        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        33 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-31-2026, 02:55 AM
        0 responses
        43 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-24-2026, 12:17 PM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Working...