Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • #16
    ok thanks again.
    I will let you know any news and I will upgrade to the 0.6.4b.

    All the best
    Last edited by blu78; 04-11-2010, 12:01 PM.

    Comment


    • #17
      It seems I am having the same problem...
      I am using bfast-0.6.4 and I set the number of threads to 8 I got the "Segmentation fault" error. However when I set it to 4, BFAST works just fine. Was this problem solved?

      Thanks!

      Comment


      • #18
        Originally posted by fennan View Post
        It seems I am having the same problem...
        I am using bfast-0.6.4 and I set the number of threads to 8 I got the "Segmentation fault" error. However when I set it to 4, BFAST works just fine. Was this problem solved?

        Thanks!
        Could you post the results of the "configure" command (during install)?

        Comment


        • #19
          Hi,

          We have the same problem with debian Lenny 64bits: bfast (0.6.4d but also 0.6.2a and 0.6.3c) crashes when running with 8 CPU but not with 4 (our server has 32 cores so we would really want to use as many resources as possible.

          - The configuration phase is the same as blue78 : http://pastebin.com/vW9kXwX9
          - It generates the following config.h : http://pastebin.com/gk57XfP9
          - and for the compilation: http://pastebin.com/jBLjyL2s (it complains a bit about gzread64 not being declared but nothing wrong during the linking)

          We are running the folowwing commands:
          Code:
          WORK_DIR=/data/ngs/solid/PROJETS/Comp_bowtie_bfast/BFAST
          REF_GENOME=/data/ngs/annotations/bfast_indexes/hg19.fa
          BFAST_BIN_DIR=/bioinfo/local/build/bfast_0.6.4d/bin
          NB_THREADS=8
          
          nohup $BFAST_BIN_DIR/bfast match -f $REF_GENOME -n $NB_THREADS -A 1 -r $WORK_DIR/FastQ/reads100000.200.fastq > $WORK_DIR/Bmf/bmfbfast.matches.file.hg19.200.bmf
          The result is
          Code:
          ************************************************************
          Checking input parameters supplied by the user ...
          Validating fastaFileName /data/ngs/annotations/bfast_indexes/hg19.fa. 
          Validating readsFileName /data/ngs/solid/PROJETS/Comp_bowtie_bfast/BFAST/FastQ/reads100000.200.fastq. 
          Validating tmpDir path ./. 
          **** Input arguments look good!
          ************************************************************
          ************************************************************
          Printing Program Parameters:
          programMode:                            [ExecuteProgram]
          fastaFileName:                          /data/ngs/annotations/bfast_indexes/hg19.fa
          mainIndexes                             [Auto-recognizing]
          secondaryIndexes                        [Not Using]
          readsFileName:                          /data/ngs/solid/PROJETS/Comp_bowtie_bfast/BFAST/FastQ/reads100000.200.fastq
          offsets:                                [Using All]
          loadAllIndexes:                         [Not Using]
          compression:                            [Not Using]
          space:                                  [Color Space]
          startReadNum:                           1
          endReadNum:                             2147483647
          keySize:                                [Not Using]
          maxKeyMatches:                          8
          maxNumMatches:                          384
          whichStrand:                            [Both Strands]
          numThreads:                             8
          queueLength:                            250000
          tmpDir:                                 ./
          timing:                                 [Not Using]
          ************************************************************
          Searching for main indexes...
          Found 10 index (10 total files).
          Not using secondary indexes.
          ************************************************************
          Reading in reference genome from /data/ngs/annotations/bfast_indexes/hg19.fa.cs.brg.
          In total read 25 contigs for a total of 3095693983 bases
          ************************************************************
          Reading /data/ngs/solid/PROJETS/Comp_bowtie_bfast/BFAST/FastQ/reads100000.200.fastq into a temp file.
          Will process 100000 reads.
          ************************************************************
          Searching index file 1/10 (index #1, bin #1)...
          Reading index from /data/ngs/annotations/bfast_indexes/hg19.fa.cs.1.1.bif.
          Read index from /data/ngs/annotations/bfast_indexes/hg19.fa.cs.1.1.bif.
          Reads processed: 100000
          Cleaning up index.
          Searching index file 1/10 (index #1, bin #1) complete...
          Found 60065 matches.
          ************************************************************
          Searching index file 2/10 (index #2, bin #1)...
          Reading index from /data/ngs/annotations/bfast_indexes/hg19.fa.cs.2.1.bif.
          and the it crashes with a segfault.

          We generated a core dump but the crash is in a function of libz so we installed the debug version of libz and here is the result: http://pastebin.com/Ae0re589

          So if you have any leads, I would be happy to help and test.

          Best regards
          Last edited by cbarette; 08-02-2010, 07:31 AM.

          Comment


          • #20
            Thank-you for providing a good amount of info to help my debug. Googling the compiler warning, it may be the case that your zlib is buggy in Ubuntu (see my links hinting at that). The function "gzopen64" is declared in zlib to provide 64-bit support, but is not being declared correctly. I am guessing it crashes when trying to read in a compressed index (as shown by the last BFAST status message). In "configure.ac", could you change the "extended_CFLAGS" line to the below and see what happens?
            extended_CFLAGS="-m64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE";
            The run "sh autogen.sh && ./configure && make".

            Links:

            I've spent the last couple of hours debugging a really strange segfault. Our application stack had a reproduceable crash in libxml2 -- but o...


            Comment


            • #21
              Hi,

              Thanks a lot for your feedback ! With this modification bfast runs perfectly with 8 threads.

              Cheers

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Advancing Precision Medicine for Rare Diseases in Children
                by seqadmin




                Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                12-16-2024, 07:57 AM
              • seqadmin
                Recent Advances in Sequencing Technologies
                by seqadmin



                Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                Long-Read Sequencing
                Long-read sequencing has seen remarkable advancements,...
                12-02-2024, 01:49 PM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 12-17-2024, 10:28 AM
              0 responses
              33 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-13-2024, 08:24 AM
              0 responses
              48 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-12-2024, 07:41 AM
              0 responses
              34 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-11-2024, 07:45 AM
              0 responses
              46 views
              0 likes
              Last Post seqadmin  
              Working...
              X