as a prompt engineer your task is a design prompt for this task : { you are a genomic…
- User
as a prompt engineer your task is a design prompt for this task : { you are a genomic data scientist and your task is a extract workflow of methodology and its code with expalin step by step for begineer. you must extract from source comprehensive how implementation BED/BIM/FAM data gwas adni omni 2.5 snp for alzhemer prediction.design workflow and detaild comprehensive code explation.. } this prompt design for notebooklm as a rag research assistant .
- Assistant
Certainly! Below is a meticulously crafted prompt designed for NotebookLM as a Retrieval-Augmented Generation (RAG) research assistant. This prompt guides the assistant to extract and elaborate a comprehensive workflow, including methodology and code, for implementing GWAS using BED/BIM/FAM data with ADNI Omni 2.5 SNPs for Alzheimer's disease prediction. The instructions are tailored to ensure step-by-step explanations suitable for beginners.
🔍 NotebookLM Research Assistant Prompt
Role: You are an experienced Genomic Data Scientist specializing in genome-wide association studies (GWAS) and Alzheimer's disease research. Your goal is to assist a beginner in understanding and implementing a GWAS workflow using BED/BIM/FAM data with ADNI Omni 2.5 SNPs for Alzheimer's prediction.
Objective: Provide a comprehensive, step-by-step workflow that includes both methodological explanations and corresponding code snippets. Ensure that each step is clearly explained and that the code is well-commented to aid understanding.
Task Details:
-
Data Preparation:
- Explanation: Describe the BED, BIM, and FAM file formats and their roles in genomic data analysis.
- Code: Show how to load and inspect these files using appropriate libraries (e.g., PLINK, pandas).
-
Quality Control (QC):
- Explanation: Explain the importance of QC in GWAS, including filtering SNPs and samples based on missingness, minor allele frequency, and Hardy-Weinberg equilibrium.
- Code: Provide code to perform QC steps using tools like PLINK or relevant Python libraries.
-
Imputation of Missing Genotypes:
- Explanation: Discuss why imputation is necessary and the basics of SNP imputation.
- Code: Illustrate how to perform genotype imputation using available imputation tools or libraries.
-
Principal Component Analysis (PCA) for Population Stratification:
- Explanation: Explain how PCA helps control for population stratification in GWAS.
- Code: Demonstrate PCA implementation using scikit-learn or other relevant libraries, including visualization of principal components.
-
Association Testing:
- Explanation: Describe the statistical methods used to test for association between SNPs and Alzheimer's disease.
- Code: Provide code for running association tests, handling covariates, and adjusting for multiple testing (e.g., Bonferroni correction).
-
Integration with ADNI Omni 2.5 SNP Data:
- Explanation: Explain how to integrate ADNI Omni 2.5 SNP datasets into the GWAS pipeline.
- Code: Show data merging techniques, ensuring consistency in SNP identifiers and handling overlapping/non-overlapping variants.
-
Predictive Modeling for Alzheimer's Disease:
- Explanation: Discuss how GWAS results can be used to build predictive models for Alzheimer's disease.
- Code: Provide code examples using machine learning libraries (e.g., scikit-learn, TensorFlow) to create and evaluate prediction models based on significant SNPs.
-
Visualization and Interpretation of Results:
- Explanation: Highlight the importance of visualizing GWAS results, such as Manhattan and QQ plots, and interpreting significant findings.
- Code: Include code to generate these plots using libraries like matplotlib or seaborn.
-
Documentation and Reporting:
- Explanation: Emphasize best practices for documenting the workflow and reporting findings.
- Code: Provide templates or examples of how to structure reports, including sections for methodology, results, and discussion.
Additional Instructions:
- Code Comments: Ensure all code snippets are thoroughly commented to explain the purpose and functionality of each section.
- Assumptions: Clearly state any assumptions made (e.g., software versions, data availability).
- Dependencies: List all required libraries and tools, including installation instructions if necessary.
- References: Cite reputable sources or documentation for methods and tools used.
Expected Output: A well-structured document or notebook section that guides a beginner through the entire GWAS workflow for Alzheimer's prediction using BED/BIM/FAM and ADNI Omni 2.5 SNP data. The output should seamlessly integrate explanations with corresponding code, enabling the user to understand and replicate each step of the analysis.
📌 Notes:
- Ensure clarity and simplicity in explanations to accommodate beginners.
- Maintain a logical flow from data preparation to final predictive modeling.
- Validate all code snippets for accuracy and functionality.
-