<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def install(name, provider, genome_dir, localname, mask, regex, match, annotation):
 """Install genome NAME from provider PROVIDER in directory GENOME_DIR."""

    genomepy.install_genome(
            name, provider, genome_dir=genome_dir, localname=localname, mask=mask, 
            regex=regex, invert_match=not(match), annotation=annotation)