99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

STSCI 4060代做、代寫Python設(shè)計程序
STSCI 4060代做、代寫Python設(shè)計程序

時間:2024-05-19  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



STSCI **0/5045 Final Project 
(Due: 4:30 PM, May 16, 2024) 
Important: Read and follow this whole document carefully! 
How to submit: submit your project report to the Canvas course website with a single zip file, 
which combines all your files. 
General instructions: 
• Do your own work. Any cheating behavior (for example, submitting code similar to 
that of other student(s), copying code from an Internet source, etc.) may result in a 
serious consequence (e.g., getting zero points, failing the class, …). If you have a 
question about the project, you should directly email your instructor. 
• Start the project early. Programming is time consuming; you will need significant 
amount of time and patience to code some portions of the project. Do not expect to 
finish it on the due day. 
• Test your code (especially the .cgi files) separately from other systems. When you have 
multiple software systems connected, it is harder to debug. 
• Add sufficient documentation to your code so that people understand your algorithm 
and what your code does. This is a requirement of this project. 
• Do not edit the raw data file in any way. Your results will be compared to the standard 
solutions. 
• Make sure that you have included all the components in your submission (see the 
details at the end of this document on pages 3 and 4). Your grader will run your 
programs on his/her computer; if something is missing your programs will not run. 
 
In this project you will have an opportunity to integrate Python programming, Oracle database, 
database-driven dynamic web pages, and Python data analysis modules with Jupyter (IPython) 
notebook using the data that are processed with the above integration. You are given a raw 
data file, honeybee_gene_sequences.txt, which was downloaded from the NCBI web site. We 
dealt with the protein data in the class; however, genes are different kinds of biomolecules. 
Unlike proteins that are composed of 20 amino acids, genes are only formed with four building 
elements: adenine (A), cytosine (C), guanine (G) and thymine (T). They are called nucleotides, a 
sequence of which forms a gene, which then determines the sequence of a protein. Thus, the 
compositions of the nucleotides and their relative frequencies, especially the combined relative 
frequency of C and G (i.e., the sum of the percentages of C and G in a gene sequence), have 
important biological (or medical) meanings. For this project, you will do the following: 
 
 1. Design a web page (using KompoZer or another similar program) to allow a user to enter 
a file name (here honeybee_gene_sequences.txt) and the full path to the location where 
the file is stored so that the user can upload the data file by clicking the Submit button 
on the web page. 
2. Write a specific .cgi file with Python to accept the user input from the web page, process 
the data and store the processed data in an Oracle database table, which is also created 
 
within the .cgi file using the Python-Oracle integration approach. In this .cgi file, you 
need to at least include the following functions: 
 
 A. The main() function to receive the user input from the web page. 
B. The processInput() function to do the following: 
a) Read in the contents of the data file. 
b) In order to extract the right nucleotide (or gene) sequences for all 
possible cases (you can see that most times the nucleotide sequences 
start right after the substring, mRNA, but not always), you are required to 
insert the substring, _**gene_seq_starts_here**_, right before the 
nucleotide sequences of every bee gene (or entry) through Python 
programming when you read in (or process) the raw data line by line. In 
this way, you will use the _**gene_seq_starts_here**_ substring as the 
starting point to extract the nucleotide sequences later. Note: There are 
different ways to extract the genes from the raw data. For the 
requirement specified above, you should just treat it as a programming 
requirement of this project. 
c) Extract the gi number and nucleotide sequence of each gene (or entry). 
d) Make sure that your Python program correctly reads in the gene (or 
nucleotide) sequence of the last entry in the raw data file. 
e) Calculate the relative frequencies of each nucleotide in every gene. 
f) Calculate the combined relative frequency of the nucleotides G and C, 
freq_GC, which is obtained by adding the relative frequencies of G and C. 
g) Connect Python to the Oracle database system. 
h) Create an Oracle table called beeGenes to store gi numbers, nucleotide 
sequences, the relative frequencies of the four nucleotides and the 
combined relative frequencies of the nucleotides G and C, freq_GC. So, 
your beeGenes table has seven columns. 
i) When you write the data to the database table, you are required to use 
the Oracle bind variable approach and the batch writing method by 
setting the bindarraysize to a certain number (refer to the lecture slides if 
needed). 
j) In order not to truncate any gene sequence, you need to find an 
appropriate number for the sequence input size. Thus, you are required 
to write a separate Python program (which should also be submitted for 
grading) to determine the maximum number of nucleotides of all the 
genes in the data file. 
C. fileToStr() to return a string containing the contents of the named html file. 
D. makePage() to make the final formatted string (or webpage) for displaying on a 
web page. 
3. Design a template web page to acknowledge that the uploading process was successful 
and that the data were processed and stored in the database as planned. There is a 
button on which a user can click if the user wants to see some results, retrieved from 
the Oracle database table you just created. 
4. Code another .cgi file with Python to retrieve data from the database table (beeGenes). 
The functions you need are similar to those in the previous .cgi file, but in the 
processInput() function, you are required to use a Python dictionary and the format 
 
