| CURL access sytax: | |
|
|  | [http GET] |
| | curl https://idmapping.uniprot.org/cgi-bin/idmapping_http_client3 -d "ids=ID1,ID2,...,IDn&from=IDTYPE&to=IDTYPE[&async=YES|NO][&taxid=TAXID]" -d "@/[path]/[filename]" |
|
|  | [http POST] |
| | curl --request POST https://idmapping.uniprot.org/cgi-bin/idmapping_http_client3 --form "ids=ID1,ID2,...,IDn" --form "from=IDTYPE" --form "to=IDTYPE" [--form "async=YES|NO"] [--form "taxid=TAXID"] |
|
|  | [ids FILE] |
| | curl https://idmapping.uniprot.org/cgi-bin/idmapping_http_client3 -d "@/[path/]id_filename" -d "from=IDTYPE&to=IDTYPE[&async=YES|NO][&taxid=TAXID]" |
|
| where 'n' can be any number, |
| default async=yes, case insentive, |
| the file format of 'id_filename' is: ids=ID1,ID2,ID2,...,IDn, and |
| spaces may also be used as delimiters for ids unless the ids are GeneNames. |
| |
|
| CURL examples: |
|
| 
 |
curl https://idmapping.uniprot.org/cgi-bin/idmapping_http_client3 -d "ids=Q65PH2,Q81VZ2,Q15796&async=NO&from=ACC&to=P_REFSEQ_AC" |
| |
| 
 |
curl --request POST https://idmapping.uniprot.org/cgi-bin/idmapping_http_client3 --form "ids=Q65PH2,Q81VZ2,Q15796" --form "from=ACC" --form "to=P_REFSEQ_AC" |
|
| 
 |
curl https://idmapping.uniprot.org/cgi-bin/idmapping_http_client3 -d "from=ACC&to=P_REFSEQ_AC&async=NO" -d "@myIdFile" |
| | (In this case, 'myIdFile' contains: ids=Q65PH2,Q81VZ2,Q15796) |