|
| 1 | +# Prompt for checking metabolic gene |
| 2 | +prompt = f""" |
| 3 | + You are a biological expert. |
| 4 | + |
| 5 | + Determine whether the gene described below is a metabolic gene. |
| 6 | + |
| 7 | + A metabolic gene is defined as one whose product: |
| 8 | + 1. Catalyzes a metabolic reaction (enzyme), OR |
| 9 | + 2. Transports metabolic substrates/products, OR |
| 10 | + 3. Regulates metabolic pathways, OR |
| 11 | + 4. Forms part of a metabolic protein complex. |
| 12 | + |
| 13 | + Gene Function Description: |
| 14 | + ''' {function_text} ''' |
| 15 | + |
| 16 | + Only output one word: |
| 17 | + - Yes |
| 18 | + - No |
| 19 | + |
| 20 | + Do NOT output any explanation. |
| 21 | +""" |
| 22 | + |
| 23 | +# Prompt for checking association between gene's funtion and metabolic reaction |
| 24 | +prompt_1 = f""" |
| 25 | + Your task is to determine whether the enzyme I gave is capable of catalysing the given reaction. |
| 26 | + |
| 27 | + Functional description of the enzyme: '''{gene's function}''' |
| 28 | + |
| 29 | + The above is information about the enzyme. You need to decide if the enzyme can catalyse the following reaction based on the information about the enzyme. |
| 30 | + |
| 31 | + reaction: {metabolic reaction equation} |
| 32 | + |
| 33 | + Based on the information above, you should only choose one answer from the following options. If more information is needed to make a judgement, answer that there is a lack of sufficient information to judge whether the enzyme can catalyse the reaction. |
| 34 | + 1: The enzyme can catalyse this reaction. |
| 35 | + 2: The enzyme cannot catalyse a reaction because they are not related to the reaction. |
| 36 | + 3: The enzyme may be associated with the reaction, but there is not enough information to prove that enzymes can catalyse the reaction. |
| 37 | + You need to briefly analyse and then output the options. |
| 38 | +""" |
| 39 | + |
| 40 | +prompt_2 = f""" |
| 41 | + The gene is not relevant to the reaction provided, based on the annotation of the gene, analyze the reasons why the gene and the reaction are not related. |
| 42 | + ''' {function_text and metabolic reaction equation} ''' |
| 43 | + Please answer according to the text provided above! |
| 44 | + Output: No, the gene is not relevant to the reaction provided. Analysis and explanation. |
| 45 | + Output should strictly follow these examples and please do not line feed the output. |
| 46 | +""" |
| 47 | + |
| 48 | +prompt_3 = f""" |
| 49 | + The gene is relevant to the reaction provided, based on the annotation of the gene, analyze the relationship between the provided gene and reaction. |
| 50 | + ''' {function_text and metabolic reaction equation} ''' |
| 51 | + Please answer according to the text provided above! |
| 52 | + Output: Yes, the gene is relevant to the reaction provided. Analysis and explanation. |
| 53 | + Output should strictly follow these examples and please do not line feed the output. |
| 54 | +""" |
0 commit comments