string mechanism when you extract data from beeGenes. In this function, you will run 
queries against the beeGenes table to find the gi numbers of those bee genes that have 
the highest relative frequencies of nucleotide A, C, G, or T so that you can display these 
on the final web page when the user clicks the “Click to See Some Result” button on the 
confirmation page of data submission. Note that you may have a situate when multiple 
genes meet the same condition. Your code should take care of this kind of situation 
automatically. When that happens, you must list all the gi numbers in the same cell of 
your webpage table, with one gi number per line. 
5. Design another template web page to display the results gathered from the database. 
Inserting a hyperlink of the nucleotides to another web page is optional. 
6. You use the local server to run all the web services in this project, using port number 
8081. 
7. Write a Python program to run a query against the Oracle table beeGenes to show that 
you earlier successfully extracted the gene sequence of the last entry of the raw data 
file. To do so, you run a query for the gene sequence by providing the related gi number, 
which is 1****7436. Include both your Python code and the query result in your report. 
8. Connect Python to the Oracle database and conduct a K-Means cluster analysis in a 
Jupyter notebook. You should only use three columns in the beeGenes table: freq_A 
(relative frequency of the nucleotide A), freq_T (relative frequency of the nucleotide T) 
and freq_GC for this analysis due to some biological reasons. 
 
In your Jupyter notebook, you should use three cells: the 1st
 cell is for importing all 
the necessary Python modules for this analysis; the 2nd cell is to connect Python to 
your Oracle database and create a numpy array containing the three columns of 
data that are read from the beeGenes table in your Oracle database; and the 3rd cell 
is for carrying out the K-Means analysis and plotting a 3D scatter plot using the three 
columns of data based on the clusters identified by the K-Means analysis. 
 
The K-Means settings are: n_cluster=7, init='random', n_init=10, max_iter=500, 
tol=1e-4, and random_state=0. Then, you create a scatter plots with a total figure 
size of 14X14. Use the same type of marker ('o') for all the clusters, set s to 20, set 
labels to "Cluster 1" to "Cluster 7" for the cluster values of 0 to 6 that are found by 
the K-Means algorism, respectively. Set the colors as follows: red for Cluster 1, blue 
for Cluster 2, aqua for Cluster 3, black for Cluster 4, purple for Cluster 5, magenta for 
Cluster 6, and green for Cluster 7. 
 
Mark the centroid of each cluster with a star: set s to 100, color to red and label to 
Centroids. Give the title "K-Means" to the plot. The legends should be displayed in 
the upper right corner of the plot. 
 
After your code works correctly, run all the cells in your Jupyter notebook at once. 
Submit the notebook file (.ipynb) and an HTML file of the same notebook (.html). 
 
Your report should at least contain the following items: all your code, outputs and screenshots, 
which must be combined into a single PDF file, arranged in the order they appear in the project. 
You must mark all your items clearly. Moreover, your Python and html program files must be 
 
submitted as separate files, which must be kept in the same folder (no subfolders) so that your 
grader can run your programs easily. The following is a detailed list of the files/items to submit. 
 
