This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Hello, I analyzed ONT 16S amplicon data using the EPI2ME workflow with Minimap2, but the output does not include representative FASTA sequences needed for downstream functional prediction with PICRUSt

Hello, I am currently performing 16S rRNA amplicon metagenomic analysis using the ONT platform through the EPI2ME workflow with the Minimap2-based taxonomic classification approach. I have successfully completed the analysis pipeline. However, I could not obtain the representative sequence FASTA files, which are required for downstream functional prediction using PICRUSt2.

Could you please advise how to retrieve the aligned or representative sequence FASTA/FASTQ files from the EPI2ME workflow outputs? Alternatively, if this workflow does not generate representative sequences suitable for PICRUSt2, could you recommend an appropriate workflow or approach to obtain them?

epi2me picrust2 16s metagenomic ont

Looking at the workflow it looks like the default option produces abundance table and some plots. You can get assignments of individual sequences using (include_read_assignments) option as a TSV file.

That said, you could choose the option to keep the BAM file after alignment and generate a consensus sequence.

Thank you for your prompt and proactive response. I tried the script mentioned below, which also includes the include_read_assignments option. For your convenience, I have attached a screenshot of the output directory along with the TSV file generated using the include_read_assignments option.

nextflow run epi2me-labs/wf-16s --fastq "/media/pfg/newvol2/ramen/ont/rb/try3" --classifier minimap2 --analyse_unclassified --sample_sheet "/media/pfg/newvol2/ramen/ont/rb/try3/sheet.csv" --database_set ncbi_16s_18s --taxonomic_rank S --keep_bam --minimap2_by_reference --min_percent_identity 95 --min_ref_coverage 90 --abundance_threshold 10 --n_taxa_barplot 16 --out_dir "/media/pfg/newvol2/ramen/ont/rb/try3/output" --include_read_assignments --output_unclassified --min_len 1200 --min_read_qual 10 --max_len 1600 --threads 16

Sample_A_rep1_lineages.minimap2.assignments.tsv

output directory

2 answers

If you really need a workflow that generate a rapresentative sequence you can try laca (https://github.com/yanhui09/laca; manuscript:https://pmc.ncbi.nlm.nih.gov/articles/PMC12160608/) or similar.

Good luck!

I have been dealing with the same situation and found laca (https://github.com/yanhui09/laca) and NanoASV (https://github.com/ImagoXV/NanoASV) quite useful.

Log in to answer this question.