1. Get all organism available on remote server that have genome data available
1.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/taxonomies/' -X GET
1.2. Response Fields
Path | Type | Description |
---|---|---|
|
|
list of organisms |
|
|
taxonomy id of the organism |
1.3. Sample Response
[ {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9606",
"type" : "TAXONOMY",
"resource" : "9606",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=10090",
"type" : "TAXONOMY",
"resource" : "10090",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=30538",
"type" : "TAXONOMY",
"resource" : "30538",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8496",
"type" : "TAXONOMY",
"resource" : "8496",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8049",
"type" : "TAXONOMY",
"resource" : "8049",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9597",
"type" : "TAXONOMY",
"resource" : "9597",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8822",
"type" : "TAXONOMY",
"resource" : "8822",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=13146",
"type" : "TAXONOMY",
"resource" : "13146",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9685",
"type" : "TAXONOMY",
"resource" : "9685",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9031",
"type" : "TAXONOMY",
"resource" : "9031",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=10029",
"type" : "TAXONOMY",
"resource" : "10029",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=143292",
"type" : "TAXONOMY",
"resource" : "143292",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7718",
"type" : "TAXONOMY",
"resource" : "7718",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7897",
"type" : "TAXONOMY",
"resource" : "7897",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9913",
"type" : "TAXONOMY",
"resource" : "9913",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9541",
"type" : "TAXONOMY",
"resource" : "9541",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9615",
"type" : "TAXONOMY",
"resource" : "9615",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7868",
"type" : "TAXONOMY",
"resource" : "7868",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9669",
"type" : "TAXONOMY",
"resource" : "9669",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7227",
"type" : "TAXONOMY",
"resource" : "7227",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=31032",
"type" : "TAXONOMY",
"resource" : "31032",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9581",
"type" : "TAXONOMY",
"resource" : "9581",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8962",
"type" : "TAXONOMY",
"resource" : "8962",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=61622",
"type" : "TAXONOMY",
"resource" : "61622",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=60711",
"type" : "TAXONOMY",
"resource" : "60711",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=10141",
"type" : "TAXONOMY",
"resource" : "10141",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=29088",
"type" : "TAXONOMY",
"resource" : "29088",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9796",
"type" : "TAXONOMY",
"resource" : "9796",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=482537",
"type" : "TAXONOMY",
"resource" : "482537",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8090",
"type" : "TAXONOMY",
"resource" : "8090",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9767",
"type" : "TAXONOMY",
"resource" : "9767",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=10181",
"type" : "TAXONOMY",
"resource" : "10181",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8128",
"type" : "TAXONOMY",
"resource" : "8128",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=8479",
"type" : "TAXONOMY",
"resource" : "8479",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=212257",
"type" : "TAXONOMY",
"resource" : "212257",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9823",
"type" : "TAXONOMY",
"resource" : "9823",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=43780",
"type" : "TAXONOMY",
"resource" : "43780",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9986",
"type" : "TAXONOMY",
"resource" : "9986",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=10116",
"type" : "TAXONOMY",
"resource" : "10116",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9813",
"type" : "TAXONOMY",
"resource" : "9813",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9940",
"type" : "TAXONOMY",
"resource" : "9940",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9476",
"type" : "TAXONOMY",
"resource" : "9476",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9305",
"type" : "TAXONOMY",
"resource" : "9305",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=94438",
"type" : "TAXONOMY",
"resource" : "94438",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=47144",
"type" : "TAXONOMY",
"resource" : "47144",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=120498",
"type" : "TAXONOMY",
"resource" : "120498",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9395",
"type" : "TAXONOMY",
"resource" : "9395",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9103",
"type" : "TAXONOMY",
"resource" : "9103",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=9807",
"type" : "TAXONOMY",
"resource" : "9807",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=59729",
"type" : "TAXONOMY",
"resource" : "59729",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7217",
"type" : "TAXONOMY",
"resource" : "7217",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7220",
"type" : "TAXONOMY",
"resource" : "7220",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7222",
"type" : "TAXONOMY",
"resource" : "7222",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7230",
"type" : "TAXONOMY",
"resource" : "7230",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7234",
"type" : "TAXONOMY",
"resource" : "7234",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7237",
"type" : "TAXONOMY",
"resource" : "7237",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7238",
"type" : "TAXONOMY",
"resource" : "7238",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7240",
"type" : "TAXONOMY",
"resource" : "7240",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7244",
"type" : "TAXONOMY",
"resource" : "7244",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7260",
"type" : "TAXONOMY",
"resource" : "7260",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7245",
"type" : "TAXONOMY",
"resource" : "7245",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7070",
"type" : "TAXONOMY",
"resource" : "7070",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=135651",
"type" : "TAXONOMY",
"resource" : "135651",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=6238",
"type" : "TAXONOMY",
"resource" : "6238",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=6239",
"type" : "TAXONOMY",
"resource" : "6239",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=281687",
"type" : "TAXONOMY",
"resource" : "281687",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=31234",
"type" : "TAXONOMY",
"resource" : "31234",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=54126",
"type" : "TAXONOMY",
"resource" : "54126",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=1570291",
"type" : "TAXONOMY",
"resource" : "1570291",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=10244",
"type" : "TAXONOMY",
"resource" : "10244",
"id" : 0,
"annotatorClassName" : ""
}, {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=7955",
"type" : "TAXONOMY",
"resource" : "7955",
"id" : 0,
"annotatorClassName" : ""
} ]
2. Get all genome types (remote databases) that support given organism.
2.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/taxonomies/9606/genomeTypes/' -X GET
2.2. Path Parameters
Parameter | Description |
---|---|
|
organism taxonomy id |
2.3. Response Fields
Path | Type | Description |
---|---|---|
|
|
list of genome types |
|
|
type |
2.4. Sample Response
[ {
"type" : "UCSC"
} ]
3. Get all available genome versions for specified organism and genome type
3.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/taxonomies/9606/genomeTypes/UCSC/versions/' -X GET
3.2. Path Parameters
Parameter | Description |
---|---|
|
organism taxonomy id |
|
genome type, acceptable values: UCSC |
3.3. Response Fields
Path | Type | Description |
---|---|---|
|
|
list of genome versions |
|
|
version |
3.4. Sample Response
[ {
"version" : "hg38"
}, {
"version" : "hg24may2000"
}, {
"version" : "hg19"
}, {
"version" : "hg18"
}, {
"version" : "hg17"
}, {
"version" : "hg16"
}, {
"version" : "hg15june2000"
}, {
"version" : "hg13"
}, {
"version" : "hg12"
}, {
"version" : "hg11"
}, {
"version" : "hg10"
}, {
"version" : "10april2003"
}, {
"version" : "hg8"
}, {
"version" : "hg7"
}, {
"version" : "hg6"
}, {
"version" : "hg5"
}, {
"version" : "hg4"
}, {
"version" : "hs1"
} ]
4. Get remote url for specified genome, version, and remote database
4.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/taxonomies/9606/genomeTypes/UCSC/versions/hg38:getAvailableRemoteUrls' -X GET
4.2. Path Parameters
Parameter | Description |
---|---|
|
organism taxonomy id |
|
genome type, acceptable values: UCSC |
|
genome version |
4.3. Response Fields
Path | Type | Description |
---|---|---|
|
|
list of urls |
|
|
url |
4.4. Sample Response
[ {
"url" : "ftp://hgdownload-euro.soe.ucsc.edu/apache/htdocs/goldenPath/hg38/bigZips/hg38.2bit"
} ]
5. Start downloading genome data from remote database to minerva
5.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/' -X POST \
-d 'organismId=1570291&type=UCSC&version=eboVir3&url=http%3A%2F%2Fminerva-dev.lcsb.uni.lu%2FeboVir3.2bit' \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" \
-H 'Content-Type: application/x-www-form-urlencoded'
5.2. Request Parameters
Parameter | Description |
---|---|
|
organism taxonomy id |
|
genome type, acceptable values: UCSC |
|
genome version |
|
url address from where the file should be downloaded |
6. Get information about specific downloaded genome
6.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/taxonomies/1570291/genomeTypes/UCSC/versions/eboVir3/' -X GET
6.2. Path Parameters
Parameter | Description |
---|---|
|
organism taxonomy id |
|
genome type, acceptable values: UCSC |
|
genome version |
6.3. Response Fields
Path | Type | Description |
---|---|---|
|
|
download progress (0-100%) |
|
|
list of available gene mappings for given genome |
|
|
name of the gene mapping |
|
|
source url of the gene mapping |
|
|
url with local copy of the mapping |
|
|
download progress |
|
|
id of the gene mapping |
|
|
unique id of genome in minerva |
|
|
url on minerva where local copy of genome can be accessed |
|
|
organism identifier |
|
|
organism identifier |
|
|
organism identifier type (usually TAXONOMY) |
|
|
genome source url |
|
|
type of genome (database from which it was downloaded) |
|
|
genome version |
6.4. Sample Response
{
"organism" : {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=1570291",
"type" : "TAXONOMY",
"resource" : "1570291",
"id" : 779,
"annotatorClassName" : ""
},
"version" : "eboVir3",
"type" : "UCSC",
"downloadProgress" : 100.0,
"sourceUrl" : "ftp://hgdownload.cse.ucsc.edu/goldenPath/eboVir3/bigZips/eboVir3.2bit",
"localUrl" : "../..//360/eboVir3.2bit",
"idObject" : 15,
"geneMapping" : [ {
"downloadProgress" : 0.0,
"localUrl" : "../null",
"sourceUrl" : "https://minerva-dev.lcsb.uni.lu/tmp/refGene.bb",
"name" : "xy",
"idObject" : 17
} ]
}
7. Get information about all downloaded genomes
7.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/' -X GET
7.2. Response Fields
Path | Type | Description |
---|---|---|
|
|
list of downloaded genomes |
|
|
download progress (0-100%) |
|
|
list of available gene mappings for given genome |
|
|
name of the gene mapping |
|
|
source url of the gene mapping |
|
|
url with local copy of the mapping |
|
|
download progress |
|
|
id of the gene mapping |
|
|
unique id of genome in minerva |
|
|
url on minerva where local copy of genome can be accessed |
|
|
organism identifier |
|
|
organism identifier |
|
|
organism identifier type (usually TAXONOMY) |
|
|
genome source url |
|
|
type of genome (database from which it was downloaded) |
|
|
genome version |
7.3. Sample Response
[ {
"organism" : {
"link" : "https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=1570291",
"type" : "TAXONOMY",
"resource" : "1570291",
"id" : 777,
"annotatorClassName" : ""
},
"version" : "eboVir3",
"type" : "UCSC",
"downloadProgress" : 100.0,
"sourceUrl" : "ftp://hgdownload.cse.ucsc.edu/goldenPath/eboVir3/bigZips/eboVir3.2bit",
"localUrl" : "../null",
"idObject" : 13,
"geneMapping" : [ {
"downloadProgress" : 0.0,
"localUrl" : "../null",
"sourceUrl" : "https://minerva-dev.lcsb.uni.lu/tmp/refGene.bb",
"name" : "xy",
"idObject" : 16
} ]
} ]
8. Delete downloaded genome
8.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/11/' -X DELETE \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"
8.2. Path Parameters
Parameter | Description |
---|---|
|
genome id (genomeID is retrieved as idObject described above in 6.3) |
9. Add gene mapping
9.1. Path Parameters
Parameter | Description |
---|---|
|
genome id |
9.2. Response Fields
Path | Type | Description |
---|
9.3. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/12/geneMapping/' -X POST \
-d 'name=mappingName&url=https%3A%2F%2Fminerva-dev.lcsb.uni.lu%2Ftmp%2FrefGene.bb' \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx" \
-H 'Content-Type: application/x-www-form-urlencoded'
10. Delete gene mapping
10.1. CURL sample
$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/genomics/10/geneMapping/11/' -X DELETE \
--cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"
10.2. Path Parameters
Parameter | Description |
---|---|
|
genome id (genomeID is retrieved as idObject described above in 6.3) |
|
gene genome mapping id (geneMapping[].objectID described in 6.3) |