Unconfigured Ad

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

    #1

    obtaining sequence names after local blast

    Dear all,

    i am trying to create an annotation for a custom array of a non-model species. I am running the latest version of BLAST+ (2.2.29+) and using the blastx. My output does not contain the gene names and i would like to have those.

    I know this topic has been covered in a previous thread (http://seqanswers.com/forums/showthread.php?t=14031) and that it is not possible to obtain gene informations using blast+.

    I am wondering if there are alternative ways by which other people achieve this tasks (i am not keen in using blast2GO as it runs very slowly). I would appreciate some hints.
  • rhinoceros
    Senior Member
    • Apr 2013
    • 372

    #2
    The manual. You could try e.g. the stitle (subject title) flag. Alternatively, it shouldn't be very hard to link subject gi's or accessions to other information with entrez direct..
    savetherhino.org

    Comment

    • cdes79
      Junior Member
      • Sep 2013
      • 9

      #3
      Thanks rhinoceros,

      i was looking at the options via the blastx -help on the terminal and it does not have that stitle flag amongst the options for some reasons. I am certainly trying that.

      Also thanks for the entrez direct, i wasnt aware of it. I am new to blast and in general new to bioinformatics so i apologize if the question was very basic. I guess we all ahve to start somewhere. :-)

      Comment

      • rhinoceros
        Senior Member
        • Apr 2013
        • 372

        #4
        Originally posted by cdes79 View Post
        Thanks rhinoceros,
        i was looking at the options via the blastx -help on the terminal and it does not have that stitle flag amongst the options for some reasons. I am certainly trying that.
        It's an option within -outfmt, e.g. -outfmt '6 std stitle' gives you the standard tabular output + stitle as the last column.
        savetherhino.org

        Comment

        • cdes79
          Junior Member
          • Sep 2013
          • 9

          #5
          Originally posted by rhinoceros View Post
          It's an option within -outfmt, e.g. -outfmt '6 std stitle' gives you the standard tabular output + stitle as the last column.
          i know, i read the terminal manual. But again it is not there. Pasted below the relevant section. Anyway, i am running it as we speak and it is running fine. I'll see the output when it comes out.

          *** Formatting options
          -outfmt <String>
          alignment view options:
          0 = pairwise,
          1 = query-anchored showing identities,
          2 = query-anchored no identities,
          3 = flat query-anchored, show identities,
          4 = flat query-anchored, no identities,
          5 = XML Blast output,
          6 = tabular,
          7 = tabular with comment lines,
          8 = Text ASN.1,
          9 = Binary ASN.1,
          10 = Comma-separated values,
          11 = BLAST archive format (ASN.1)

          Options 6, 7, and 10 can be additionally configured to produce
          a custom format specified by space delimited format specifiers.
          The supported format specifiers are:
          qseqid means Query Seq-id
          qgi means Query GI
          qacc means Query accesion
          qaccver means Query accesion.version
          qlen means Query sequence length
          sseqid means Subject Seq-id
          sallseqid means All subject Seq-id(s), separated by a ';'
          sgi means Subject GI
          sallgi means All subject GIs
          sacc means Subject accession
          saccver means Subject accession.version
          sallacc means All subject accessions
          slen means Subject sequence length
          qstart means Start of alignment in query
          qend means End of alignment in query
          sstart means Start of alignment in subject
          send means End of alignment in subject
          qseq means Aligned part of query sequence
          sseq means Aligned part of subject sequence
          evalue means Expect value
          bitscore means Bit score
          score means Raw score
          length means Alignment length
          pident means Percentage of identical matches
          nident means Number of identical matches
          mismatch means Number of mismatches
          positive means Number of positive-scoring matches
          gapopen means Number of gap openings
          gaps means Total number of gaps
          ppos means Percentage of positive-scoring matches
          frames means Query and subject frames separated by a '/'
          qframe means Query frame
          sframe means Subject frame
          btop means Blast traceback operations (BTOP)
          When not provided, the default value is:
          'qseqid sseqid pident length mismatch gapopen qstart qend sstart send
          evalue bitscore', which is equivalent to the keyword 'std'
          Default = `0'

          Comment

          • Birdman
            Member
            • Jan 2014
            • 21

            #6
            Just use the XML output (outfmt -5) and parse it to obtain gene names.

            Comment

            • westerman
              Rick Westerman
              • Jun 2008
              • 1104

              #7
              @cdes76: You need a more recent version of blast. Mine is blastx: 2.2.29+
              Package: blast 2.2.29, build Dec 10 2013 14:41:40 and has 'stitle' in it.

              @Birdman: IMHO parsing XML is not that easy. Oh, you and I can do it but the casual user will have more problems. Did you see the recent note from NCBI saying that they want input on how to make their XML more standard/parsable?

              Comment

              • cdes79
                Junior Member
                • Sep 2013
                • 9

                #8
                Originally posted by westerman View Post
                @cdes76: You need a more recent version of blast. Mine is blastx: 2.2.29+
                Package: blast 2.2.29, build Dec 10 2013 14:41:40 and has 'stitle' in it.

                @Birdman: IMHO parsing XML is not that easy. Oh, you and I can do it but the casual user will have more problems. Did you see the recent note from NCBI saying that they want input on how to make their XML more standard/parsable?
                thanks westerman for the support, i think it is easy to forget how daunting this field can be, particularly for people that are not dedicated bioinformaticians, but biologists trying to use new tools. Anyway, back to us i think i figured what the problem might be. I said before i could not find the "stitle" and actually when i used it did not add the sequence info to the output.

                Then i noticed that although i installed the latest version 2.2.29+ when i go blastx -h it tells me in the description that i have 2.2.25+. I had a previous blast version installed and probably that is why i am experiencing the problem.

                I am now running the command giving the path to the right blastx and see what happens (it is running now). Do you know how i can fix this problem and make sure the blastx runs from the right folder? I assume i should change the PATH? How so?

                Thanks, Christian

                Comment

                • westerman
                  Rick Westerman
                  • Jun 2008
                  • 1104

                  #9
                  Originally posted by cdes79 View Post
                  I am now running the command giving the path to the right blastx and see what happens (it is running now). Do you know how i can fix this problem and make sure the blastx runs from the right folder? I assume i should change the PATH? How so?
                  Changing the PATH is a good idea. I am sure there are many tutorials on how to do so out there. In general, from Bash,

                  export PATH=/new/path:$PATH

                  Comment

                  • rhinoceros
                    Senior Member
                    • Apr 2013
                    • 372

                    #10
                    Originally posted by cdes79 View Post
                    I am now running the command giving the path to the right blastx and see what happens (it is running now). Do you know how i can fix this problem and make sure the blastx runs from the right folder? I assume i should change the PATH? How so?
                    At the command line:

                    Code:
                    which blastx
                    Go ahead and delete the whole dir (except if it's something like /usr/bin or /usr/local/bin in which case just delete the blast binaries). Then change paths in your .bashrc (or equivalent depending on your OS)..
                    Last edited by rhinoceros; 03-19-2014, 05:59 AM.
                    savetherhino.org

                    Comment

                    • cdes79
                      Junior Member
                      • Sep 2013
                      • 9

                      #11
                      Thanks all of you for the fantastic help! Everything worked fine!!!

                      Comment

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

                        #12
                        You need BLAST+ 2.2.28 or later for the stitle field and related new columns, see:
                        This is an open letter to the NCBI BLAST+ team to request two simple enhancements which I think would be extremely useful - first and foremo...

                        Comment

                        Latest Articles

                        Collapse

                        • SEQadmin2
                          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                          by SEQadmin2


                          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                          The systematic characterization of the human proteome has
                          ...
                          07-20-2026, 11:48 AM
                        • SEQadmin2
                          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                          by SEQadmin2



                          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                          ...
                          07-09-2026, 11:10 AM
                        • SEQadmin2
                          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                          by SEQadmin2



                          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                          07-08-2026, 05:17 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, Today, 02:55 AM
                        0 responses
                        6 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-24-2026, 12:17 PM
                        0 responses
                        11 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-23-2026, 11:41 AM
                        0 responses
                        12 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 07-20-2026, 11:10 AM
                        0 responses
                        24 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...