• All Python program files (with the .py extension), including the program to find the 
maximum number of nucleotides in a gene sequence and the program to query the 
database to confirm that you successfully extracted the gene sequence of the last 
entry of the raw data file. 
• All .cgi files, which are technically Python files but contain the .cgi extension. 
• All .html files, including the template and non-template .html files. 
• The design window of your input web page. 
• The design windows of your two template web pages. 
• A screenshot of your input web page with the input value entered. 
• A screenshot of your confirmation web page that displays that you have successfully 
submitted the data, etc. 
• A screenshot of your final web page that displays the results of database query 
similar to the following screenshot (but it is only an example here, and the actual 
results were erased). 
 
• A screenshot of the local CGI server log. 
• The result of Oracle table query for the gene sequence of the last entry, which 
should be a Python shell screenshot (you may need more than one screen to display 
the complete sequence). 
• Your Jupyter notebook file (.ipynb). 
• The Jupyter notebook HTML file (.html). 
• The localCGIServer.py file. 
• The raw data file, honeybee_gene_sequences.txt. 
 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

















 

掃一掃在手機打開當前頁
  • 上一篇:IERG2080代做、代寫C/C++程序語言
  • 下一篇:菲律賓開車需要駕照嗎(開車注意事項)
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設(shè)計優(yōu)化
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網(wǎng)頁版入口 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                成人av网站免费观看| 国产精品亚洲一区二区三区妖精 | 国产三级三级三级精品8ⅰ区| 精品国产一区二区精华| 日韩午夜在线观看视频| 欧美视频一区在线| 国产色综合一区| 丝袜美腿亚洲色图| 国产成人aaa| 亚洲色欲色欲www| 精品国产精品一区二区夜夜嗨| 在线这里只有精品| 日本一不卡视频| 久久99久久精品| 天天做天天摸天天爽国产一区 | 一本大道久久精品懂色aⅴ| 国产乱一区二区| 91丨porny丨最新| 欧美精品欧美精品系列| 久久精品一区八戒影视| 国产精品精品国产色婷婷| 亚洲精品国产无套在线观| 日韩欧美视频在线| 久久精品国产免费看久久精品| 亚洲精品高清视频在线观看| 亚洲人被黑人高潮完整版| 亚洲国产精品一区二区久久恐怖片| 久久久精品国产免大香伊| 欧美丰满一区二区免费视频| 国产欧美一区二区精品婷婷| 久久久国产午夜精品| 中文字幕不卡三区| 亚洲mv大片欧洲mv大片精品| 久久成人麻豆午夜电影| 99久久精品免费观看| 日韩丝袜情趣美女图片| 亚洲精选视频在线| 精一区二区三区| 欧美视频在线一区二区三区 | 精品国产电影一区二区| 亚洲午夜久久久| 成人午夜视频福利| 欧美mv日韩mv亚洲| 亚洲gay无套男同| 在线观看国产日韩| 国产亚洲美州欧州综合国| 久久精品一区蜜桃臀影院| 一卡二卡欧美日韩| 激情五月播播久久久精品| 风间由美一区二区av101| 99视频国产精品| 欧美日韩精品欧美日韩精品一 | a4yy欧美一区二区三区| 久久理论电影网| 国产成人综合亚洲网站| 国产无一区二区| 91麻豆免费在线观看| 欧美浪妇xxxx高跟鞋交| 欧美精品丝袜久久久中文字幕| 欧美一区二区三区爱爱| 中文字幕在线不卡一区| 美美哒免费高清在线观看视频一区二区| 91丝袜国产在线播放| 国产欧美一区二区精品久导航 | 91麻豆国产福利在线观看| 一区二区三区精品视频在线| 337p亚洲精品色噜噜| 成人永久aaa| 视频在线观看国产精品| 久久久精品国产99久久精品芒果| 韩国三级中文字幕hd久久精品| 国产人伦精品一区二区| 日韩激情一二三区| 久久综合色8888| 欧美日韩另类一区| 成人av免费在线播放| 午夜欧美大尺度福利影院在线看| 色欧美乱欧美15图片| 久久免费的精品国产v∧| av男人天堂一区| 在线观看一区日韩| 精品福利视频一区二区三区| 精品乱人伦小说| 精品视频一区二区三区免费| 9i看片成人免费高清| 精品在线一区二区| 国产成人免费在线视频| 欧美电视剧在线看免费| 另类中文字幕网| 亚洲午夜激情网站| 亚洲综合在线五月| 午夜影院久久久| 日韩欧美中文字幕制服| 日韩写真欧美这视频| 69p69国产精品| 欧美酷刑日本凌虐凌虐| 在线观看日产精品| 欧美久久一区二区| 精品国产免费一区二区三区香蕉| 中文字幕av资源一区| 中文字幕免费不卡| 午夜不卡在线视频| 五月天丁香久久| 99久久免费国产| 欧美午夜精品一区二区三区| 蜜桃视频在线一区| 在线观看www91| 欧美日韩卡一卡二| 久久老女人爱爱| 久久亚洲影视婷婷| 欧美色中文字幕| 欧美激情一区二区三区不卡| 一区二区成人在线视频| 成人黄色a**站在线观看| 在线观看av不卡| 国产精品免费视频观看| 亚洲高清免费观看| 国产99精品国产| 欧美日韩三级一区| 欧美激情综合五月色丁香小说| 亚洲天堂网中文字| 亚洲18色成人| 91日韩精品一区| 一本色道亚洲精品aⅴ| 欧美日韩欧美一区二区| 欧美精品一区二区三区蜜臀| 日韩成人一级片| 99麻豆久久久国产精品免费 | 日韩精品亚洲专区| 精品制服美女丁香| 日韩成人伦理电影在线观看| 一本大道av伊人久久综合| 国产亚洲短视频| 韩国成人精品a∨在线观看| 色婷婷亚洲综合| 国产精品无人区| 国产真实乱子伦精品视频| 国产.精品.日韩.另类.中文.在线.播放| 色综合天天做天天爱| 69av一区二区三区| 国产精品美女久久久久av爽李琼 | 欧美日韩一区二区在线观看| 久久99热国产| 欧美日免费三级在线| 成人午夜电影网站| 一本一本大道香蕉久在线精品| 欧美一区二区三区在线| 欧美激情一区在线观看| 亚洲综合丁香婷婷六月香| 久久精品国产亚洲高清剧情介绍| 精品成人一区二区三区| 久久久影视传媒| 日产国产高清一区二区三区| 午夜久久久久久久久| av不卡在线播放| 欧美一区二区精美| 亚洲人妖av一区二区| 卡一卡二国产精品| 日本一二三不卡| 国产suv精品一区二区883| 正在播放亚洲一区| 亚洲一区二区三区四区五区黄 | 日韩高清不卡一区| 成人av电影免费在线播放| 亚洲精品一区二区三区蜜桃下载| 久久丝袜美腿综合| 午夜精品久久久久久久久久| 欧美一区二区私人影院日本| 久久蜜臀精品av| 国产剧情在线观看一区二区| 91精品国产91久久久久久一区二区| 一区二区三区不卡视频| 99r国产精品| 中文字幕一区二区三区在线观看| 久久青草欧美一区二区三区| 久久久久久毛片| 亚洲欧美另类小说视频| 99久久er热在这里只有精品15| 国产日韩欧美制服另类| 高清国产午夜精品久久久久久| 国产亚洲成年网址在线观看| 国产成人免费视频| 中文字幕一区二区三| 成人av资源下载| 成人免费在线视频观看| 亚洲福利视频三区| 91精品国产福利在线观看| av午夜一区麻豆| 日韩影院在线观看| 9l国产精品久久久久麻豆| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 精品女同一区二区| 国产精品家庭影院| 97久久精品人人做人人爽| 国产精品综合一区二区三区| 精品av综合导航| 91蜜桃免费观看视频| 婷婷丁香激情综合| 久久先锋影音av| 97精品电影院|