Home Software Services About Contact     
 
USEARCH v11

How to set the $usearch environment variable

See also
  Example OTU / denoise pipelines

The example pipelines require that you set an environment variable called $usearch with the name of your usearch command.

Usearch is distributed as a single binary (executable) file. The usearch binary filename will be something like usearch10.0.786_i86linux32. I will assume that your user name is alice and the usearch binary file stored in your home directory, so the full path name is:

/home/alice/usearch10.0.786_i86linux32

To set the $usearch environment variable, use the export command in bash:

export usearch=/home/alice/usearch10.0.786_i86linux32

Note there is no $ in this command, and there must not be any spaces around the equals sign.

You can put this command into the .bash_profile file in your home directory, then it will be executed every time you start a new shell. Note there is a period at the start of the file name.