Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Tallying BLAST Matches

    Hi,

    I've got a custom BLASTDB created from a FASTA file containing large amounts of short sequences:

    >seqA
    GATCGATAGTTAGACTAGTAAGCAAA
    >seqB
    AAATCACAGTGACTAGTAGAGAGATT
    >seqC
    AAGGCCCCTATATAGACTGACTAGTA

    and so on.

    I've sequenced a large library of molecules which are ligation products between 2 of the sequences held in this custom DB i.e. SeqA-SeqC (GATCGATAGTTAGACTAGTAAGCAAAAAGGCCCCTATATAGACTGACTAGTA).

    I need to be able to BLAST my sequencing data against the custom database and then tally how many times each possible ligation product is present and output this based on their FASTA labels i.e. something like this:

    SeqA-SeqC 54
    SeqA-SeqB 102

    Is this something that BLAST/BLAST+ may be able to do instrinsically or is it something that would have to be done in perl/python? Does anybody have a script which may do something similar which I could have a look at to get a framework to build upon?

    Thanks!

    - Julia

  • #2
    I thought of using -max_target_seqs 2 on command-line blastn providing the two top-hits which will represent which 2 sequences gave rise to the ligation products and then outputting this to a custom BLAST format - I am not sure how to proceed from there to obtain the required tally.

    Comment


    • #3
      This mostly depends on what you mean by "large amounts" and "large library".

      If there are fewer than ~100 short sequences, you could probably get away with enumerating (and indexing) all possible combinations (10,000 total), then doing a simple search.

      If you have fewer than ~100,000 short sequences and have predictable start/end points in the library, then you could hash the short sequences and store in memory, then check each ligation product part against the hashed index (unfortunately, using hashes wouldn't allow for errors).

      Otherwise, if the library is less than around 1-5GB, you might be better off reversing the query -- create an index of unique ligation products and map the short sequences to those.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Technologies
        by seqadmin







        Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

        Long-Read Sequencing
        Long-read sequencing has...
        12-02-2024, 01:49 PM
      • seqadmin
        Genetic Variation in Immunogenetics and Antibody Diversity
        by seqadmin



        The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
        11-06-2024, 07:24 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 12-02-2024, 09:29 AM
      0 responses
      130 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-02-2024, 09:06 AM
      0 responses
      48 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 12-02-2024, 08:03 AM
      0 responses
      38 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 11-22-2024, 07:36 AM
      0 responses
      68 views
      0 likes
      Last Post seqadmin  
      Working...
      X