Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Esther
    Junior Member
    • Jul 2010
    • 5

    #1

    BFAST fasta2brg help

    I'm trying to create a reference genome with BFAST using the inhouse reference genome. This file contains all the chromosomes of the human genome and is ~3 GB large. However, when I execute the following command:

    bfast fasta2brg -f /../reference_human.fa -A 0

    It gives the following error:


    ************************************************************
    Checking input parameters supplied by the user ...
    Validating fastaFileName /../reference_human.fa.
    Input arguments look good!
    ************************************************************
    ************************************************************
    Printing Program Parameters:
    programMode: [ExecuteProgram]
    fastaFileName: /../reference_human.fa
    space: [NT Space]
    timing: [Not Using]
    ************************************************************
    ************************************************************
    Reading from /../reference_human.fa.
    Reading in [contig,pos]:
    ]-------1,----------0]Base:[
    ************************************************************
    In function "RGBinaryRead": Fatal Error[OutOfRange]. Variable/Value: original.
    Message: Not a valid base pair.
    ***** Exiting due to errors *****
    ************************************************************

    When I run the chromosomes seperately the tool functiones fine. I can't find the source of the problem. What is going wrong here?

    Is it possible to execute the run using multiple reference files? (Since the tool seems to work with a chromosome at a time)
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Originally posted by Esther View Post
    I'm trying to create a reference genome with BFAST using the inhouse reference genome. This file contains all the chromosomes of the human genome and is ~3 GB large. However, when I execute the following command:

    bfast fasta2brg -f /../reference_human.fa -A 0

    It gives the following error:


    ************************************************************
    Checking input parameters supplied by the user ...
    Validating fastaFileName /../reference_human.fa.
    Input arguments look good!
    ************************************************************
    ************************************************************
    Printing Program Parameters:
    programMode: [ExecuteProgram]
    fastaFileName: /../reference_human.fa
    space: [NT Space]
    timing: [Not Using]
    ************************************************************
    ************************************************************
    Reading from /../reference_human.fa.
    Reading in [contig,pos]:
    ]-------1,----------0]Base:[
    ************************************************************
    In function "RGBinaryRead": Fatal Error[OutOfRange]. Variable/Value: original.
    Message: Not a valid base pair.
    ***** Exiting due to errors *****
    ************************************************************

    When I run the chromosomes seperately the tool functiones fine. I can't find the source of the problem. What is going wrong here?

    Is it possible to execute the run using multiple reference files? (Since the tool seems to work with a chromosome at a time)
    It looks like there may be an extra newline or carriage return in your reference. Are you running this on Windows or obtained the reference from a Windows machine? If so, you will have to run "dos2unix" on your reference.

    Comment

    • Esther
      Junior Member
      • Jul 2010
      • 5

      #3
      Thank you, the dos2unix did the trick. The reference file was indeed created in Windows.

      Comment

      • kursuni
        Member
        • May 2011
        • 15

        #4
        Bfast fasta2brg -f filename

        Hi,

        I'm working on my thesis work and I'm trying to run BFAST software for aligning FASTQ datasets. I'm getting error written below. and the command is;
        > bfast fasta2brg -f filename

        The error is;
        ________________________________________________________________
        ****************
        Checking input parameters supplied by the user ...
        Validating fastaFileName SRR035022_1.filt.fastq.
        Input arguments look good!
        ****************
        Printing Program Parameters:
        programMode: [ExecuteProgram]
        fastaFileName: SRR035022_1.filt.fastq
        space: [NT Space]
        timing: [Not Using]
        ******************
        Reading from SRR035022_1.filt.fastq.
        ********************
        In function "RGBinaryRead": Fatal Error[OpenFileError]. Variable/Value: SRR035022_1.filt.fastq.
        Message: Could not open file for reading.
        The file stream error was:: Value too large for defined data type
        ***** Exiting due to errors *****
        _____________________________________________________________


        I couldnt figure out what the problem is...

        Can you tell me what I'm doing wrong ?

        Thanks in advance...

        Comment

        • nilshomer
          Nils Homer
          • Nov 2008
          • 1283

          #5
          It looks like you are trying to create a binary reference from the read's fastq file. You should be using the reference FASTA file. See the manual (appendix) for a walk-through.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          43 views
          0 reactions
          Last Post SEQadmin2  
          Working...