Hit#

class pyskani.Hit(identity, query_name, query_fraction, reference_name, reference_fraction)#

A single hit found when querying a Database with a genome.

identity#

The estimated Average Nucleotide Identity between the query and reference genomes.

Type:

float

query_name#

The name of the query genome.

Type:

str

reference_name#

The name of the reference genome.

Type:

str

query_fraction#

The fraction of the query sequence covered by the alignment.

Type:

float

reference_fraction#

The fraction of the reference sequence covered by the alignment.

Type:

float

identity#

The average nucleotide identity between the two genomes.

Type:

float

query_fraction#

The fraction of the query genome covered by the alignment.

Type:

float

query_name#

The name of the query genome.

Type:

str

reference_fraction#

The fraction of the reference genome covered by the alignment.

Type:

float

reference_name#

The name of the reference genome.

Type:

str