omicverse.alignment.vsearch.usearch_global#
- omicverse.alignment.vsearch.usearch_global(reads_fasta, asvs_fasta, output_dir, identity=0.97, threads=4, strand='plus', extra_args=None, vsearch_path=None, auto_install=True, overwrite=False)[source]#
Build the ASV count matrix.
reads_fastais typically the concatenated filtered FASTA (with<sample>.<n>headers) fromdereplicate()(outputcombined). Each read is mapped to the closest ASV atidentity(default 0.97) and tallied per sample.Output#
otutab.tsv— tab-delimited; first column#OTU ID, subsequent columns one per sample, rows = ASVs.- param reads_fasta:
- type reads_fasta:
- param asvs_fasta:
- type asvs_fasta:
- param output_dir:
- type output_dir:
- param identity:
- type identity:
float(default:0.97)- param threads:
- type threads:
int(default:4)- param strand:
- type strand:
str(default:'plus')- param extra_args:
- type extra_args:
- param vsearch_path:
- type vsearch_path:
- param auto_install:
- type auto_install:
bool(default:True)- param overwrite:
- type overwrite:
bool(default:False)