Closed christiam closed 4 years ago
Example queries to BigQuery:
DRAFT
Operations supported
function: get_phage_metadata(virus_taxid)
function name: get_viruses_for_host_taxonomy(taxid)
function name: get_host_from_virus_taxonomy
function name: get_virus_host_interactions_from_confidence_level
function name: get_SRAs_where_CDD_is_found(cdd_id)
function name: get_domains (FUTURE work)
function name: virus_graph(virus_taxonomy_id)
function name: get_SRA_runs_that_contain_a_virus
input: virus_taxid (integer)
output: SRA list (list of strings)
function name: get_all_viruses_from_SRA
input: SRA (string)
output: virus_taxid (list of integers)
function name: get_metadata_SRA
input: value metadata_field
output: SRA list if true
- function name: get_SRA_runs_that_contain_a_virus
input: virus_taxid (integer) output: SRA list (list of strings)
- function name: get_all_viruses_from_SRA
input: SRA (string) output: virus_taxid (list of integers)
- function name: get_metadata_SRA
input: value metadata_field output: SRA list if true
Per discussion with @sejmodha , this is from data in the previous codeathon, so we'll leave it out for now.
CRISPR spacer database
function: get_spacer_seqs
function: get_organism_from_spacer_seqs
Create a draft python API based on virus discovery 2 group use cases that would facilitate access to the index