jtamames / SqueezeMeta

A complete pipeline for metagenomic analysis
GNU General Public License v3.0
346 stars 81 forks source link

SQMTools Error Error in subsetORFs #764

Closed johnbio12 closed 4 months ago

johnbio12 commented 6 months ago

Error in subsetORFs(SQM, goodORFs, tax_source = "contigs", trusted_functions_only = trusted_functions_only, : No ORFs were selected. Perhaps the subset query yielded no results?

image

I wish to know whether I can use one bin from the above list of bins. Or how to select a specific bin at this step.

maxbin005 = subsetBins(Hadza, 'maxbin.005.fasta.contigs' )

Plot functions

plotFunctions(maxbin005, fun_level = 'KEGG', count = 'tpm')

contigs must be in path or only the name is enough.

fpusan commented 6 months ago

I am not sure of what your issue is exactly? maxbin005 = subsetBins(Hadza, 'maxbin.005.fasta.contigs' ) This should indeed work as long as maxbin.005.fasta.contigs in indeed one of the bins in your the object Hadza.

johnbio12 commented 6 months ago

The issue is in my case maxbin not generated rather I have only metabat2 and concoct2. But provide metabat2 gives error

fpusan commented 6 months ago

This will work with the bins that are present in your dataset. You can check which ones are in there by looking at the bin table SQM$bin$table

fpusan commented 4 months ago

Closing due to lack of activity, feel free to reopen