{"swagger":"2.0","info":{"title":"PlantAnnot","version":"v1","description":"API possibilita acesso à informações sobre genes, transcritos e proteínas de mais de 50 espécies de plantas armazenadas no banco de dados do sistema PlantAnnot (https://www.machado.cnptia.embrapa.br)."},"host":"api.cnptia.embrapa.br","schemes":["https","http"],"basePath":"/plantannot/v1","consumes":["application/json"],"produces":["application/json"],"securityDefinitions":{"Basic":{"type":"basic"},"default":{"type":"oauth2","authorizationUrl":"https://api.cnptia.embrapa.br/authorize","flow":"implicit","scopes":{}}},"security":[{"Basic":[]}],"paths":{"/autocomplete":{"get":{"operationId":"autocomplete_list","summary":"Search the ElasticSearch index for matching strings","description":"Search the ElasticSearch index for matching strings
Example:
q=kinase","parameters":[{"name":"q","in":"query","description":"search string","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/autocomplete"}}}},"tags":["autocomplete"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[]},"/feature/coexpression/{feature_id}":{"get":{"operationId":"feature_coexpression_list","summary":"Retrieve co-expression group by feature ID","description":"Retrieve co-expression group by feature ID
Example:
q=5898056","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureOrtholog"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/expression/{feature_id}":{"get":{"operationId":"feature_expression_list","summary":"Retrieve expression by feature ID","description":"Retrieve expression by feature ID
Example:
q=5898056","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureExpression"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/id":{"get":{"operationId":"feature_id_list","summary":"Retrieve feature ID by accession","description":"Retrieve feature ID by accession
Example:
accession=AT1G01030.1, soType=polypeptide","parameters":[{"name":"accession","in":"query","description":"Feature name or accession","required":true,"type":"string"},{"name":"soType","in":"query","description":"Sequence Ontology term","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureID"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[]},"/feature/info/{feature_id}":{"get":{"operationId":"feature_info_list","summary":"Retrieve general information by feature ID","description":"Retrieve general information by feature ID
Example:
q=5898056","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureInfo"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/location/{feature_id}":{"get":{"operationId":"feature_location_list","summary":"Retrieve location by feature ID","description":"Retrieve location by feature ID
Example:
q=5898056","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureLocation"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/ontology/{feature_id}":{"get":{"operationId":"feature_ontology_list","summary":"Retrieve ontology terms by feature ID","description":"Retrieve ontology terms by feature ID
Example:
q=5898082","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureOntology"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/ortholog/{feature_id}":{"get":{"operationId":"feature_ortholog_list","summary":"Retrieve ortholog group by feature ID","description":"Retrieve ortholog group by feature ID
Example:
q=5898082","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureOrtholog"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/proteinmatches/{feature_id}":{"get":{"operationId":"feature_proteinmatches_list","summary":"Retrieve protein matches by feature ID","description":"Retrieve protein matches by feature ID
Example:
q=5898082","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureProteinMatches"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/publication/{feature_id}":{"get":{"operationId":"feature_publication_list","summary":"Retrieve publication by feature ID","description":"Retrieve publication by feature ID
Example:
q=5898056","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeaturePublication"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/sequence/{feature_id}":{"get":{"operationId":"feature_sequence_list","summary":"Retrieve sequence by feature ID","description":"Retrieve sequence by feature ID
Example:
q=5898056","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureSequence"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/feature/similarity/{feature_id}":{"get":{"operationId":"feature_similarity_list","summary":"Retrieve similarity matches by feature ID","description":"Retrieve similarity matches by feature ID
Example:
q=5898082","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/FeatureSimilarity"}}}},"tags":["feature"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"feature_id","in":"path","required":true,"type":"string","pattern":"^\\d+$"}]},"/jbrowse/features/{refseq}":{"get":{"operationId":"jbrowse_features_list","summary":"Retrieve features from reference sequence","description":"Retrieve features from reference sequence (refseq). https://jbrowse.org/docs/data_formats.html","parameters":[{"name":"soType","in":"query","description":"Sequence Ontology term","required":false,"type":"string"},{"name":"start","in":"query","description":"start","required":false,"type":"integer"},{"name":"end","in":"query","description":"start","required":false,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/JBrowseFeature"}}}},"tags":["jbrowse"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[{"name":"refseq","in":"path","required":true,"type":"string"}]},"/jbrowse/names":{"get":{"operationId":"jbrowse_names_list","summary":"Retrieve feature names by accession","description":"Retrieve feature names by accession. https://jbrowse.org/docs/data_formats.html","parameters":[{"name":"organism","in":"query","description":"Species name","required":true,"type":"string"},{"name":"equals","in":"query","description":"exact matching string","required":false,"type":"string"},{"name":"startswith","in":"query","description":"starts with matching string","required":false,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/JBrowseNames"}}}},"tags":["jbrowse"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[]},"/jbrowse/refSeqs.json":{"get":{"operationId":"jbrowse_refSeqs.json_list","summary":"Retrieve reference sequences","description":"Retrieve reference sequences. https://jbrowse.org/docs/data_formats.html","parameters":[{"name":"soType","in":"query","description":"Sequence Ontology term","required":true,"type":"string"},{"name":"organism","in":"query","description":"Species name","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/JBrowseRefseq"}}}},"tags":["jbrowse"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[]},"/jbrowse/stats/global":{"get":{"operationId":"jbrowse_stats_global_list","summary":"Retrieve global settings","description":"Retrieve global settings. https://jbrowse.org/docs/data_formats.html","parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/JBrowseGlobal"}}}},"tags":["jbrowse"],"x-auth-type":"Application & Application User","x-throttling-tier":"Unlimited"},"parameters":[]}},"definitions":{"autocomplete":{"required":["autocomplete"],"type":"object","properties":{"autocomplete":{"title":"Autocomplete","type":"string","minLength":1}}},"FeatureOrtholog":{"required":["uniquename"],"type":"object","properties":{"feature_id":{"title":"Feature id","type":"integer","readOnly":true},"uniquename":{"title":"Uniquename","type":"string","minLength":1},"display":{"title":"Display","type":"string","readOnly":true},"organism":{"title":"Organism","type":"string","readOnly":true}}},"FeatureExpression":{"required":["analysis__sourcename","normscore","assay_name","assay_description","biomaterial_name","biomaterial_description","treatment_name"],"type":"object","properties":{"analysis__sourcename":{"title":"Analysis sourcename","type":"string","minLength":1},"normscore":{"title":"Normscore","type":"number"},"assay_name":{"title":"Assay name","type":"string","minLength":1},"assay_description":{"title":"Assay description","type":"string","minLength":1},"biomaterial_name":{"title":"Biomaterial name","type":"string","minLength":1},"biomaterial_description":{"title":"Biomaterial description","type":"string","minLength":1},"treatment_name":{"title":"Treatment name","type":"string","minLength":1}}},"FeatureID":{"required":["feature_id"],"type":"object","properties":{"feature_id":{"title":"Feature id","type":"integer"}}},"FeatureInfo":{"required":["uniquename"],"type":"object","properties":{"uniquename":{"title":"Uniquename","type":"string","minLength":1},"display":{"title":"Display","type":"string","readOnly":true},"product":{"title":"Product","type":"string","readOnly":true},"note":{"title":"Note","type":"string","readOnly":true},"organism":{"title":"Organism","type":"string","readOnly":true},"relationship":{"title":"Relationship","type":"string","readOnly":true},"dbxref":{"title":"Dbxref","type":"string","readOnly":true}}},"FeatureLocation":{"required":["start","end","strand","ref","jbrowse_url"],"type":"object","properties":{"start":{"title":"Start","type":"integer"},"end":{"title":"End","type":"integer"},"strand":{"title":"Strand","type":"integer"},"ref":{"title":"Ref","type":"string","minLength":1},"jbrowse_url":{"title":"Jbrowse url","type":"string","minLength":1}}},"FeatureOntology":{"type":"object","properties":{"cvterm":{"title":"Cvterm","type":"string","readOnly":true},"cvterm_definition":{"title":"Cvterm definition","type":"string","readOnly":true},"cv":{"title":"Cv","type":"string","readOnly":true},"db":{"title":"Db","type":"string","readOnly":true},"dbxref":{"title":"Dbxref","type":"string","readOnly":true}}},"FeatureProteinMatches":{"type":"object","properties":{"subject_id":{"title":"Subject id","type":"string","readOnly":true},"subject_desc":{"title":"Subject desc","type":"string","readOnly":true},"db":{"title":"Db","type":"string","readOnly":true},"dbxref":{"title":"Dbxref","type":"string","readOnly":true}}},"FeaturePublication":{"type":"object","properties":{"doi":{"title":"Doi","type":"string","readOnly":true},"authors":{"title":"Authors","type":"string","readOnly":true},"title":{"title":"Title","type":"string","x-nullable":true},"series_name":{"title":"Series name","type":"string","maxLength":255,"x-nullable":true},"pyear":{"title":"Pyear","type":"string","maxLength":255,"x-nullable":true},"volume":{"title":"Volume","type":"string","maxLength":255,"x-nullable":true},"pages":{"title":"Pages","type":"string","maxLength":255,"x-nullable":true}}},"FeatureSequence":{"type":"object","properties":{"sequence":{"title":"Sequence","type":"string","readOnly":true}}},"FeatureSimilarity":{"required":["program","programversion","db_name","unique","name","sotype","query_start","query_end","score","evalue"],"type":"object","properties":{"program":{"title":"Program","type":"string","minLength":1},"programversion":{"title":"Programversion","type":"string","minLength":1},"db_name":{"title":"Db name","type":"string","minLength":1},"unique":{"title":"Unique","type":"string","minLength":1},"name":{"title":"Name","type":"string","minLength":1},"sotype":{"title":"Sotype","type":"string","minLength":1},"query_start":{"title":"Query start","type":"string","minLength":1},"query_end":{"title":"Query end","type":"string","minLength":1},"score":{"title":"Score","type":"string","minLength":1},"evalue":{"title":"Evalue","type":"string","minLength":1}}},"JBrowseFeature":{"type":"object","properties":{"uniqueID":{"title":"Uniqueid","type":"string","readOnly":true},"name":{"title":"Name","type":"string","maxLength":255,"x-nullable":true},"type":{"title":"Type","type":"string","readOnly":true},"start":{"title":"Start","type":"string","readOnly":true},"end":{"title":"End","type":"string","readOnly":true},"strand":{"title":"Strand","type":"string","readOnly":true},"subfeatures":{"title":"Subfeatures","type":"string","readOnly":true},"seq":{"title":"Seq","type":"string","readOnly":true},"display":{"title":"Display","type":"string","readOnly":true}}},"JBrowseNames":{"type":"object","properties":{"name":{"title":"Name","type":"string","maxLength":255,"x-nullable":true},"location":{"title":"Location","type":"string","readOnly":true}}},"JBrowseRefseq":{"type":"object","properties":{"name":{"title":"Name","type":"string","readOnly":true},"start":{"title":"Start","type":"string","readOnly":true},"end":{"title":"End","type":"string","readOnly":true}}},"JBrowseGlobal":{"required":["featureDensity"],"type":"object","properties":{"featureDensity":{"title":"Featuredensity","type":"number"}}}}}