Target
gentropy.datasource.open_targets.target.OpenTargetsTarget
¶
Parser for OTPlatform target dataset.
Genomic data from Open Targets provides gene identification and genomic coordinates that are integrated into the gene index of our ETL pipeline.
The EMBL-EBI Ensembl database is used as a source for human targets in the Platform, with the Ensembl gene ID as the primary identifier. The criteria for target inclusion is: - Genes from all biotypes encoded in canonical chromosomes - Genes in alternative assemblies encoding for a reviewed protein product.
Source code in src/gentropy/datasource/open_targets/target.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
as_gene_index(target_index: DataFrame) -> GeneIndex
classmethod
¶
Initialise GeneIndex from source dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
target_index |
DataFrame
|
Target index dataframe |
required |
Returns:
Name | Type | Description |
---|---|---|
GeneIndex |
GeneIndex
|
Gene index dataset |
Source code in src/gentropy/datasource/open_targets/target.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|