Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #16
    Excellent, could you post your fastq, how you created your indexes, and the small test FASTQ, so I can try to reproduce the behavior on my own machine?

    Comment

    • kwicher
      Junior Member
      • Jan 2011
      • 7

      #17
      Thanks.
      Here is how I converted the reference genome, indexed it and tried to make the alignment.
      - converting genome
      /mnt/fastfs/bin/bfast fasta2brg -A 1 -f refseq.fas

      - INDEXING
      qsub -q cb_quad -b y -e /mnt/fastfs/KW_Temp/bfast -o /mnt/fastfs/KW_Temp/bfast "/mnt/fastfs/bin/bfast index -f /mnt/fastfs/KW_Temp/bfast/refseq.fas -m <for each mask> -w 14 -A 1 -i <mask number>"

      MASKS
      M1 = 1111111111111111111111
      M2 = 111110100111110011111111111
      M3 = 10111111011001100011111000111111
      M4 = 1111111100101111000001100011111011
      M5 = 111111110001111110011111111
      M6 = 11111011010011000011000110011111111
      M7 = 1111111111110011101111111
      M8 = 111011000011111111001111011111
      M9 = 1111111111110011101111111
      M10 = 1110110001011010011100101111101111

      -ALIGNING:
      qsub -q cb_quad -b y -e /mnt/fastfs/KW_Temp/bfast -o /mnt/fastfs/KW_Temp/bfast "/mnt/fastfs/bin/bfast match -f /mnt/fastfs/KW_Temp/bfast/refseq.fas -A 1 -r /mnt/fastfs/KW_Temp/input.fastq > /mnt/fastfs/KW_Temp/bfast/output.bmf"

      I have done one test:
      I extracted 5 seqs from fastq file and run test against this tiny file. It run without the problem.
      It is really strange as using "-s 1 -e 5" options on full data set, so in fact providing the same sequences, causes the error reported earlier.

      K

      Comment

      • nilshomer
        Nils Homer
        • Nov 2008
        • 1283

        #18
        Could you post a link to the files?

        Comment

        • ajs
          Junior Member
          • Sep 2011
          • 1

          #19
          After we encountered the malloc error, we noticed our fastq was in color space but our bfast commands were for nucleotide space. We then created brg and index files in color space, then successfully ran match in color space.

          Comment

          • alig
            Member
            • Sep 2008
            • 44

            #20
            Bfast Malloc memory error

            Hi,
            Has there been a solution to the Malloc memory error when running Bfast?

            I am having the same problem when trying to run bfast bwaaln

            bfast+bwa-0.7.0a/bfast/bfast bwaaln -n 0.04 -o 1 -e -1 -d 5 -i 5 -l 25 -k 2 -M 3 -t 8 -O 11 -E 4 -c -q 20 bfast_bwa_index/hg18_noran_mask.fa T3460_R3.fastq > bfast_matches_R3_bwa_T3460.bmf
            [bwa_aln] 17bp reads: max_diff = 2
            [bwa_aln] 38bp reads: max_diff = 3
            [bwa_aln] 64bp reads: max_diff = 4
            [bwa_aln] 93bp reads: max_diff = 5
            [bwa_aln] 124bp reads: max_diff = 6
            [bwa_aln] 157bp reads: max_diff = 7
            [bwa_aln] 190bp reads: max_diff = 8
            [bwa_aln] 225bp reads: max_diff = 9
            [bwa_read_seq] 2.0% bases are trimmed.
            [bwa_aln_core] calculate SA coordinate... 138.80 sec
            [bwa_aln_core] write to the disk... ************************************************************
            In function "bwa_aln_core": Fatal Error[MallocMemory]. Message: Could not allocate (malloc) memory.
            ***** Exiting due to errors *****

            I am running on Ubuntu with 32 Gb RAM.

            Any help would be greatly appreciated

            thanks alig

            Comment

            • nilshomer
              Nils Homer
              • Nov 2008
              • 1283

              #21
              Could you post your data somewhere so that I can try to reproduce?

              Each option has a default setting, which you seem to be using, so you can omit specifying them.

              Comment

              • alig
                Member
                • Sep 2008
                • 44

                #22
                Bfast Malloc memory error

                Hi,

                I tried with a hugely smaller dataset & didn't get the error. So then I tried with a different fastq file which I had run through a script to remove any entries which look broken and also had run through fastq_quality_filter. This also did not produce the error.

                So I am hopeful that this was an issue with poor quality data.

                Thanks

                alig

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                  by SEQadmin2


                  I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                  Here are nine questions we think about, in roughly the order they matter, before...
                  06-18-2026, 07:11 AM
                • SEQadmin2
                  From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                  by SEQadmin2


                  Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                  The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                  ...
                  06-02-2026, 10:05 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, Today, 05:37 AM
                0 responses
                5 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-26-2026, 11:10 AM
                0 responses
                16 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-17-2026, 06:09 AM
                0 responses
                50 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-09-2026, 11:58 AM
                0 responses
                110 views
                0 reactions
                Last Post SEQadmin2  
                Working...