Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
e8212b1
Uploading Amazon Q tutorial notebook
RamiyapriyaS-Deloitte Nov 21, 2024
eb5522b
Create bioinformatics_testing.py
RamiyapriyaS-Deloitte Nov 21, 2024
c0f3a57
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
71e4558
Update AWS_Amazon_Q.ipynb
RamiyapriyaS-Deloitte Nov 21, 2024
131bdf3
uploading images
RamiyapriyaS-Deloitte Nov 21, 2024
65e68d4
Update AWS_Amazon_Q.ipynb
RamiyapriyaS-Deloitte Nov 21, 2024
0090aa8
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
8d77507
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
9898ba0
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
cfc0e59
Update AWS_Amazon_Q.ipynb
RamiyapriyaS-Deloitte Nov 21, 2024
a758aa6
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
4a0db87
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
b590a0e
Add files via upload
RamiyapriyaS-Deloitte Nov 21, 2024
0bb6f7c
Update AWS_Amazon_Q.ipynb
RamiyapriyaS-Deloitte Nov 25, 2024
cc957c1
Add files via upload
RamiyapriyaS-Deloitte Dec 23, 2024
9404f3d
Update AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Dec 23, 2024
0989c2e
Update AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Dec 23, 2024
609eff7
Add files via upload
RamiyapriyaS-Deloitte Dec 23, 2024
efab946
Update AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Dec 23, 2024
7f3bab0
Add files via upload
RamiyapriyaS-Deloitte Dec 23, 2024
b92dd0d
Update AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Dec 23, 2024
f7f6c53
Update AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Dec 23, 2024
8e6e712
Update AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Dec 23, 2024
3c2c968
Create code_dev_1.txt
RamiyapriyaS-Deloitte Jan 16, 2025
c54ebc0
Create code_dev_2.txt
RamiyapriyaS-Deloitte Jan 16, 2025
a223837
Create code_dev_3.txt
RamiyapriyaS-Deloitte Jan 16, 2025
b98524a
Create code_conversion.txt
RamiyapriyaS-Deloitte Jan 16, 2025
bddb527
Create error_debugging.md
RamiyapriyaS-Deloitte Jan 16, 2025
f6e0f08
Rename docs/chatbot_comparison/code_dev_1.txt to docs/chatbot_compari…
RamiyapriyaS-Deloitte Jan 16, 2025
6456acf
Rename docs/chatbot_comparison/code_dev_2.txt to docs/chatbot_compari…
RamiyapriyaS-Deloitte Jan 16, 2025
0f4ba29
Rename docs/chatbot_comparison/code_dev_3.txt to docs/chatbot_compari…
RamiyapriyaS-Deloitte Jan 16, 2025
5ed6da1
Rename docs/chatbot_comparison/code_conversion.txt to docs/chatbot_co…
RamiyapriyaS-Deloitte Jan 16, 2025
c1a4e80
Rename docs/chatbot_comparison/error_debugging.md to docs/chatbot_com…
RamiyapriyaS-Deloitte Jan 16, 2025
e0b20dd
Create snakemake.txt
RamiyapriyaS-Deloitte Jan 16, 2025
2f86c09
Create nextflow.txt
RamiyapriyaS-Deloitte Jan 16, 2025
9dd94d2
Create bacass_optim.txt
RamiyapriyaS-Deloitte Jan 16, 2025
36b01fe
Create google_cloud.txt
RamiyapriyaS-Deloitte Jan 17, 2025
eff2004
Create aws.txt
RamiyapriyaS-Deloitte Jan 17, 2025
a34eac9
Create Python_RNASeq_amazonQ_result.txt
RamiyapriyaS-Deloitte Jan 22, 2025
8cff5dd
Rename aws.txt to aws.txt
RamiyapriyaS-Deloitte Jan 22, 2025
196b24c
Rename google_cloud.txt to google_cloud.txt
RamiyapriyaS-Deloitte Jan 22, 2025
be61eb8
Create code_conversion
RamiyapriyaS-Deloitte Jan 22, 2025
4354c36
Rename docs/chatbot_comparison/code_dev/Python_RNASeq_amazonQ_result.…
RamiyapriyaS-Deloitte Jan 22, 2025
bc70f66
Create R_RNASeq
RamiyapriyaS-Deloitte Jan 22, 2025
3828940
Create code_dev_snakemake
RamiyapriyaS-Deloitte Jan 22, 2025
89f4ee9
Rename R_RNASeq to code_dev_R_RNASeq
RamiyapriyaS-Deloitte Jan 22, 2025
7d96ea6
Rename Python_RNASeq.txt to code_dev_Python_RNASeq.txt
RamiyapriyaS-Deloitte Jan 22, 2025
9db0c7b
Update and rename python_to_nf_with_template.txt to python_to_nf.txt
RamiyapriyaS-Deloitte Jan 22, 2025
ba02a97
Create code_optim
RamiyapriyaS-Deloitte Jan 22, 2025
1599fe9
Update aws.txt
RamiyapriyaS-Deloitte Jan 22, 2025
037d2af
Update google_cloud.txt
RamiyapriyaS-Deloitte Jan 22, 2025
38ed12d
Create aws_ques
RamiyapriyaS-Deloitte Jan 22, 2025
401cd00
Create gcp_ques
RamiyapriyaS-Deloitte Jan 22, 2025
062bbd7
Create error_debugging
RamiyapriyaS-Deloitte Jan 22, 2025
3d8b12e
Create chatbot_comparison.md
RamiyapriyaS-Deloitte Jan 23, 2025
a03b850
Create code_conversion
RamiyapriyaS-Deloitte Jan 23, 2025
d532dbd
Create scripting_R_RNASeq
RamiyapriyaS-Deloitte Jan 23, 2025
3417b1b
Create scripting_Python_RNASeq
RamiyapriyaS-Deloitte Jan 23, 2025
b4a7d4e
Create scripting_snakemake
RamiyapriyaS-Deloitte Jan 23, 2025
d4438c9
Create error_debugging
RamiyapriyaS-Deloitte Jan 23, 2025
db0b39a
Create code_optim
RamiyapriyaS-Deloitte Jan 23, 2025
4c15624
Create aws_ques
RamiyapriyaS-Deloitte Jan 23, 2025
9518c2a
Create gcp_ques
RamiyapriyaS-Deloitte Jan 23, 2025
aadc728
Update code_dev_Python_RNASeq.txt
RamiyapriyaS-Deloitte Jan 24, 2025
2780c7e
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Jan 27, 2025
93abf37
Create code_dev_Python_RNASeq_new
RamiyapriyaS-Deloitte Jan 28, 2025
6024aff
Update code_conversion
RamiyapriyaS-Deloitte Jan 28, 2025
0c16c76
Update error_debugging
RamiyapriyaS-Deloitte Jan 28, 2025
dff3687
Update code_optim
RamiyapriyaS-Deloitte Jan 28, 2025
f3c5915
Update error_debugging
RamiyapriyaS-Deloitte Jan 28, 2025
389ba06
Add files via upload
RamiyapriyaS-Deloitte Jan 31, 2025
7a71501
Rename docs/chatbot_comparison/SRR13349122_1.fastq.gz to docs/chatbot…
RamiyapriyaS-Deloitte Jan 31, 2025
18dff6f
Rename docs/chatbot_comparison/SRR13349122_2.fastq.gz to docs/chatbot…
RamiyapriyaS-Deloitte Jan 31, 2025
54a5af3
Rename docs/chatbot_comparison/rnaseq_counts.csv to docs/chatbot_comp…
RamiyapriyaS-Deloitte Jan 31, 2025
adf3ecc
Delete docs/chatbot_comparison/error_debugging directory
RamiyapriyaS-Deloitte Jan 31, 2025
c51a86a
Delete docs/chatbot_comparison/code_conversion directory
RamiyapriyaS-Deloitte Jan 31, 2025
6623037
Delete docs/chatbot_comparison/code_dev directory
RamiyapriyaS-Deloitte Jan 31, 2025
0d2ee74
Delete docs/chatbot_comparison/knowledge_testing directory
RamiyapriyaS-Deloitte Jan 31, 2025
40e9ecd
Delete docs/chatbot_comparison/optimization directory
RamiyapriyaS-Deloitte Jan 31, 2025
d14c18a
Add files via upload
RamiyapriyaS-Deloitte Jan 31, 2025
fba2f22
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Jan 31, 2025
006bf51
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Jan 31, 2025
08f7aa6
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Jan 31, 2025
87332ad
Update and rename scripting_R_RNASeq to scripting_R_RNASeq.md
RamiyapriyaS-Deloitte Feb 3, 2025
31302d4
Update and rename scripting_Python_RNASeq to scripting_Python_GC.md
RamiyapriyaS-Deloitte Feb 3, 2025
85cf403
Update scripting_snakemake
RamiyapriyaS-Deloitte Feb 3, 2025
b836d3d
Update code_conversion
RamiyapriyaS-Deloitte Feb 3, 2025
c33b22b
Update error_debugging
RamiyapriyaS-Deloitte Feb 3, 2025
ce8af08
Update gcp_ques
RamiyapriyaS-Deloitte Feb 3, 2025
9e9f2b0
Update aws_ques
RamiyapriyaS-Deloitte Feb 3, 2025
695c078
Create azure_ques
RamiyapriyaS-Deloitte Feb 3, 2025
4017e52
Create workflow_manager_ques
RamiyapriyaS-Deloitte Feb 3, 2025
30ce90a
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Feb 4, 2025
a31a334
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Feb 4, 2025
9859d2e
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Feb 4, 2025
dc22837
Update chatbot_comparison.md
RamiyapriyaS-Deloitte Feb 4, 2025
2fa2ba3
Delete docs/chatbot_comparison directory
RamiyapriyaS-Deloitte Feb 5, 2025
4515af4
Modifying based on PR comments
RamiyapriyaS-Deloitte Mar 31, 2025
93264dd
Amazon Q update
RamiyapriyaS-Deloitte Mar 31, 2025
6ae6c67
Delete notebooks/AWS-ParallelCluster.ipynb
RamiyapriyaS-Deloitte Mar 31, 2025
561a54d
Add files via upload
RamiyapriyaS-Deloitte Apr 7, 2025
ed66250
Rename AWS_Amazon_Q.ipynb to AWS_Amazon_Q_Developer.ipynb
RamiyapriyaS-Deloitte Apr 7, 2025
cbe0afa
Update AWS_Amazon_Q_Developer.ipynb
zbyosufzai Apr 8, 2025
4fda47a
Update installation instructions.
RamiyapriyaS-Deloitte Apr 8, 2025
ee3b661
Update AWS_Amazon_Q_Developer.ipynb
zbyosufzai Apr 9, 2025
0bdbb61
fixed AWS_Amazon_Q_Developer.ipynb
zbyosufzai Apr 9, 2025
a000ebf
fixed2 AWS_Amazon_Q_Developer.ipynb
zbyosufzai Apr 9, 2025
2698484
final fix AWS_Amazon_Q_Developer.ipynb
zbyosufzai Apr 9, 2025
7be592b
Updated with final changes
Apr 9, 2025
77c9716
updated SageMaker to SageMaker AI
Apr 9, 2025
27a6591
Added in additonal note explaining the difference between the free ti…
Apr 14, 2025
b6f9286
Update AWS_Amazon_Q_Developer.ipynb
zbyosufzai Apr 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/Q-IAM-role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-R-script.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-amazon-q-jup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-code-completion-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-code-completion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-domain-name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-explain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-fix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-iam-policy-review.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-jupy-lab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-optimize-script.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-optimize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-parallel-processing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-role-policy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-send-cell-with-prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-snakemake-cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-snakemake-cluod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Q-snakemake-wf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
547 changes: 547 additions & 0 deletions notebooks/GenAI/AWS_Amazon_Q_Developer.ipynb

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions notebooks/GenAI/example_scripts/bioinformatics_testing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import pandas as pd
import subprocess

