{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Intermine-Python: Tutorial 00- Interaction with Registry"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The following functions can be used to optain some useful information about a mine or an organism. Assuming you are inside intermine-ws-python folder: "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"`getMines(organism)` fetches the mine(s) of a particular organism, say 'D. melanogaster'."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from intermine import registry\n",
"registry.getMines(\"D. melanogaster\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"FlyMine
\n",
"FlyMine Beta
\n",
"XenMine"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now that we have the mines, we can use `getInfo(mine)` to fetch all the information about a particular mine ie its description, version, organisms associated etc. Suppose we want to know more about flymine, here's what we do: "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"registry.getInfo(\"flymine\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Description: An integrated database for Drosophila genomics
\n",
"URL: http://www.flymine.org/flymine
\n",
"API Version: 25
\n",
"Release Version: 45.1 2017 August
\n",
"InterMine Version: 1.8.5
\n",
"Organisms:
\n",
"D. melanogaster
\n",
"Neighbours:
\n",
"MODs
\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now that I am very interested after viewing information about 'flymine', `getData(mine)` can be used to extract the data sets corresponding to it: "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"registry.getData(\"flymine\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Name: Affymetrix array: Drosophila1
\n",
"Name: Affymetrix array: Drosophila2
\n",
"Name: Affymetrix array: GeneChip Drosophila Genome 2.0 Array
\n",
"Name: Affymetrix array: GeneChip Drosophila Genome Array
\n",
"Name: Anoph-Expr data set
\n",
"Name: BDGP cDNA clone data set
\n",
"Name: BDGP in situ data set
\n",
"Name: BioGRID interaction data set
\n",
"Name: Department of Genetics tiling path
\n",
"Name: DrosDel P-element and Deletion collection
\n",
"Name: Drosophila 12 Genomes Consortium homology
\n",
"Name: E-FLYC-6
\n",
"Name: Ensembl Anopheles gambiae [AgamP3.4]
\n",
"Name: FlyAtlas
\n",
"Name: FlyBase
\n",
"Name: FlyBase data set for Drosophila ananassae
\n",
"Name: FlyBase data set for Drosophila erecta
\n",
"Name: FlyBase data set for Drosophila grimshawi
\n",
"Name: FlyBase data set for Drosophila melanogaster
\n",
"Name: FlyBase data set for Drosophila mojavensis
\n",
"Name: FlyBase data set for Drosophila persimilis
\n",
"Name: FlyBase data set for Drosophila pseudoobscura pseudoobscura
\n",
"Name: FlyBase data set for Drosophila sechellia
\n",
"Name: FlyBase data set for Drosophila simulans
\n",
"Name: FlyBase data set for Drosophila virilis
\n",
"Name: FlyBase data set for Drosophila willistoni
\n",
"Name: FlyBase data set for Drosophila yakuba
\n",
"Name: FlyBase expression data
\n",
"Name: FlyBase fasta data set for Drosophila ananassae
\n",
"Name: FlyBase fasta data set for Drosophila erecta
\n",
"Name: FlyBase fasta data set for Drosophila grimshawi
\n",
"Name: FlyBase fasta data set for Drosophila melanogaster
\n",
"Name: FlyBase fasta data set for Drosophila mojavensis
\n",
"Name: FlyBase fasta data set for Drosophila persimilis
\n",
"Name: FlyBase fasta data set for Drosophila pseudoobscura pseudoobscura
\n",
"Name: FlyBase fasta data set for Drosophila sechellia
\n",
"Name: FlyBase fasta data set for Drosophila simulans
\n",
"Name: FlyBase fasta data set for Drosophila virilis
\n",
"Name: FlyBase fasta data set for Drosophila willistoni
\n",
"Name: FlyBase fasta data set for Drosophila yakuba
\n",
"Name: FlyMine intergenic regions
\n",
"Name: FlyReactome data set
\n",
"Name: FlyReg data set
\n",
"Name: GO Annotation from BHF-UCL
\n",
"Name: GO Annotation from CACAO
\n",
"Name: GO Annotation from FlyBase
\n",
"Name: GO Annotation from FlyBase
\n",
"Name: GO Annotation from GO_Central
\n",
"Name: GO Annotation from InterPro
\n",
"Name: GO Annotation from ParkinsonsUK-UCL
\n",
"Name: GO Annotation from UniProt
\n",
"Name: GO Annotation from YeastFunc
\n",
"Name: GenomeRNAi data set
\n",
"Name: HGNC identifiers
\n",
"Name: HomoloGene data set
\n",
"Name: INDAC long oligo data set
\n",
"Name: IntAct interactions data set
\n",
"Name: InterPro GO Annotation data set
\n",
"Name: InterPro data set
\n",
"Name: KEGG pathways data set
\n",
"Name: MGI identifiers
\n",
"Name: NCBI Entrez Gene identifiers
\n",
"Name: OMIM diseases
\n",
"Name: PDB dmel data set
\n",
"Name: Panther data set
\n",
"Name: PubMed to gene mapping
\n",
"Name: REDfly Drosophila transcription factor binding sites
\n",
"Name: REDfly Drosophila transcriptional cis-regulatory modules
\n",
"Name: RGD gene identifiers
\n",
"Name: Reactome pathways data set
\n",
"Name: Swiss-Prot data set
\n",
"Name: TrEMBL data set
\n",
"Name: TreeFam data set
\n",
"Name: UniProt data set
\n",
"Name: UniProt keywords data set
\n",
"Name: VectorBase AnoEST clusters
\n",
"Name: VectorBase Anopheles
\n",
"Name: WormBase genes
\n",
"Name: fly-Fish data set
\n",
"Name: miRBase Targets\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}