"""
toolchest_client.tools.bowtie2
~~~~~~~~~~~~~~~~~~~~~~

This is the bowtie2 implementation of the Tool class.
"""
from . import Tool


class Bowtie2(Tool):
    """
    The bowtie2 implementation of the Tool class.
    """
    def __init__(self, tool_args, output_name, inputs, output_path,
                 database_name, database_version):
        super().__init__(
            tool_name="bowtie2",
            tool_version="2.4.4",  # todo: allow bowtie2 version to be set by the user
            tool_args=tool_args,
            output_name=output_name,
            output_path=output_path,
            inputs=inputs,
            min_inputs=1,
            max_inputs=1,
            database_name=database_name,
            database_version=database_version,
        )
