Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Reformatting BLAST+ pairwise alignment?

    Greetings!

    The default for BLAST+ output is a pairwise alignment broken up into 60bp increments:

    Code:
    Query  1     TTATTTTTCTTGATAGAATTAATTCTAATATTAGCACATTAAAAAATACTAAGTC-AAAT  59
                 ||||||| ||||||||  |||||| |||||||| |||||||||||||| |||||| ||||
    Sbjct  542   TTATTTTGCTTGATAGCGTTAATTATAATATTACCACATTAAAAAATATTAAGTCAAAAT  601
    
    Query  60    TGTAATATTTCATTTGATATTGTATGCATACAATTTT-ATC---T--TACCTTTAAGAAT  113
                 ||||||||||||||||||  ||||||||||||||||| |||   |  ||||||||| |||
    Sbjct  602   TGTAATATTTCATTTGAT-CTGTATGCATACAATTTTAATCTTATCATACCTTTAATAAT  660
    
    Query  114   ATGTATAA-TAATTTATACCCATGTAGTT-TATTAAAT--A-AACAT-ATTTGTGCGTAT  167
                 |||||||| |||| |||| | | ||| |   || ||||  |    || |||| | |||||
    Sbjct  661   ATGTATAATTAATATATATCAACGTATTCGAATCAAATGGATTTAATGATTTTTTCGTAT  720
    
    Query  168   CCAATGCGTTTATCTATTGTTATTACTA-T--TA-T--TATTGTTACTGCTATATCACTG  221
                   ||| |||||||||||||||||||||| |  || |  |||| ||| ||| || ||||||
    Sbjct  721   TTAATACGTTTATCTATTGTTATTACTATTACTATTACTATTATTATTGCCATCTCACTG  780
    I inquired with NCBI about a command for BLAST+ (neƩ StandALone BLAST) to have the aligment break at different increments or not at all. Like this:

    Code:
    Query  1     TTATTTTTCTTGATAGAATTAATTCTAATATTAGCACATTAAAAAATACTAAGTC-AAATTGTAATATTTCATTTGATATTGTATGCATACAATTTT-ATC---T--TACCTTTAAGAAT 113
                 ||||||| ||||||||  |||||| |||||||| |||||||||||||| |||||| ||||||||||||||||||||||  ||||||||||||||||| |||   |  ||||||||| |||
    Sbjct  542   TTATTTTGCTTGATAGCGTTAATTATAATATTACCACATTAAAAAATATTAAGTCAAAATTGTAATATTTCATTTGAT-CTGTATGCATACAATTTTAATCTTATCATACCTTTAATAAT  660
    They forwarded the request on to the development team, but don't have that functionality at the time in BLAST+. I was hoping someone might have had the same thought and wrote a little script to reformat these alignments?

    Thanks!
    Last edited by Genomics101; 12-04-2013, 04:42 PM.

  • #2
    Use a different output format (ASN, CSV, or XML). The default text-based format is only meant to be for viewing, not data manipulation, and can change without notice.

    Comment


    • #3
      Save your blast result as XML and process it with a XSLT stylesheet.

      Examples:

      * http://www.biostars.org/p/6635/

      * http://www.biostars.org/p/85258/

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Non-Coding RNA Research and Technologies
        by seqadmin




        Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

        Nobel Prize for MicroRNA Discovery
        This week,...
        10-07-2024, 08:07 AM
      • seqadmin
        Recent Developments in Metagenomics
        by seqadmin





        Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
        09-23-2024, 06:35 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 10-02-2024, 04:51 AM
      0 responses
      104 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-01-2024, 07:10 AM
      0 responses
      112 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-30-2024, 08:33 AM
      1 response
      115 views
      0 likes
      Last Post EmiTom
      by EmiTom
       
      Started by seqadmin, 09-26-2024, 12:57 PM
      0 responses
      22 views
      0 likes
      Last Post seqadmin  
      Working...
      X