国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

STSCI 4060代做、代寫Python設計程序
STSCI 4060代做、代寫Python設計程序

時間:2024-05-19  來源:合肥網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++程序語言
  • 下一篇:菲律賓開車需要駕照嗎(開車注意事項)
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品视频网站在线观看| 欧美日韩国产第一页| 欧美亚洲在线播放| 中文字幕一区二区三区四区五区人| 国产精品久久久久91| 久久久噜噜噜久久久| 久久精品网站视频| 久久青青草原| 久久久久久久久久久99| 久久国产成人精品国产成人亚洲| 国产精品99久久久久久大便| 99一区二区三区| 99精品一级欧美片免费播放| 国产免费黄视频| 成人在线精品视频| 国产乱子伦农村叉叉叉| www.av毛片| 久久综合久久久久| 国产极品在线视频| 久久99精品国产一区二区三区 | 亚洲精品中文字幕乱码三区不卡| 亚洲字幕一区二区| 日本午夜在线亚洲.国产| 日韩毛片在线免费看| 欧美国产一二三区| 国产美女久久精品| 91精品久久久久久久久| 久草免费福利在线| 国产精品久久久久久久久久久久久久| 插插插亚洲综合网| 亚洲色欲久久久综合网东京热| 亚洲不卡一卡2卡三卡4卡5卡精品| 亚洲人成无码www久久久| 亚洲高潮无码久久| 日本wwwcom| 黄色三级中文字幕| 97干在线视频| 国产精品久久久久久五月尺| 亚洲在线视频福利| 男女超爽视频免费播放| 成人久久久久久久| 神马国产精品影院av| 欧美激情在线视频二区| 日本不卡二区| 国产欧美精品xxxx另类| 91成人免费视频| 国产精品视频区| 一区二区三区精品国产| 日韩久久久久久久| 国产女人18毛片水18精品| 久久av喷吹av高潮av| 国产aaa精品| 欧美久久久久久久久久久久久| 国产精品一二三在线观看| 久久99精品国产一区二区三区| 精品伦精品一区二区三区视频| 色播亚洲视频在线观看| 国产精品自拍偷拍| 国产成人精品网站| 亚洲va欧美va在线观看| 免费看国产一级片| 日韩中文字在线| 在线观看一区欧美| 欧美日韩一区二区三区免费| 91精品国产91久久久久麻豆 主演| 国产精品女主播视频| 日本中文字幕一级片| 国产精品一区二区久久精品| 国产精品久久久久久搜索| 日本免费成人网| 国产精品91免费在线| 中文字幕一区二区三区乱码| 免费看黄在线看| 日日骚av一区| 视频在线一区二区三区| 成 年 人 黄 色 大 片大 全| 国产精品久久久久久久久久久久午夜片| 亚洲日本理论电影| 国产伦理久久久| 麻豆国产va免费精品高清在线| 欧美福利一区二区三区| 日韩网站免费观看| 欧美亚洲另类激情另类| 久久久久久久久久国产精品| 日韩人妻精品一区二区三区| 久久噜噜噜精品国产亚洲综合| 亚洲午夜精品福利| 国产精品一区二区三区免费视频 | 久久久久久久久久婷婷| 成人av影视在线| 国产精品777| 亚洲国产精品影视| 久久久久久久999| 欧美一级片免费观看| 91精品国产91久久久久麻豆 主演| 欧美激情视频三区| 国产一区二区精品在线| 精品久久久久亚洲| 国产欧美久久久久久| 永久免费看av| 91精品国产91久久久久麻豆 主演| 亚洲永久在线观看| 久久综合久久综合这里只有精品| 日韩av免费看| 久久久亚洲网站| 日日摸日日碰夜夜爽av| 国产富婆一区二区三区| 欧美又大又粗又长| 国产精品成人播放| 国产欧美一区二区白浆黑人| 亚洲制服欧美久久| 国产黄页在线观看| 日本新janpanese乱熟| 久久99精品国产99久久| 欧美日本韩国在线| 久久亚洲精品一区二区| 国产精品自产拍高潮在线观看| 亚洲一区二区三区欧美| 久久久精品在线视频| 日韩欧美一区二区三区四区五区 | 91精品国产99| 任我爽在线视频精品一| 国产精品免费看久久久无码 | 欧美日韩精品免费观看| 久久亚洲精品一区| 97久久精品人搡人人玩| 欧美综合77777色婷婷| 国产精品久久不能| 国产一级大片免费看| 亚洲一区二区三区在线视频| 色琪琪综合男人的天堂aⅴ视频| 国产一区香蕉久久| 丁香六月激情网| 精品国产自在精品国产浪潮| 国产精品永久入口久久久| 日韩av观看网址| 国产精品第一视频| 国产精品69久久| 免费看欧美一级片| 天天夜碰日日摸日日澡性色av| 日韩中文字幕网站| 成人h视频在线| 欧美久久久久久一卡四| 麻豆乱码国产一区二区三区| 国产欧美最新羞羞视频在线观看| 亚洲精品一区二区三区蜜桃久| 久久精品夜夜夜夜夜久久| 成人精品久久一区二区三区| 欧日韩免费视频| 亚洲国产精品一区在线观看不卡| 日韩在线观看免费av| 国产精品久久久影院| 久久精品国产精品国产精品污| 国产伦精品免费视频| 日韩久久不卡| 亚洲精品高清国产一线久久| 国产精品美女xx| 久久久久久久久久久久久国产精品 | 欧美日韩国产高清视频| 亚洲高清在线观看一区| 精品国产一区二区三区在线| 久久久久久久久久久99| 91好吊色国产欧美日韩在线| 国产一区二区三区黄| 欧美中文字幕在线观看| 日韩中文在线字幕| 亚洲综合色av| 国产精品吹潮在线观看| 久久久黄色av| 久久免费看毛片| 97公开免费视频| 国产精品在线看| 国产伦视频一区二区三区 | 热99精品只有里视频精品| 亚洲国产精品www| 一区二区免费电影| 九九热精品视频在线播放| 国产精品美女视频网站| 国产精品色悠悠| 久久久av电影| 国产不卡一区二区在线观看| 97免费中文视频在线观看| 国产乱子伦农村叉叉叉| 国产女教师bbwbbwbbw| 毛片一区二区三区四区| 激情小说综合区| 欧美亚洲另类激情另类| 欧美视频在线观看网站| 欧美性视频精品| 精品999在线观看| 精品午夜一区二区| 国产欧亚日韩视频| www亚洲国产| 68精品久久久久久欧美| 久久综合九色综合网站| 69久久夜色精品国产69 | 91av国产在线| 久久久免费av| 国产精品免费一区二区三区都可以| 久久成人国产精品|