genomepy.providers.ucsc

Functions

add_accessions1(genomes)

Use the UCSC MySQL database to obtain accession IDs (of the most similar assemblies on other providers).

add_accessions2(genomes)

Some genomes have their assembly accession in the 'sourceName' field.

add_annotation_links(genomes)

identify the available annotation types for each genome.

download_annotation(name, annot, ...[, n])

Download the extended genePred file from the UCSC MySQL database.

get_genomes(rest_url)

query_ucsc(command[, database])

Execute a single MySQL query on the UCSC database.

scrape_accession(htmlpath)

Attempt to scrape the assembly accession (GCA_/GCF_) from a genome's readme.html, or any linked NCBI assembly pages can also be scraped.

Classes

UcscProvider()

UCSC genome provider.