Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • illnoobina
    Junior Member
    • Apr 2014
    • 8

    Problem: ABACAS doesn't design primer

    Hi to everybody,

    I am in the process of finishing my Contigs to a complete sequence and try to use ABACAS to assist me in gap closure. I want ABACAS to take over the primer design for me but it refuses to put out primer sequences. The tool runs as expected, MUMMER and Primer3 are installed and should be in $PATH. ABACAS creates the primer files (which are empty) and doesn't report errors in the primer design problem:

    "Please wait... extracting target regions ...
    26 gaps found in target sequence
    Please wait...
    Looking for primers...
    Running Primer3 and checking uniquness of primers...
    Counting left and right primer hits from a nucmer mapping (-c 15 -l 15)

    PRIMER DESIGN DONE"

    On Biostars someone had similar problems but nobody posted a solution to it. Did someone had similar issues and found a solution? Is something wrong with my Primer3?

    Also: Everything else seems to work fine. I get reference maps and can view annotated version in ACT.

    Thanks,
  • illnoobina
    Junior Member
    • Apr 2014
    • 8

    #2
    Okay so I did some more research and found that this problem is happening more often than expected. My deep googling took me to a message board where someone claims that it is a known issue for some genomes and there is no solution for it, sadly.

    So I went on and I used the Projector2 webinterface that seemed to do quite well. Yet the ouptut I felt is somewhat not optimal, especially if you want to validate your output before ordering some dozens of oligos. I took the primer list it created and made a .fasta file by hand (name of primer + sequence). Took me 5 minutes to do.

    Then I took my Contigs and used command line blast to blast all primers against my Contigs:
    Code:
    blastn -query /contigs.fasta -task blastn-short -out /PrimerBlast.txt -subject /Primer.fasta
    (just replace "/contigs.fasta", "/PrimerBlast.txt","/Primer.fasta")

    The output is obviously messy and I put it into order using a small R Script (note: my Primer length is 20, for different a length it needs to be adjusted):

    Code:
    ReadPrimerBlast <- readLines("/PrimerBlast.txt")
    
    blastlist<-c()
    
    for(i in c(1:length(ReadPrimerBlast))){
      if(substr(ReadPrimerBlast[i],1,6) == "Query=" && substr(ReadPrimerBlast[i+10],1,19) == " Identities = 20/20"){
        blastlist<-rbind(blastlist,c(ReadPrimerBlast[i],ReadPrimerBlast[i+4],ReadPrimerBlast[i+2],ReadPrimerBlast[i+13]))
      }    
    }
    My output looks like that (just the first 3 lines):
    [1,] "Query= NODE_1_length_47713_cov_19.718735" "Subject= assembly_gap33_R" "Length=47863" "Query 447 GAGATCAACTGCTCATGCCA 466"
    [2,] "Query= NODE_2_length_117362_cov_18.628407" "Subject= assembly_gap32_R" "Length=117512" "Query 116759 TCCTGCTGTGTGAACTGTCC 116778"
    [3,] "Query= NODE_2_length_117362_cov_18.628407" "Subject= assembly_gap33_L" "Length=117512" "Query 726 CCCGATTGTACTCACCTCGT 745"

    So now I can estimate where my primers bind from that and it looks quite good. Maybe this will help someone in the future.

    If you have any comments don't hesitate to add them.

    -illnoobina

    edit: Projector2 linked
    Last edited by illnoobina; 04-08-2015, 09:26 AM.

    Comment

    • jrvalverde
      Junior Member
      • Dec 2009
      • 4

      #3
      Fixing ABACAS

      ABACAS is designed to work with an earlier version of PRIMER3 which uses a different naming convention for the parameters. As a consequence, when ABACAS is run with a modern version of PRIMER3 it fails to recognize the old parameters, among them the sequence to search for primers, and since it sees no sequence, it ends with nothing done.

      To fix it, the faster solution may be to use an old version of Primer3.

      Comment

      • illnoobina
        Junior Member
        • Apr 2014
        • 8

        #4
        Hi jrvalverde,

        Thanks for your reply. I had this suspicion too but I failed to get an earlier version of Primer 3 to work. I also tried the test files supplied with ABACAS which had similar problems. Furthermore, I tried many different Primer 3 parameters but all failed.

        If I have time I might try to get an older Version of Primer 3 running. Right now I will stick to Projector2 since I already ordered the suggested Primers - I hope I can post my experiences using this finishing tool soon.

        Best,

        Comment

        • touzain
          Junior Member
          • Feb 2016
          • 1

          #5
          solution

          Hello,

          Yes, this is a problem of primer version (names of variables have changed).

          In the abacas perl script, you only need to replace:

          print FILE "PRIMER_SEQUENCE_ID=Starting_Pos $positions[$i]
          SEQUENCE=$gappedSeq[$i]
          PRIMER_OPT_SIZE=$opt
          PRIMER_MIN_SIZE=$min
          PRIMER_MAX_SIZE=$max
          PRIMER_OPT_TM=$optTemp
          PRIMER_MIN_TM=$minTemp
          PRIMER_MAX_TM=$maxTemp
          PRIMER_NUM_NS_ACCEPTED=1
          PRIMER_PRODUCT_SIZE_RANGE=$lowRange-$maxRange
          PRIMER_MIN_GC=$gcMin
          PRIMER_GC_CLAMP =$gclamp
          PRIMER_OPT_GC_PERCENT=$gcOpt
          PRIMER_MAX_GC=$gcMax
          PRIMER_INTERNAL_OLIGO_EXCLUDED_REGION=$exc1,$exclude $exc2,$exclude
          ".$qual."Number To Return=1
          =\n";

          by:

          print FILE "P3_FILE_ID=title_you_want
          SEQUENCE_ID=Starting_Pos $positions[$i]
          SEQUENCE_TEMPLATE=$gappedSeq[$i]
          PRIMER_OPT_SIZE=$opt
          PRIMER_MIN_SIZE=$min
          PRIMER_MAX_SIZE=$max
          PRIMER_OPT_TM=$optTemp
          PRIMER_MIN_TM=$minTemp
          PRIMER_MAX_TM=$maxTemp
          PRIMER_MAX_NS_ACCEPTED=1
          PRIMER_PRODUCT_SIZE_RANGE=$lowRange-$maxRange
          PRIMER_MIN_GC=$gcMin
          PRIMER_GC_CLAMP =$gclamp
          PRIMER_OPT_GC_PERCENT=$gcOpt
          PRIMER_MAX_GC=$gcMax
          SEQUENCE_INTERNAL_EXCLUDED_REGION=$exc1,$exclude $exc2,$exclude
          PRIMER_NUM_RETURN=1
          =\n";

          Have a nice day
          Fabrice

          Comment

          Latest Articles

          Collapse

          • 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
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          33 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...