Chemical and Bio Data

B062 Extract Single Patent Sequence

Extract all sequences from a single patent and provide the total count, sequence numbers, sequence codes, and sequence details. Present the information in a paginated format.

post/bio-openapi/patent/extract/single

Request

Request body

extract_typestring required

Extract Type(EXTRACT_ALL、EXTRACT_RANGE、EXTRACT_NUM、EXTRACT_MANUAL)

pageinteger required

Current page number, start from 1

patent_idstring

Patent ID

patent_numberstring

Patent publication number. One of patent_number、patent_id must be filled in, and if they are filled in at the same time, patent_id shall prevail, followed by patent_number

sequence_no_rangestring required

SEQ ID range(Example:1-10,23,24)

sequence_typestring

Sequence Type, PROTEIN or NUCLEOTIDE

sizeinteger required

Current page result size, support maximum 100

Example request

{
  "extract_type": "EXTRACT_ALL",
  "page": 1,
  "patent_id": "d10f8044-d3b9-4b53-b27f-b0f4fe9092cd",
  "patent_number": "WO2004050828A2",
  "sequence_length": {
    "end": 100
  },
  "sequence_no_range": "1-10",
  "sequence_type": "PROTEIN",
  "size": 10
}

Response

Successful b062 extract single patent sequence response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "total": 1000,
    "results": [
      {
        "s_len": 123,
        "location": {
          "APP": [
            "5"
          ],
          "FIG": [
            "1A"
          ],
          "PAGE": [
            "55/56"
          ],
          "ANNEX": [
            "2"
          ],
          "TABLE": [
            "A-1"
          ],
          "EXAMPLE": [
            "8"
          ]
        },
        "s_sequence": "MQPDLHSRALAAHTLHQFRTLSPLTHCMTNEVVQSFTANTLLALGASPAMVIEPEEASQFAAIASALLVNVGTLTQERATAMRAAVERAYHAKTPWTLDPVAVGALEFRRRFCLDLLSLQPAA",
        "sequence_type": "PROTEIN",
        "sequence_id_number": [
          "1"
        ]
      }
    ]
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.