# Step 1: Read the sample sheet
sample_sheet = pd.read_csv('samplesheet.csv')

# Step 2: Run FastQC
for index, row in sample_sheet.iterrows():
fastqc_command = f"fastqc {row['file_path']} -o ./fastqc_results/"
subprocess.run(fastqc_command, shell=True)

# Step 3: Run MultiQC
multiqc_command = "multiqc ./fastqc_results/ -o ./multiqc_report/"
subprocess.run(multiqc_command, shell=True)

# Step 4: Run STAR aligner
for index, row in sample_sheet.iterrows():
star_command = f"STAR --genomeDir /path/to/genome --readFilesIn {row['file_path']} --outFileNamePrefix ./star_results/{row['sample_id']}"
subprocess.run(star_command, shell=True)

# Step 5: Index BAM files with Samtools
for index, row in sample_sheet.iterrows():
bam_file = f"./star_results/{row['sample_id']}.bam"
samtools_command = f"samtools index {bam_file}"
subprocess.run(samtools_command, shell=True)

133 changes: 133 additions & 0 deletions notebooks/GenAI/example_scripts/quick-actions-testing.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "bed9c0c9-4756-4161-b4be-e32ce3a58bff",
"metadata": {},
"outputs": [],
"source": [
"#Cell 1\n",
"#import libraries\n",
"\n",
"import pandas as pd\n",
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "64f8d006-28f3-4d83-ae3a-9e23cccff5d7",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" Gene Expression_Level Sample_ID Condition\n",
"0 GeneA 12.5 S1 Control\n",
"1 GeneB 8.3 S2 Treated\n",
"2 GeneC 15.2 S3 Control\n",
"3 GeneD 7.8 S4 Treated\n"
]
}
],
"source": [
"#Cell 2\n",
"\n",
"# Initialize data of lists\n",
"data = {\n",
" 'Gene': ['GeneA', 'GeneB', 'GeneC', 'GeneD'],\n",
" 'Expression_Level': [12.5, 8.3, 15.2, 7.8],\n",
" 'Sample_ID': ['S1', 'S2', 'S3', 'S4'],\n",
" 'Condition': ['Control', 'Treated', 'Control', 'Treated']\n",
"}\n",
"\n",
"# Create DataFrame\n",
"df = pd.DataFrame(data)\n",
"\n",
"# Display the DataFrame\n",
"print(df)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "8ca19300-1635-4a8a-9ef8-f9554bc1baac",
"metadata": {},
"outputs": [
{
"ename": "NameError",
"evalue": "name 'describe' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[5], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# View summary statistics\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m \u001b[43mdescribe\u001b[49m()\u001b[38;5;241m.\u001b[39mdf\n",
"\u001b[0;31mNameError\u001b[0m: name 'describe' is not defined"
]
}
],
"source": [
"#Cell 3\n",
"\n",
"# Error debugging test /fix\n",
"# View summary statistics\n",
"describe().df"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "550a402e-66bd-4890-a063-e3d82679c0a8",
"metadata": {},
"outputs": [],
"source": [
"#Cell 4\n",
"\n",
"# Optimize selection test /optimize\n",
"# Add additional data to the dataframe\n",
"df['Sample_Type'] = ['Tissue1', 'Tissue2', 'Tissue1', 'Tissue2']\n",
"df['P_Value'] = [0.05, 0.01, 0.03, 0.07]"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0d45c1aa-2075-4c8a-9ecc-94fb03a71f78",
"metadata": {},
"outputs": [],
"source": [
"#Cell 5\n",
"\n",
"#Explain selection test /explain\n",
"#Plot results\n",
"import matplotlib.pyplot as plt\n",
"\n",
"df.plot(x='Sample_ID', y='Expression_Level', kind='line')\n",
"plt.show()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Loading