Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lyn Hsiong
    Member
    • Sep 2011
    • 14

    #1

    how to merge contiguous blast hsps! (-m 8 tab)

    Hi, guys!

    I performed blastx (-m 8) using a query file of many sequences, and for each target sequence, the output contains many fragmental hsps of significance, and these hsps have overlap positions or not.

    so, how can i merge those closely related hsps into one via setting a flanking value (e.g <300bp) when these hsps match the same subject (different regions).

    In the attached figure, I want to transform the upper results to the lower ones

    Thanks in advance!




    Transform

    scaffold16:1661-2239(+) gi|471236998|ref|YP_007641386.1| 50.00 122 52 3 225 578 603 719 2e-53 126
    scaffold16:1661-2239(+) gi|471236998|ref|YP_007641386.1| 75.00 76 19 0 1 228 528 603 2e-53 108
    scaffold16:1661-2239(+) gi|333951646|gb|AEG25349.1| 52.10 119 54 2 225 578 604 720 7e-53 124
    scaffold16:1661-2239(+) gi|333951646|gb|AEG25349.1| 77.63 76 17 0 1 228 529 604 7e-53 109
    scaffold28:2776872-2777385(-) gi|327335359|gb|AEA49877.1| 70.18 57 17 0 173 343 554 610 3e-30 90.5
    scaffold28:2776872-2777385(-) gi|327335359|gb|AEA49877.1| 72.22 54 15 0 1 162 497 550 3e-30 67.0

    To

    scaffold16:1661-2239(+) gi|471236998|ref|YP_007641386.1| . . . . 1 578 . . 2e-53 234
    scaffold16:1661-2239(+) gi|333951646|gb|AEG25349.1| . . . . 1 578 . . 7e-53 233
    scaffold28:2776872-2777385(-) gi|327335359|gb|AEA49877.1| . . . . 1 343 . . 3e-30 157.0
    Attached Files
    Last edited by Lyn Hsiong; 05-24-2013, 06:19 AM.
  • Torst
    Senior Member
    • Apr 2008
    • 275

    #2
    If you parse with Bio::Perl, you can use the tile_hsps() function in the GenericHit module and use the coordinates it provides.

    Comment

    • Lyn Hsiong
      Member
      • Sep 2011
      • 14

      #3
      Originally posted by Torst View Post
      If you parse with Bio::Perl, you can use the tile_hsps() function in the GenericHit module and use the coordinates it provides.
      Thank you for your reply!
      Do you mean the function Bio::Search::SearchUtils::tile_hsps($hit)?
      I have checked the usage, but I am afraid that I still need a simple practical example, even if only several lines code.

      Did you use that function before? It is kind of you to give me a hand, thanks a lot!

      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, 10-22-2026, 11:13 AM
      0 responses
      60 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      46 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...