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

        • 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
        • SEQadmin2
          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
          by SEQadmin2


          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
          ...
          06-02-2026, 10:05 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        15 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        49 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        107 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        125 views
        0 reactions
        Last Post SEQadmin2  
        Working...