Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • question on making BLAST db

    Hi,

    I'm trying to make a BLAST database. The fasta file was downloaded from ftp://ftp.theseed.org/genomes/SEED/SEED.fasta.gz. Then I used commond line: makeblastdb -in seed.fasta -out seeddb -dbtype prot. But it shows a error message "Eror: Unable to open input seed.fasta as either FASTA file or BLAST db".

    The seed.fasta is around 1.2G big. I opened it, the lines are like:

    >fig|100226.1.rna.129 unknown function
    ......................................................
    ......................................................

    >fig|100226.1.peg.6568 putative membrane protein (GT:3483031)
    MKQGKEVENPESRFFAVLLAAA..................................................
    ........................................................................................
    ......................................LGRDFSNTSFAAAPAPPAEPGPETPTVRG


    What cause the error? Thanks in advance.

  • #2
    First of all: Have you renamed the 'SEED.fasta' to 'seed.fasta'?
    Furthermore, it looks like your fasta file isn't complete valid. At the beginning of the file there are some fasta entries without sequence. You could delete them and try again!

    Comment


    • #3
      Try to use "-hash_index" in your command. I don't exactly the reason, but I think this causes a kind referencing your database file.

      anna

      Comment


      • #4
        Appreciate, dschika and anna.

        The mistake I made is I wasn't at the correct directory. After I switched there "makeblastdb" did take actions. But just like what you both pointed out, the "SEED.fasta" isn't completely valid. (Error message showed as Bad Char String some things.)

        My question is seems it isn't applicable to manually edit the big size .fasta file (1.2G), because even just a simple click on the file would take some time to response. Any better way to work on fasta file?

        I haven't had a chance to try "-hash_index", but I checked the BLAST maual. It works for "Enables the creation of sequence hash values. These hash values can then
        be used to quickly determine if a given sequence data exists in this BLAST database." I'm confused, because I haven't had a database by this point.

        By the way, something interrupted and made me reply so late, sorry!

        Comment


        • #5
          I don't know your programmig skills, but I would write a small python or perl script.

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:37 PM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 06:07 PM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          49 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          66 views
          0 likes
          Last Post seqadmin  
          Working...
          X