willem-stock / CONCOMPRA

consensus approach for community profiling with nanopore amplicon sequencing data
6 stars 0 forks source link

Usage of more than one primer pair #1

Closed hoelzer closed 1 month ago

hoelzer commented 3 months ago

Hey, great tool!

I wonder if it is also possible to use more than one primer pair? The example primer FASTA and the description sound like one can only use one primer pair. But what if I sequenced amplicons using more than one primer pair? Can I add more primer sequences to the FASTA file? And if so, how should I name them (head-1, head-2, ...)

willem-stock commented 3 months ago

Hi, the use of multiple primer pairs in the primer fasta file currently isn't possible. i can suggest two workarounds: a) if your amplicons have (substantially) different lengths, you can split your data a priori based on length. b) You can work sequentially: start with one primer pair in the primer fasta, the reads which fail to map, will be in the 'unmapped' folder. You can rerun CONCOMPRA on those reads with the second primer pair.
Hope this helps

hoelzer commented 2 months ago

Hey, thanks for the suggestions! My amplicons have roughly the same length so I guess I could try the incremental approach b). The challenge will then be to combine the results from the different primer pair runs.