Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • blu78
    replied
    I have tried
    Code:
    bfast match -f contigs.fasta -r F3_10Mchunk.qfasta -A 1 -n 8 > matchF3_10Mb 2> err_10Mb
    but I still get the segmentation fault.

    Indexes are created with the following commands:
    Code:
    bfast index -f contigs.fasta -A 1 -m 1111111111111111111111 -i 1 -w 12 -n 8
    bfast index -f contigs.fasta -A 1 -m 111110100111110011111111111 -i 2 -w 12 -n 8
    bfast index -f contigs.fasta -A 1 -m 10111111011001100011111000111111 -i 3 -w 12 -n 8
    bfast index -f contigs.fasta -A 1 -m 1111111100101111000001100011111011 -i 4 -w 12 -n 8
    
    ...
    
    bfast index -f contigs.fasta -A 1 -m 1110110001011010011100101111101111 -i 10 -w 12 -n 8
    Thanks

    Leave a comment:


  • nilshomer
    replied
    Originally posted by blu78 View Post
    Hi Nils,

    Thanks for your reply.
    Here is the command I use (on a much smaller set of reads now -- 1 000 000):

    Code:
    bfast match -f contigs.fasta -r F3_10Mchunk.qfasta -i 1 -I 2,3 -A 1 -K 8 -M 512 -w 0 -n 8 > matchF3_10Mb 2> err_10Mb
    I get the same results even if I skip secondary indexes and, as you suggest, I use the following command:

    Code:
    bfast match -f contigs.fasta -r F3_10Mchunk.qfasta -i 1 1,2,3 -A 1 -K 8 -M 512 -w 0 -n 8 > matchF3_10Mb 2> err_10Mb
    and even if I do not specify the primary indexes with -i (in that case I would use all my 10 indexes instead of just three).

    What is kind of wierd is that in this latter case the segmentation fault occurs after searching index 4, while in the first and second case it occurs after searching index 1.

    Any clue on what is going on?

    Thanks again for your help...
    Cheers
    Try this:
    Code:
    bfast match -f contigs.fasta -r F3_10Mchunk.qfasta -A 1 -n 8 > matchF3_10Mb 2> err_10Mb
    Make sure that you have built all 10 indexes as recommended in the manual and use them as all as primary indexes. I also removed some options above as I would still recommend using the default parameters

    It also looks like your stderr and stdout show that the process is not complete (meaning they don't show crashing on the "copying for next index search").

    Leave a comment:


  • blu78
    replied
    For completeness, here is the content of the stderr file obtained by $ cat err_10Mb

    First two cases:

    Code:
    ************************************************************
    Checking input parameters supplied by the user ...
    Validating fastaFileName contigs.fasta.
    Validating readsFileName F3_10Mchunk.qfasta.
    Validating tmpDir path ./.
    **** Input arguments look good!
    ************************************************************
    ************************************************************
    Printing Program Parameters:
    programMode:                            [ExecuteProgram]
    fastaFileName:                          contigs.fasta
    mainIndexes                             1,2,3
    secondaryIndexes                        [Not Using]
    readsFileName:                          F3_10Mchunk.qfasta
    offsets:                                [Using All]
    loadAllIndexes:                         [Not Using]
    compression:                            [Not Using]
    space:                                  [Color Space]
    startReadNum:                           1
    endReadNum:                             2147483647
    keySize:                                [Not Using]
    maxKeyMatches:                          8
    maxNumMatches:                          512
    whichStrand:                            [Both Strands]
    numThreads:                             8
    queueLength:                            250000
    tmpDir:                                 ./
    timing:                                 [Not Using]
    ************************************************************
    Searching for main indexes...
    Found 3 index (3 total files).
    Not using secondary indexes.
    ************************************************************
    Reading in reference genome from contigs.fasta.cs.brg.
    In total read 11 contigs for a total of 776592 bases
    ************************************************************
    Reading F3_10Mchunk.qfasta into a temp file.
    Will process 1000000 reads.
    ************************************************************
    Searching index file 1/3 (index #1, bin #1)...
    Reading index from contigs.fasta.cs.1.1.bif.
    Read index from contigs.fasta.cs.1.1.bif.
    Reads processed: 1000000
    Cleaning up index.
    Searching index file 1/3 (index #1, bin #1) complete...
    Found 19503 matches.
    ************************************************************
    Searching index file 2/3 (index #2, bin #1)...
    Reading index from contigs.fasta.cs.2.1.bif.

    Last case (with 10 indexes):

    Code:
    ************************************************************
    Checking input parameters supplied by the user ...
    Validating fastaFileName contigs.fasta.
    Validating readsFileName F3_10Mchunk.qfasta.
    Validating tmpDir path ./.
    **** Input arguments look good!
    ************************************************************
    ************************************************************
    Printing Program Parameters:
    programMode:                            [ExecuteProgram]
    fastaFileName:                          contigs.fasta
    mainIndexes                             [Auto-recognizing]
    secondaryIndexes                        [Not Using]
    readsFileName:                          F3_10Mchunk.qfasta
    offsets:                                [Using All]
    loadAllIndexes:                         [Not Using]
    compression:                            [Not Using]
    space:                                  [Color Space]
    startReadNum:                           1
    endReadNum:                             2147483647
    keySize:                                [Not Using]
    maxKeyMatches:                          8
    maxNumMatches:                          512
    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 contigs.fasta.cs.brg.
    In total read 11 contigs for a total of 776592 bases
    ************************************************************
    Reading F3_10Mchunk.qfasta into a temp file.
    Will process 1000000 reads.
    ************************************************************
    Searching index file 1/10 (index #1, bin #1)...
    Reading index from contigs.fasta.cs.1.1.bif.
    Read index from contigs.fasta.cs.1.1.bif.
    Reads processed: 1000000
    Cleaning up index.
    Searching index file 1/10 (index #1, bin #1) complete...
    Found 19503 matches.
    ************************************************************
    Searching index file 2/10 (index #2, bin #1)...
    Reading index from contigs.fasta.cs.2.1.bif.
    Read index from contigs.fasta.cs.2.1.bif.
    Reads processed: 1000000
    Cleaning up index.
    Searching index file 2/10 (index #2, bin #1) complete...
    Found 18896 matches.
    ************************************************************
    Searching index file 3/10 (index #3, bin #1)...
    Reading index from contigs.fasta.cs.3.1.bif.
    Read index from contigs.fasta.cs.3.1.bif.
    Reads processed: 1000000
    Cleaning up index.
    Searching index file 3/10 (index #3, bin #1) complete...
    Found 14092 matches.
    ************************************************************
    Searching index file 4/10 (index #4, bin #1)...
    Reading index from contigs.fasta.cs.4.1.bif.

    Thanks

    Leave a comment:


  • blu78
    replied
    Hi Nils,

    Thanks for your reply.
    Here is the command I use (on a much smaller set of reads now -- 1 000 000):

    Code:
    bfast match -f contigs.fasta -r F3_10Mchunk.qfasta -i 1 -I 2,3 -A 1 -K 8 -M 512 -w 0 -n 8 > matchF3_10Mb 2> err_10Mb
    I get the same results even if I skip secondary indexes and, as you suggest, I use the following command:

    Code:
    bfast match -f contigs.fasta -r F3_10Mchunk.qfasta -i 1 1,2,3 -A 1 -K 8 -M 512 -w 0 -n 8 > matchF3_10Mb 2> err_10Mb
    and even if I do not specify the primary indexes with -i (in that case I would use all my 10 indexes instead of just three).

    What is kind of wierd is that in this latter case the segmentation fault occurs after searching index 4, while in the first and second case it occurs after searching index 1.

    Any clue on what is going on?

    Thanks again for your help...
    Cheers

    Leave a comment:


  • nilshomer
    replied
    Originally posted by blu78 View Post
    Hi guys,

    I have a problem with BFAST. I am trying to align about 300 Million Solid reads (about 30GB of data) and using multiple indexes. When looking for CAL I unfortunately get a Segmentation Fault that kills the application. At the moment I am testing the software on a 8 cores machine equipped with 32GB of ram running a Linux Debian.
    According to the messages sent to the stderr it seems that the software crashes when it is copying (where?) the reads that are not aligned with the primary index in such a way to search them with the secondary indexes.

    In the following, an extract of the output messages I get before the software crashes:

    Code:
    Reads processed: 314999637
    Cleaning up index.
    Searching index file 1/1 (index #1, bin #1) complete...
    Found 14927144 matches.
    Found matches for 14927144 reads.
    Copying unmatched reads for secondary index search.
    Thing is I noticed that while executing BFAST is not using too much RAM (about 1.3GB) but it seems to disk cache quite a lot (eating up all the RAM in this way).

    Does anyone have any suggestions on what might be going on?
    Any help would be appreciated on how to solve this.
    Thanks
    Could you give the full command you are using? Also, try avoiding the secondary index search and simply use all your indexes in your primary search. This will improve sensitivity and accuracy, and is the recommended mode indicated in the manual.

    Leave a comment:


  • blu78
    started a topic BFAST match problem

    BFAST match problem

    Hi guys,

    I have a problem with BFAST. I am trying to align about 300 Million Solid reads (about 30GB of data) and using multiple indexes. When looking for CAL I unfortunately get a Segmentation Fault that kills the application. At the moment I am testing the software on a 8 cores machine equipped with 32GB of ram running a Linux Debian.
    According to the messages sent to the stderr it seems that the software crashes when it is copying (where?) the reads that are not aligned with the primary index in such a way to search them with the secondary indexes.

    In the following, an extract of the output messages I get before the software crashes:

    Code:
    Reads processed: 314999637
    Cleaning up index.
    Searching index file 1/1 (index #1, bin #1) complete...
    Found 14927144 matches.
    Found matches for 14927144 reads.
    Copying unmatched reads for secondary index search.
    Thing is I noticed that while executing BFAST is not using too much RAM (about 1.3GB) but it seems to disk cache quite a lot (eating up all the RAM in this way).

    Does anyone have any suggestions on what might be going on?
    Any help would be appreciated on how to solve this.
    Thanks

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, Today, 10:35 AM
0 responses
4 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-06-2026, 07:41 AM
0 responses
23 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-03-2026, 10:13 AM
0 responses
40 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-31-2026, 02:55 AM
0 responses
46 views
0 reactions
Last Post SEQadmin2  
Working...