Unconfigured Ad

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

    #1

    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
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2



            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized technique into
            ...
            07-31-2026, 11:01 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 07:41 AM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-03-2026, 10:13 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-31-2026, 02:55 AM
          0 responses
          39 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-24-2026, 12:17 PM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Working...