Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ctstackh
    Junior Member
    • Dec 2013
    • 7

    #1

    makeblastdb protein

    $ ./makeblastdb -in ../../Phosphosite_seq.fasta -input_type
    fasta -dbtype prot -title Phosphosite_seq_db -out Phosphosite_seq


    Building a new DB, current time: 03/19/2015 16:03:22
    New DB name: Phosphosite_seq
    New DB title: Phosphosite_seq_db
    Sequence type: Protein
    Keep Linkouts: T
    Keep MBits: T
    Maximum file size: 1000000000B

    volume: Phosphosite_seq

    file: Phosphosite_seq.pin
    file: Phosphosite_seq.phr
    file: Phosphosite_seq.psq

    BLAST Database creation error: FASTA-Reader: No residues given


    Any ideas?
  • ctstackh
    Junior Member
    • Dec 2013
    • 7

    #2
    Additionally

    $ head ../../Phosphosite_seq.fasta
    >CBLN1|mouse|Q9R171
    MLGVVELLLLGTAWLAGPARGQNETEPIVLEGKCLVVCDSNPTSDPTGTALGISVRSGSA
    KVAFSAIRSTNHEPSEMSNRTMIIYFDQVLVNIGNNFDSERSTFIAPRKGIYSFNFHVVK
    VYNRQTIQVSLMLNGWPVISAFAGDQDVTREAASNGVLIQMEKGDRAYLKLERGNLMGGW
    KYSTFSGFLVFPL
    >COX7A2|mouse|P48771
    MLRNLLALRQIAQRTISTTSRRHFENKVPEKQKLFQEDNGMPVHLKGGASDALLYRATMA
    LTLGGTAYAIYLLAMAAFPKKQN
    >FAM219A|mouse|Q9D772
    MMEEIDRFQDPAAASISDRDCDAREEKQRELARKGSLKNGSMGSPVNQQPKKNNVMARTR

    Comment

    • LeightonP
      Member
      • Feb 2011
      • 29

      #3
      I would expect that the problem is that one of your sequences has no residues in it, but I can't reproduce the problem with your test data:

      Code:
      lpritc@Totoro:~$ more test.fas
      >CBLN1|mouse|Q9R171
      MLGVVELLLLGTAWLAGPARGQNETEPIVLEGKCLVVCDSNPTSDPTGTALGISVRSGSA
      KVAFSAIRSTNHEPSEMSNRTMIIYFDQVLVNIGNNFDSERSTFIAPRKGIYSFNFHVVK
      VYNRQTIQVSLMLNGWPVISAFAGDQDVTREAASNGVLIQMEKGDRAYLKLERGNLMGGW
      KYSTFSGFLVFPL
      >COX7A2|mouse|P48771
      MLRNLLALRQIAQRTISTTSRRHFENKVPEKQKLFQEDNGMPVHLKGGASDALLYRATMA
      LTLGGTAYAIYLLAMAAFPKKQN
      >FAM219A|mouse|Q9D772
      MMEEIDRFQDPAAASISDRDCDAREEKQRELARKGSLKNGSMGSPVNQQPKKNNVMARTR
      lpritc@Totoro:~$ makeblastdb -in test.fas -input_type fasta -dbtype prot -title test_db -out test
      
      
      Building a new DB, current time: 03/19/2015 22:01:53
      New DB name:   test
      New DB title:  test_db
      Sequence type: Protein
      Deleted existing BLAST database with identical name.
      Keep Linkouts: T
      Keep MBits: T
      Maximum file size: 1000000000B
      Adding sequences from FASTA; added 3 sequences in 0.000775099 seconds.
      If I were you, I would inspect the complete input file for sequences with no residues (e.g.

      Code:
      >some_sequence_id_1
      
      >some_sequence_id_2
      ACGHITNKLLSMNER
      This can happen if you've been using a tool that masks repeats.
      Last edited by LeightonP; 03-19-2015, 02:06 PM.

      Comment

      • ctstackh
        Junior Member
        • Dec 2013
        • 7

        #4
        Originally posted by LeightonP View Post
        If I were you, I would inspect the complete input file for sequences with no residues (e.g.

        Code:
        >some_sequence_id_1
        
        >some_sequence_id_2
        ACGHITNKLLSMNER
        This can happen if you've been using a tool that masks repeats.
        I haven't used any program to mask repeats. It is a seq database listing the complete sequence of proteins used in the Phosphosite database. There should be no empty sequences.

        Comment

        • LeightonP
          Member
          • Feb 2011
          • 29

          #5
          Originally posted by ctstackh View Post
          I haven't used any program to mask repeats. It is a seq database listing the complete sequence of proteins used in the Phosphosite database. There should be no empty sequences.
          One of the frustrations of bioinformatics is that datasets don't always contain exactly what you expect. Did you check that there are - as you expect - no empty sequences?

          I can reproduce your error with a fake dataset containing an empty sequence, and I still think that this is possibly a cause of your error:

          Code:
          lpritc@Totoro:~$ cat > test.fas
          >seq1
          ATGCTGTCAGCTAGCTGATCGATCGGC
          >seq2
          
          >seq3
          GHILKPNMACDEFGH
          lpritc@Totoro:~$ makeblastdb -in test.fas -input_type fasta -dbtype prot -title test_db -out test
          
          
          Building a new DB, current time: 03/20/2015 11:55:19
          New DB name:   test
          New DB title:  test_db
          Sequence type: Protein
          Keep Linkouts: T
          Keep MBits: T
          Maximum file size: 1000000000B
          
          volume: test
          
          file: test.pin
          file: test.phr
          file: test.psq
          
          BLAST Database creation error: FASTA-Reader: No residues given
          Last edited by LeightonP; 03-20-2015, 03:56 AM.

          Comment

          • LeightonP
            Member
            • Feb 2011
            • 29

            #6
            You can count the number of blank lines in a file (filename) with:

            Code:
            grep -c "^$" filename
            or, if you consider whitespace to be "blank":

            Code:
            grep -c "^\s*$" filename
            If you have any in your FASTA file, from which you're trying to build your database, that may be the problem. You can see the surrounding context of blank lines with:

            Code:
            grep -C "^$" filename
            (note: capital 'C' this time) - this should help you find any blank line in your file and edit it.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Do this (adjust file names accordingly):

              1. Using BBMap's reformat.sh remove the line wrapping from the Phosphosite_seq.txt and make the sequence names unique.

              Code:
              $ reformat.sh in=Phosphosite_seq.txt out=reform.fa uniquenames=t fastawrap=80000
              2. Build the database with makeblastdb

              Code:
              $ makeblastdb -in reform.fa -dbtype prot -out Phosphosite_seq -title Phosphosite_seq_db

              Comment

              • ctstackh
                Junior Member
                • Dec 2013
                • 7

                #8
                Originally posted by GenoMax View Post
                Do this (adjust file names accordingly):

                1. Using BBMap's reformat.sh remove the line wrapping from the Phosphosite_seq.txt and make the sequence names unique.

                Code:
                $ reformat.sh in=Phosphosite_seq.txt out=reform.fa uniquenames=t fastawrap=80000
                2. Build the database with makeblastdb

                Code:
                $ makeblastdb -in reform.fa -dbtype prot -out Phosphosite_seq -title Phosphosite_seq_db
                Sweet! That worked. Thank you!

                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
                17 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...