@@ -375,17 +375,17 @@ def generate_fasta(output,queryfile,resultfile):
375
375
def habitat (args ,resultfile ):
376
376
from gmsc_mapper .map_habitat import smorf_habitat
377
377
logger .debug ('Starting habitat annotation...' )
378
- single_number , single_percentage , multi_number , multi_percentage = smorf_habitat (args .habitatindex ,args .output ,args .habitat ,resultfile )
378
+ r_habitat = smorf_habitat (args .habitatindex ,args .output ,args .habitat ,resultfile )
379
379
logger .info ('habitat annotation has done.' )
380
- return single_number , single_percentage , multi_number , multi_percentage
380
+ return r_habitat
381
381
382
382
def taxonomy (args ,resultfile ,tmpdirname ):
383
383
from gmsc_mapper .map_taxonomy import deep_lca ,taxa_summary
384
384
logger .debug ('Start taxonomy annotation...' )
385
385
deep_lca (args .taxonomyindex ,args .taxonomy ,args .output ,resultfile ,tmpdirname )
386
- annotated_number , rank_number , rank_percentage = taxa_summary (args .output )
386
+ r_summary = taxa_summary (args .output )
387
387
logger .info ('Taxonomy annotation complete.' )
388
- return annotated_number , rank_number , rank_percentage
388
+ return r_summary
389
389
390
390
def quality (args ,resultfile ):
391
391
from gmsc_mapper .map_quality import smorf_quality
0 commit comments