Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Blast database creation : Error

    HI,

    I am new to Bioinformatics. I am creating a database with the fasta formatted sequences from high througput sequncing data (20-30 bp in length). While I create the blast database (version ncbi-blast-2.2.23), I notice an error which is not comprehendible to me. I request you to help me:

    Command used:
    ============
    $ makeblastdb -in puts2.fa -dbtype nucl -parse_seqids -mask_data puts2_mask.asnb -out puts2db -title "puts2_database"

    Error message:
    ===========
    Error: (803.7) Bad char in VisibleString: 9

    Do help me in solving this issue

  • #2
    makeblastdb Bad char in VisibleString

    Hi!

    I had the same message today. In my case it is was due to a tab found in the id line. Hope your problem is equally simple.

    cheers

    Björn

    Comment


    • #3
      Hi Bjorn,

      In my case there wasnt any problem in the data. Rather when I uninstalled the ....24 version of the blast++ and worked with 23 version things worked out pretty smooth. Later I noticed that there is a bug in that version.

      Comment


      • #4
        Had the same issue.

        Tab was causing the problem in the header.


        Simple fix in vi.
        From the colon :

        :%s/\t//g

        *replaces all tabs with nothing.

        Comment


        • #5
          Hi all

          I also create with makeblastdb 2.2.26+ - I received the same error message+
          Error: (803.7) Bad char in VisibleString: 9
          and deleted the tabs.

          however, making a database from Aedes Aedes_aegypti_Aaeg_1.2 i had two other error messages:

          Error: (803.7) Bad char in VisibleString: 195
          Error: (803.7) Bad char in VisibleString: 164

          Does anybody know what it means?
          thanks kaem

          Comment


          • #6
            Apparently the number at the end of the message (9, 164, or 195) is the character code that it didn't like. So, the '9' is a tab character, and 164 and 195 are just random characters that together probably mean 'dash' in Unicode or something.

            To fix it, edit the fasta file with 'vi', search for all characters that aren't printable, and delete them or something. I used '/[^ -|]/' (match anything outside the range of space to vertical-bar) to find the bad character in my file. It was between two words in a header line, not in a sequence: "thioredoxin(?)peroxidase", so I replaced it with a dash.

            Hope this helps you, or anyone googling after you!

            Originally posted by kaem View Post
            Hi all

            I also create with makeblastdb 2.2.26+ - I received the same error message+
            Error: (803.7) Bad char in VisibleString: 9
            and deleted the tabs.

            however, making a database from Aedes Aedes_aegypti_Aaeg_1.2 i had two other error messages:

            Error: (803.7) Bad char in VisibleString: 195
            Error: (803.7) Bad char in VisibleString: 164

            Does anybody know what it means?
            thanks kaem

            Comment


            • #7
              Hi all,

              How works the software with this error? They correct it?

              Because, my database is too big (13Go). I can't open it to correct the error manually.

              My bad character is 0X92 (i thing it's " , ").

              Can you help me please?

              Thank you very much,

              Benoit

              Comment


              • #8
                I'm new to seqanswers so forgive me for not knowing how to start a new thread. I'm having a strange issue... I'm running "makeblastdb -in seq.fsa -dbtye nucl" everything finishes fine (no error message) but there is no output (i.e. *.nin, *.nhr, *.nsq). I want to keep the outputs the same name as the inputs so I didn't specify "-out". I figured it might have saved in the $BLASTDB location but that isn't even set. One note is the fasta file is 16 GB, do I need to manually split it up and create *.nal or something? Thanks

                Comment


                • #9
                  Originally posted by jjzieve View Post
                  I'm new to seqanswers so forgive me for not knowing how to start a new thread. I'm having a strange issue... I'm running "makeblastdb -in seq.fsa -dbtye nucl" everything finishes fine (no error message) but there is no output (i.e. *.nin, *.nhr, *.nsq). I want to keep the outputs the same name as the inputs so I didn't specify "-out". I figured it might have saved in the $BLASTDB location but that isn't even set. One note is the fasta file is 16 GB, do I need to manually split it up and create *.nal or something? Thanks
                  Starting new threads:

                  SeqAnswers.com --> "Forums" (from site navigation at top left) --> Choose an appropriate forum --> "New Thread" button at top left.

                  It is always a good idea to search the forum first with some keywords.

                  See this thread: http://seqanswers.com/forums/showthread.php?t=34619 and the link in the thread to NCBI blast command line manual.

                  How much memory do you have on this machine? For a 16GB sequence file it should take a while to make the database. How long did your job take?

                  Comment


                  • #10
                    We have 16 gigs of RAM, the job only took about 5 minutes. So... I'm thinking maybe the job quit with no errors? I have access to a high memory machine on a HPC I'll try running it there and let you know how that works out.

                    Comment


                    • #11
                      In case you still have trouble try to capture the standard error/out messages to a file to see if that provides any additional info.

                      Comment


                      • #12
                        Worked like a charm on a high memory node running ubuntu 13.04. Do you think it would be worthwhile to put in a bug request to the blast people? That essentially, their were no errors reported for what was probably a stack overflow? The other system I was on was CentOS 6.4, btw.

                        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
                        26 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 12-13-2024, 08:24 AM
                        0 responses
                        42 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 12-12-2024, 07:41 AM
                        0 responses
                        28 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 12-11-2024, 07:45 AM
                        0 responses
                        42 views
                        0 likes
                        Last Post seqadmin  
                        Working...
                        X