Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • SDH
    Junior Member
    • Sep 2016
    • 5

    Extract 'amplicon' based on custom primers

    Argh – first time post as in depth searching here normally answers all my questions… Anyway, I am undertaking targeted amplicon sequencing using a modification of the Illumina 16S workflow. Rather than utilising 16S primers however I have a number of custom primers targeting specific genes. They are run as a multiplex and the amplicons are barcoded with dual indexes post-PCR. Therefore after merging and demultiplexing (based on illumina indexes) I am left with a number of reads pertaining to the original sample. I however then need to separate further based on the custom primers to determine the number of reads pertaining to each individual PCR from within the multiplex (and ideally the primers removed) ie I am left with the amplicon sequence. To compound the issue the amplicon sizes vary.

    This can be achieved in principle using Geneious via the trim primers function where reads can be annotated based on the presence of a custom oligo and then extracted. This however is not practical for a high-throughput workflow. With my limited knowledge I have also written a script to handle this however it is really pushing the limits of bash.

    Is there a program that that can handle this data? It may well be obvious but I am at a loss. I have unsuccessfully trialled Mothur and BBmap’s ./msa.sh function in combination with ./cutprimers.sh however this is not stringent enough (I want exact f/r primer matches only). I believe the extract_barcodes.py function in QIIME1 may work however I cannot get QIIME1 to install properly with the new miniconda version. QIIME2 at this stage does not appear to have this function.

    Any help is most appreciated.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    I believe that Geneious may actually be using `bbduk.sh` from BBMap internally. Have you tried that program?

    Comment

    • SDH
      Junior Member
      • Sep 2016
      • 5

      #3
      Thanks GenoMax - I reinvestigated bbduk and have been able to get it working. I'm not sure why I wrote it off in the first place...I hope it wasn't because I was using 'out=' instead of 'outm='...I should never have doubted the bbmap suite.

      Cheers!

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Good to know that bbduk worked. When you want to collect something that matches outm= is the way to go.

        Comment

        Latest Articles

        Collapse

        • 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
        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-30-2026, 05:37 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        54 views
        0 reactions
        Last Post SEQadmin2  
        Working...