Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cdes79
    Junior Member
    • Sep 2013
    • 9

    #1

    formatdb works but makeblastdb doesn't (BLAST)

    Dear all,

    i am trying to format the non-redundant fasta database (nr) downloaded from the NCBI repository. I have initially formatted it with the program formatdb from blast 2.2.25 that i had installed on my machine and it worked fine
    Code:
    formatdb -p T -o T -i nr
    However i have just upgraded to the latest blast 2.2.29+ version and i read that formatdb should no longer be used but makeblastdb should be used instead. So i tried to format the database again
    Code:
     makeblastdb -in nr -dbtype prot
    but i get the following error:
    Error: (1431.1) FASTA-Reader: Warning: FASTA-Reader: Ignoring FASTA modifier(s) found because the input was not expected to have any.

    I don't quite get the error and what could that be. Does anybody have any idea? Thanks
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Why are you reformatting nr when you can get the pre-built indexes from: ftp://ftp.ncbi.nih.gov/blast/db/

    Comment

    • westerman
      Rick Westerman
      • Jun 2008
      • 1104

      #3
      While I agree with GenoMax's comment, I think that you can find the line causing the error at line #1431 of your input file. Also I find it interesting that your input file 'nr' does not have an extension -- are you sure this is correct?

      Comment

      • cdes79
        Junior Member
        • Sep 2013
        • 9

        #4
        Originally posted by GenoMax View Post
        Why are you reformatting nr when you can get the pre-built indexes from: ftp://ftp.ncbi.nih.gov/blast/db/
        I am new to it and that's how i thought it was done. As simple as that. So basically all the files in the main db directory are equivalent to the ones that i create during the formatting? Is that correct? I simply need to download all those nr.* and place them in my db directory?

        Also I find it interesting that your input file 'nr' does not have an extension -- are you sure this is correct?
        I simply downloaded the nr.gz file from the db/FASTA folder and unzipped it from the terminal using gzip. It had no extension and i used it as it was. And it worked with formatdb. Do you have any idea why it might be working with one and not the other if there is an error at that line? (will check tomorrow at work)

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Originally posted by cdes79 View Post
          I am new to it and that's how i thought it was done. As simple as that. So basically all the files in the main db directory are equivalent to the ones that i create during the formatting? Is that correct? I simply need to download all those nr.* and place them in my db directory?
          That is correct. Make sure you download all the nr* files. Be aware that this would be a large download and depending on bandwidth available could take some time.

          Comment

          • cdes79
            Junior Member
            • Sep 2013
            • 9

            #6
            Originally posted by GenoMax View Post
            That is correct. Make sure you download all the nr* files. Be aware that this would be a large download and depending on bandwidth available could take some time.
            Thanks very much. FYI i just figured that i can run the blast remotely on the ncbi server using the flag -remote. That doesn't require to download any databases as well as i can do it on my sloppy machine. :-)

            Best,
            Christian

            Comment

            • maubp
              Peter (Biopython etc)
              • Jul 2009
              • 1544

              #7
              Originally posted by cdes79 View Post
              However i have just upgraded to the latest blast 2.2.29+ version and ... i get the following error:
              Error: (1431.1) FASTA-Reader: Warning: FASTA-Reader: Ignoring FASTA modifier(s) found because the input was not expected to have any.

              I don't quite get the error and what could that be. Does anybody have any idea? Thanks
              I just hit what is probably the same issue, and believe this is a new bug in BLAST+ 2.2.29 (the older versions I tested were fine) when FASTA query files which contain [key=value] tags in their description/title line: http://blastedbio.blogspot.co.uk/201...modifiers.html

              I have reported this to the NCBI by email.

              Comment

              • shangzhong0619
                Member
                • Nov 2013
                • 17

                #8
                Originally posted by cdes79 View Post
                Thanks very much. FYI i just figured that i can run the blast remotely on the ncbi server using the flag -remote. That doesn't require to download any databases as well as i can do it on my sloppy machine. :-)

                Best,
                Christian
                Hi, just a question, how many transcripts did you search using -remote? how is the speed? thanks.
                Last edited by shangzhong0619; 05-26-2014, 02:04 AM.

                Comment

                • shangzhong0619
                  Member
                  • Nov 2013
                  • 17

                  #9
                  Originally posted by GenoMax View Post
                  That is correct. Make sure you download all the nr* files. Be aware that this would be a large download and depending on bandwidth available could take some time.
                  Hello, GenoMax, I have a question, there are 16 nr files in the ftp, can I use cat to concatenate the files with the same extension in those 16 folders and finally get only one big database? I don't want to blast 16 times for searching only one query.

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Originally posted by shangzhong0619 View Post
                    Hello, GenoMax, I have a question, there are 16 nr files in the ftp, can I use cat to concatenate the files with the same extension in those 16 folders and finally get only one big database? I don't want to blast 16 times for searching only one query.
                    nr* files you download from NCBI are already formatted appropriately. You should only gunzip/untar them (make sure all the files are in the same folder) but leave them alone otherwise.

                    Comment

                    • rcrystal
                      Junior Member
                      • Feb 2012
                      • 6

                      #11
                      In case it helps anyone, I ran into this same issue and found this blogger who states that the error messages are irrelevant:

                      I recently got a weird error/warning message (repeated) in my BLAST+ stderr output, Error: (1431.1) FASTA-Reader: Warning: FASTA-Reader: ...

                      Comment

                      • maubp
                        Peter (Biopython etc)
                        • Jul 2009
                        • 1544

                        #12
                        Originally posted by rcrystal View Post
                        In case it helps anyone, I ran into this same issue and found this blogger who states that the error messages are irrelevant:

                        http://blastedbio.blogspot.com/2014/...modifiers.html
                        I posted a link to this earlier in the thread, but I'm glad it was useful

                        Comment

                        • rcrystal
                          Junior Member
                          • Feb 2012
                          • 6

                          #13
                          Thanks maubp! I see it now, I'm sorry I missed it before!

                          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, Yesterday, 11:13 AM
                          0 responses
                          18 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, Yesterday, 10:48 AM
                          0 responses
                          18 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
                          42 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...