Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yy01
    Junior Member
    • Sep 2010
    • 4

    #1

    bfast localalign issues

    Hi, anyone has an idea what causes this error?
    Please, help!

    Thanks in advance.



    bfast localalign -f mature_converted.fa -m bfast.matches.s_1_1_sequence_clean.bmf > bfast.aligned.s_1_1_sequence_clean.baf
    ************************************************************
    Checking input parameters supplied by the user ...
    Validating fastaFileName mature_converted.fa.
    Validating matchFileNamebfast.matches.s_1_1_sequence_clean.bmf.
    **** Input arguments look good! *****
    ************************************************************
    ************************************************************
    Printing Program Parameters:
    programMode: [ExecuteProgram]
    fastaFileName: mature_converted.fa
    matchFileName: bfast.matches.s_1_1_sequence_clean.bmf
    matchFileNameOne: [Not Using]
    matchFileNameTwo: [Not Using]
    scoringMatrixFileName: [Not Using]
    ungapped: [Not Using]
    unconstrained: [Not Using]
    space: [NT Space]
    startReadNum: 1
    endReadNum: 2147483647
    offsetLength: 20
    maxNumMatches: 384
    avgMismatchQuality: 10
    numThreads: 1
    queueLength: 10000
    timing: [Not Using]
    ************************************************************
    ************************************************************
    Reading in reference genome from mature_converted.fa.nt.brg.
    In total read 17341 contigs for a total of 377003 bases
    ************************************************************
    ************************************************************
    Reading match file from bfast.matches.s_1_1_sequence_clean.bmf.
    ************************************************************
    Performing alignment...
    Reads processed: 0bfast: RGMatches.c:91: RGMatchesRead: Assertion `m->readNameLength < 4028' failed.
    Aborted
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Looks like you may have some file corruption as the read name check should have been caught at the match step if it was real. Re-run the match process, and if that does not work, post to [email protected]

    Comment

    • yy01
      Junior Member
      • Sep 2010
      • 4

      #3
      Thanks, Nils!
      Matches were re-run, and everything went through smoothly for running localalign.

      -Yanming

      Comment

      • xinwu
        Member
        • Jul 2010
        • 33

        #4
        Originally posted by nilshomer View Post
        Looks like you may have some file corruption as the read name check should have been caught at the match step if it was real. Re-run the match process, and if that does not work, post to [email protected]
        I met the same issue. After rerun it, It still threw this exception. I tested the data with Bowtie, it worked. So, what is the read name check? and why it failed in this step? Thanks.

        Comment

        • nilshomer
          Nils Homer
          • Nov 2008
          • 1283

          #5
          Originally posted by xinwu View Post
          I met the same issue. After rerun it, It still threw this exception. I tested the data with Bowtie, it worked. So, what is the read name check? and why it failed in this step? Thanks.
          The read name cannot be longer than 4028 characters.

          Comment

          • xinwu
            Member
            • Jul 2010
            • 33

            #6
            Originally posted by nilshomer View Post
            The read name cannot be longer than 4028 characters.
            Thanks for the quick reply, Nils. But I am sure the name should not exceed
            4028 which is really a large number for a name. There must be something wrong somewhere.

            Comment

            • nilshomer
              Nils Homer
              • Nov 2008
              • 1283

              #7
              There definitely is. Could you try aligning subsets of your reads until you can identify the problem read? That is how I would begin to debug this problem.

              Comment

              • xinwu
                Member
                • Jul 2010
                • 33

                #8
                Originally posted by nilshomer View Post
                There definitely is. Could you try aligning subsets of your reads until you can identify the problem read? That is how I would begin to debug this problem.
                I've checked all read names, the max length of them is 37. I've tried a small set with 1000 reads, it worked fine. The original reads file is about 7G with ~130M reads (100bp). Does its size matter?

                Comment

                • nilshomer
                  Nils Homer
                  • Nov 2008
                  • 1283

                  #9
                  Originally posted by xinwu View Post
                  I've checked all read names, the max length of them is 37. I've tried a small set with 1000 reads, it worked fine. The original reads file is about 7G with ~130M reads (100bp). Does its size matter?
                  It shouldn't matter no. Try breaking it up into chunks of 1M reads, then processing them separately.

                  Comment

                  Latest Articles

                  Collapse

                  • kinpict.com
                    Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                    by kinpict.com
                    The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                    Today, 06:37 PM
                  • SEQadmin2
                    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                    by SEQadmin2





                    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                    10-30-2026, 06:46 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 11-12-2026, 07:59 AM
                  0 responses
                  27 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 11-05-2026, 09:25 AM
                  0 responses
                  35 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 11-03-2026, 11:54 AM
                  2 responses
                  56 views
                  0 reactions
                  Last Post kinpict.com  
                  Started by SEQadmin2, 10-28-2026, 09:57 AM
                  0 responses
                  175 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...