Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhinoceros
    Senior Member
    • Apr 2013
    • 372

    #1

    In silico PCR

    Does anyone know any good in silico PCR algorithm, preferably for offline use. Input would be a multifasta file and forward and reverse primer sequences. Output would preferably be substrings with intact headers.
    savetherhino.org
  • id0
    Senior Member
    • Sep 2012
    • 130

    #2
    How about the tool by Jim Kent that's used by UCSC?

    In-Silico PCR was written by Jim Kent. Interactive use on this web server is free to all. Sources and executables to run batch jobs on your own server are available free for academic, personal, and non-profit purposes. Non-exclusive commercial licenses are also available. Contact Jim for details.

    Comment

    • rhinoceros
      Senior Member
      • Apr 2013
      • 372

      #3
      Yeah, this was one of the algorithms a little bird called Google suggested. I just didn't feel like contacting anyone. I suppose this might end up being the best option though..
      savetherhino.org

      Comment

      • winsettz
        Member
        • Sep 2012
        • 91

        #4
        There's an hgPcr in the lastest copy of jksrc.zip. I've yet to to look into the code yet to determine if it's the same as the hgPcr in silico PCR on the website.

        Edit: Or you can go to

        http://genome-source.cse.ucsc.edu/gi...91e433;hb=HEAD

        Comment

        • rhinoceros
          Senior Member
          • Apr 2013
          • 372

          #5
          Originally posted by winsettz View Post
          There's an hgPcr in the lastest copy of jksrc.zip. I've yet to to look into the code yet to determine if it's the same as the hgPcr in silico PCR on the website.

          Edit: Or you can go to

          http://genome-source.cse.ucsc.edu/gi...91e433;hb=HEAD
          Yeah, thanks. I was just going through the zip file. Problem is though that it has a bunch of dependencies and among other things requires a running mysql server. This is all a bit extensive for wanting to do just one relatively simple thing..
          savetherhino.org

          Comment

          • mcnelson.phd
            Senior Member
            • Jul 2011
            • 162

            #6
            mothur has a function called pcr.seqs that supposedly does what you're looking for. http://www.mothur.org/wiki/Pcr.seqs

            Comment

            • id0
              Senior Member
              • Sep 2012
              • 130

              #7
              Originally posted by rhinoceros View Post
              Yeah, thanks. I was just going through the zip file. Problem is though that it has a bunch of dependencies and among other things requires a running mysql server. This is all a bit extensive for wanting to do just one relatively simple thing..
              That was my experience as well. I ended up building a scraper for the UCSC PCR page. It took a few seconds per lookup, so doing hundreds of searches took a while, but not an unreasonable amount of time. Unfortunately, if you try to perform multiple queries from the same IP concurrently, the IP is automatically blocked for a day, so there is no way to parallelize that.

              Comment

              • rhinoceros
                Senior Member
                • Apr 2013
                • 372

                #8
                Originally posted by mcnelson.phd View Post
                mothur has a function called pcr.seqs that supposedly does what you're looking for. http://www.mothur.org/wiki/Pcr.seqs
                Yeah, that ought to get the job done. Thanks
                savetherhino.org

                Comment

                • ScottC
                  Senior Member
                  • Jan 2008
                  • 244

                  #9
                  You can also try ipcress



                  Cheers,

                  Scott.

                  Comment

                  • rhinoceros
                    Senior Member
                    • Apr 2013
                    • 372

                    #10
                    Originally posted by id0 View Post
                    That was my experience as well. I ended up building a scraper for the UCSC PCR page. It took a few seconds per lookup, so doing hundreds of searches took a while, but not an unreasonable amount of time. Unfortunately, if you try to perform multiple queries from the same IP concurrently, the IP is automatically blocked for a day, so there is no way to parallelize that.
                    I contacted the author and turns out that source and binaries for many platforms are available via http://users.soe.ucsc.edu/~kent/

                    The provided macIntel binaries (faToTwoBit, gfServer, gfPcr) work almost out of box on recent Mac OS X. I only needed to symlink /opt/X11/lib/libpng14.14.dylib to /usr/local/lib
                    savetherhino.org

                    Comment

                    • rhinoceros
                      Senior Member
                      • Apr 2013
                      • 372

                      #11
                      So, I ended up using pcr_seq from biopieces. The below code yields the results I was expecting:

                      Code:
                      read_fasta -i input.fasta | pcr_seq -f CCTACGGGRSGCAGCAG[1,0,0] -R ACCGCGGCKGCTGGC[1,0,0] | grab -e 'REC_TYPE eq PCR' | write_fasta -x > PCR_products.fasta
                      -f and -R of course depend on what primers you want to use. There are also -F and -r parameters for other primer orientations. Within closed brackets, the number of allowed mismatches/deletions/insertions are specified. I found this to be the least tedious way to get the wanted output, in this case from 50k full bacterial 16S sequences I got 47.6k 'correct' PCR products. With gfPcr there's a huge number of options which makes it rather difficult to obtain desired output.

                      On related note, I hadn't used biopieces before. I have to say, I'm positively surprised. There seems to be a ton of very useful scripts included. E.g. plot_lendist appears to be a very easy (little work) way to plot length distribution with high quality output, i.e. to check the output of previous code (except on bacterial subset of Silva SSURef_NR99_115):

                      Code:
                      read_fasta -i PCR_products.fasta | plot_lendist -xk SEQ_LEN -t post -o plot.ps -L
                      Gives:


                      ..works pretty well
                      Last edited by rhinoceros; 10-27-2013, 04:41 AM.
                      savetherhino.org

                      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
                      27 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-22-2026, 10:48 AM
                      0 responses
                      20 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      38 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-14-2026, 05:39 AM
                      0 responses
                      44 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...