Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Makeblastdb problem

    i just download a secuence in .FASTA format from uniprot but
    i cant make it work, this are the errors.

    makeblastdb -in Arabidopsis_thaliana.fas -parse_seqids -dbtype prot
    BLAST Database error: No alias or index file found for protein database [Arabido
    psis_thaliana.fas] in search path [C:\blast-2.2.25+;C:\blast-2.2.25+\db;]

    makeblastdb -in swissprot.fas -dbtype prot -out Thaliana
    Error: Unable to open input swissprot.fas as either FASTA file or BLAST db

    makeblastdb -in swissprot.fas -dbtype prot -out Thaliana.db
    Error: Unable to open input swissprot.fas as either FASTA file or BLAST db

    Please help......

  • #2
    check your downloaded sequences for whether they are truly in fasta format. the errors are complaining that it isn't

    Comment


    • #3
      thanks Kennels, but how can i check it ? the downloaded sequences said Arabidopsis_thaliana.Protein.fasta

      Comment


      • #4
        On the command line, type

        Code:
        head -n 4 <name of your fasta file>
        what do the headers and sequence look like?

        Comment


        • #5
          It appears that detq182 is doing this on a windows machine.

          @detq182: Are you using cygwin to do this or natively in windows itself?

          Comment


          • #6
            Originally posted by Kennels View Post
            On the command line, type

            Code:
            head -n 4 <name of your fasta file>
            what do the headers and sequence look like?
            Cant do the command line. head command dont recognise.

            Comment


            • #7
              Originally posted by GenoMax View Post
              It appears that detq182 is doing this on a windows machine.

              @detq182: Are you using cygwin to do this or natively in windows itself?
              Yes im on windows and natively not using cygwin.

              please help.....

              Comment


              • #8
                I finally can do it

                comman line:
                makeblastdb -in \blast-2.2.25+\db\uniprot_sprot.fasta -parse_seqids -dbtype prot

                and done, thank all of you for your time.

                Comment


                • #9
                  Hi
                  Can someone please explain me how to make blast database in details.
                  I have downloaded the following dir and kept under wd:
                  1. wd/ncbi-blast-2.2.29+
                  2. wdblast
                  3. wd/blast/nr
                  4. wd/blast/nt
                  5. wd/blast/other genomic

                  I get the error:
                  BLAST Database error: No alias or index file found for nucleotide database [blast/nt] in search path [wd/blast/nr]
                  BLAST Database error: No alias or index file found for nucleotide database [blast/nt] in search path [wd/blast/nt]
                  thank you

                  Comment


                  • #10
                    It is not clear if you have downloaded the pre-made indexes for nr/nt etc from NCBI (ftp://ftp.ncbi.nlm.nih.gov/blast/db/) though you made the directory structure above.

                    Comment


                    • #11
                      Yes, I have downloaded from there only all the database.
                      But the problem is that I dont know how to make database, the files are there in the exact PATH but program can not find it cos database is prepared and balst is not installed so blast can not read these files , thats my problem...

                      Comment


                      • #12
                        Originally posted by jp. View Post
                        Yes, I have downloaded from there only all the database.
                        But the problem is that I dont know how to make database, the files are there in the exact PATH but program can not find it cos database is prepared and balst is not installed so blast can not read these files , thats my problem...
                        Forgive me if the following is redundant but I am not clear about what you are trying to say above.

                        The blast executables are available here: ftp://ftp.ncbi.nlm.nih.gov/blast/exe...blast+/2.2.29/ Get the one that is appropriate for your OS. Once those are uncompressed you should be good to go forward.

                        Comment


                        • #13
                          I m sorry for not mentioning exactly before. The blast executable was downloaded from here only: ftp://ftp.ncbi.nlm.nih.gov/blast/exe...blast+/2.2.29/ for linux64 bit. However, I dont have problem in blast executables. and the database for blast (such as nr, nt, other genomic) were ftp://ftp.ncbi.nlm.nih.gov/blast/db/

                          The problem is, while running the blast, it can not read the database files (nr, nt, other genomics) in the PATH (./blast/nr, ./blast/nt, ./blast). Eventhough, these files are at same PATH but blast executable can not read it and give error stating that can not find these files in the following PATH (./blast/nr, ./blast/nt, ./blast). Because, I think, I did not generated blast databse using blast+/2.2.29/bin/.. commands. I think, I need to make database and then indexes (but I think, I downloaded pre-built indexes) and do something that blast+/2.2.29/ can read the database files...
                          ????

                          Comment


                          • #14
                            If you have downloaded pre-built databases, then you don't need to make a database.

                            Have a look at the blast manual:



                            You need to set a variable BLASTDB with the path to the blast databases,
                            or else specify the complete path to the database, starting from the root directory.

                            Comment


                            • #15
                              I think so that pre-built db needs only PATH. and I did as follows:
                              dir structure
                              PATH=$PATH:wd/ncbi-blast-2.2.29+/bin
                              PATH=$PATH:wd/blast
                              PATH=$PATH:wd/blast/nr
                              PATH=$PATH:wd/blast/nt
                              PATH=$PATH:wd/blast
                              I get the error:
                              BLAST Database error: No alias or index file found for nucleotide database [blast/nt] in search path [wd/blast/nr]
                              BLAST Database error: No alias or index file found for nucleotide database [blast/nt] in search path [wd/blast/nt]

                              that is my problem...????

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Essential Discoveries and Tools in Epitranscriptomics
                                by seqadmin




                                The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                                Yesterday, 07:01 AM
                              • seqadmin
                                Current Approaches to Protein Sequencing
                                by seqadmin


                                Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                                04-04-2024, 04:25 PM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, 04-11-2024, 12:08 PM
                              0 responses
                              59 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 04-10-2024, 10:19 PM
                              0 responses
                              57 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 04-10-2024, 09:21 AM
                              0 responses
                              48 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 04-04-2024, 09:00 AM
                              0 responses
                              55 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X