Start a new topic

Any mandatory information in target info response?

Are there any mandatory (ie green) blocks of info in the target info response in 1.4. The API docs imply that everything is optional. Why are there targets which have no information?

Is it the case that any info which can appear in an exactMatch block can appear in the primaryTopic block if you use a URI for that type of info to identify the target.

Why is the primaryTopic block not defined in the API docs?


I am mainly asking this because with http://purl.uniprot.org/uniprot/E9Q3S4 on the development API you get the response below and I assume that you can get this in the production one as well depending on the URI you use.


{

format"linked-data-api",

version"1.4",

result

{

_about"http://ops2.few.vu.nl/target?_format=json&app_key=ad4fca9111f258325e3ca50e7217dcbc&app_id=a409dcc9&uri=http%3A%2F%2Fpurl.uniprot.org%2Funiprot%2FE9Q3S4",

definition"http://ops2.few.vu.nl/api-config",

extendedMetadataVersion"http://ops2.few.vu.nl/target?_format=json&app_key=ad4fca9111f258325e3ca50e7217dcbc&app_id=a409dcc9&uri=http%3A%2F%2Fpurl.uniprot.org%2Funiprot%2FE9Q3S4&_metadata=all%2Cviews%2Cformats%2Cexecution%2Cbindings%2Csite",

primaryTopic

{

_about"http://purl.uniprot.org/uniprot/E9Q3S4",

alternativeName"SPS1/STE20-related protein kinase YSK4",

classifiedWith

existence"http://purl.uniprot.org/core/Inferred_from_Homology_Existence",

mass146412,

organism"http://purl.uniprot.org/taxonomy/10090",

sequence:"MDSMPRPERHAESLLDICHEAGSTPMEMTVSQTENLTLQSISSSEDFDLEDDFSPFILAREGAAPRGENWPRRTEGVEIIVTFPPDPLQEASQEDLKESNQVTSEHQEREQVHPVSPPDDAEMVGLTGRMLTTQPSLLKTDGSSEELCGVDVALSPPRPCLDSSLAASAAGEVAPCVLKEQQRQSDEFPTSDISYSSRRTGLPLPPLSCLPMRSCIFNMEKSPKSPRHRERKVPSLSLSVPKLLEPLSRPLSQSAEFSSSKNHQEVTQEGPVEHTLRGSNCTLWSRNMCSFRKSGKQGVAESWPSQEMEGWDKTKTSGFKEGPSLFSCESVKEDTTPTERERDSGYHVSEMQRGGEDSQYLSSRKKESWTARVVERDSGVEHPILCKLLEVSNSEMTPAEEKEIGNENVPDAKSNSVHKSGAMEPHAASEEVSVPKNGPSVNSDGPAEELEGHRDIEQNRKIPMEEETNPEMNGVVPLTHIAFPGEGTSKGPARAEPHLQRRKRPAQNSNSFNLLAHREHDKLQTNTHRTKLDSRTKARNRAPPNLMVSIQASIKPNMHKNSIKTQVFPALELIDHRPHPSSKFQRRAPLTEKKSTHQTQKPKKQAFPRIGKHAGIKKPGIPLSAETTDPRLHFLDLKYSDMFKEINSASNGPGIYEMFGTPVYCHIREAERHDHRCYREIRTAPSGRCVVNKCQSSESDRCSNSRARLLQKRQHIKPPKPLHGLRQKHRGFISKDKGCKDMGGHTEDSVSEPDGQMKSPGNDFLSSKDDAQLMHLIPIPELSPEQKAPAPVSDLSIVEEIFTEECADEEGILNDDSLTQSLGDLKEPEGLHPQAPLVPSENSWAVLSEKRSGKRVSPEKHNVEPLDKINAEQMFPGYLEFDSLSEKSKTLVSFSSCSFQENLERAPSPTEQHWARSLEQDSLENNSTTYQTFGKISQEILDPGKNEELTDELLGCLVEELLALDEKDNNSCQIMTNEADAKNLNLVFSRRGNTIEELGRETTDVKLQRCINGFRIYDEENFLTSNEKKTLSDKSLNHEEAIFWTKGEILGRGAYGTVYCGLTSLGQLIAVKQVALDTSDKLATEKEYRKLQEEVDLLKALKHVNIVAYLGTCLEENTLSIFMEFVPGGSISSIINRFGPLPEMVFCKYTRQILQGVAYLHDNCVVHRDIKGNNVMLMPTGIIKLIDFGCAKRLAWAGLNGTHSDMLKSMRGTPYWMAPEVINESGYGRKSDIWSIGCTVFEMATGKPPLASMDRMAAMFYIGAHRGLMPPLPARFSEPAADFVRLCLTRDQHERPSALQLLKHSFLKRSQ",

inDataset"http://purl.uniprot.org",

molecularWeight146412,

seeAlso"http://purl.uniprot.org/intact/E9Q3S4",

exactMatch"http://purl.uniprot.org/uniprot/E9Q3S4",

isPrimaryTopicOf"http://ops2.few.vu.nl/target?_format=json&app_key=ad4fca9111f258325e3ca50e7217dcbc&app_id=a409dcc9&uri=http%3A%2F%2Fpurl.uniprot.org%2Funiprot%2FE9Q3S4"

}

}

}

Every property is optional in this particular API call, as they depend on which dataset has any information, but you should get some properties for every result.

Login or Signup to post a comment