{"id":57093,"date":"2024-06-16T18:48:01","date_gmt":"2024-06-16T10:48:01","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=57093"},"modified":"2024-06-16T18:48:01","modified_gmt":"2024-06-16T10:48:01","slug":"%e7%a2%b1%e5%9f%ba%e7%bc%96%e8%be%91%e4%ba%8c%e4%bb%a3%e6%b5%8b%e5%ba%8f%e6%95%b0%e6%8d%ae%e4%b9%8b%e7%ad%9b%e9%80%89%e5%ba%8f%e5%88%97","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=57093","title":{"rendered":"\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217\",\"time\":\"2023-08-19 19:00:39\",\"timeStamp\":\"1692442839\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247491564&#038;idx=1&#038;sn=3386214df7537a815b9a1ae78e39ea20&#038;chksm=cf7c8f29f80b063f111d0966eeec890dd5b24976c0467dea702c79bfe2101d69b0228690c857#rd\" target=\"_blank\" rel=\"noopener\">\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span id=\"copyright_logo\" class=\"wx_tap_link js_wx_tap_highlight rich_media_meta icon_appmsg_tag appmsg_title_tag weui-wa-hotarea\">\u539f\u521b&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u679c&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-08-19 19:00:39<\/em><\/div>\n<p><content><\/p>\n<section style=\"font-size: 16px;\" data-mpa-powered-by=\"yiban.io\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"text-align: left;\">\n<section>\n<section powered-by=\"xiumi.us\">\n<section style=\"letter-spacing: 0.578px;\">\n<section>\n<section style=\"width: 100%;flex: 0 0 100%;\" powered-by=\"xiumi.us\">\n<section style=\"opacity: 1;width: 100%;\">\n<section powered-by=\"xiumi.us\">\n<section style=\"line-height: 1.8;\">\n<section style=\"margin-top: 10px;margin-bottom: 20px;width: 100%;\" powered-by=\"xiumi.us\">\n<section style=\"flex-flow: row nowrap;text-align: center;width: 100%;\">\n<section style=\"display: flex;justify-content: center;flex-direction: row;\">\n<section style=\"display: inline-block;width: 100%;flex: 0 0 auto;align-self: flex-start;vertical-align: top;\" powered-by=\"xiumi.us\">\n<section style=\"display: inline-block;border-style: solid;border-width: 1px;border-color: rgb(67, 67, 67);height: auto;box-shadow: rgb(255, 219, 118) 6px 6px 0px;background-color: rgb(255, 255, 255);width: 100%;\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;\">\n<section style=\"display: inline-block;vertical-align: top;width: 70.0348%;align-self: flex-start;flex: 0 0 auto;height: auto;max-width: 70.0348% !important;\">\n<section style=\"margin-top: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"\" powered-by=\"xiumi.us\">\n<section style=\"text-align: center;\">\n<p style=\"text-indent: 0em;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;\"><strong><span style=\"font-size: 15px;\">\u751f\u4fe1\u4ebaR\u8bed\u8a00\u5b66\u4e60\u5fc5\u5907<\/span><\/strong><\/span><\/p>\n<p style=\"text-indent: 0em;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;\"><strong><span style=\"font-size: 15px;\">\u7acb\u523b\u62e5\u6709\u4e00\u4e2aRstudio\u8d26\u53f7<\/span><\/strong><\/span><\/p>\n<p style=\"text-indent: 0em;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;\"><strong><span style=\"font-size: 15px;\">\u5f00\u542f\u5347\u7ea7\u6a21\u5f0f\u5427<\/span><\/strong><\/span><\/p>\n<p style=\"text-indent: 0em;line-height: 1.75em;\"><span style=\"color: rgb(255, 129, 36);font-size: 12px;letter-spacing: 0.5px;\">\uff0856\u7ebf\u7a0b\uff0c256G\u5185\u5b58\uff0c\u4e2a\u4eba\u5b58\u50a81T\uff09<\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;vertical-align: top;width: 29.9652%;align-self: flex-start;flex: 0 0 auto;height: auto;max-width: 29.9652% !important;\">\n<section style=\"margin-top: 10px;margin-bottom: 10px;\" powered-by=\"xiumi.us\">\n<section style=\"text-align: center;line-height: 0;\">\n<section>\n<section style=\"display: inline-block;vertical-align: middle;\" powered-by=\"xiumi.us\">\n<section style=\"line-height: 0;\">\n<section style=\"width: 111px;\" powered-by=\"xiumi.us\">\n<section style=\"line-height: 1.75em;text-indent: 0em;\">\n<section style=\"vertical-align: middle;display: inline-block;line-height: 0;height: auto;width: 111px;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-19_\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217\/1_GBhsibRAgNiaQsH4ichdP9ibEhHMFA.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAyL6u7wJswOp8vtpzGp6vYngnlT6jiavu08Bvp2iblzGf3IkoBD9NGBhsibRAgNiaQsH4ichdP9ibEhHMFA\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"400\" style=\"vertical-align: middle;width: 100%;\"  \/><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\">\n<section style=\"display: contents;\" powered-by=\"xiumi.us\">\n<section style=\"display: contents;\">\n<section style=\"display: contents;\">\n<section style=\"height: 0px;overflow: hidden;\"><span style=\"font-size: 14px;letter-spacing: 0.578px;caret-color: red;\">&nbsp;<\/span><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p><br  \/><\/p>\n<p><span style=\"font-size: 14px;\">\u4e00\u822c\u6765\u8bf4\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u7684\u6570\u636e\u91cf\u662f\u975e\u5e38\u5e9e\u5927\u7684\uff0c\u5176\u4e2d\u4e5f\u5305\u542b\u4e86\u4e00\u4e9b\u6211\u4eec\u4e0d\u9700\u8981\u7684\u6570\u636e\uff0c\u7ecf\u8fc7fastp\u8f6f\u4ef6\u7b5b\u9009\u4e4b\u540e\uff0c\u8fd8\u5b58\u5728\u5927\u91cf\u4e0d\u7b26\u5408\u6211\u4eec\u671f\u671b\u7684\u6570\u636e\uff0c\u90a3\u5982\u4f55\u8fdb\u4e00\u6b65\u7b5b\u9009\u6211\u4eec\u60f3\u8981\u7684\u6570\u636e\u5462\uff0c\u4eca\u5929\u5c31\u8ba9\u5c0f\u679c\u5e26\u5927\u5bb6\u770b\u770b\u6570\u636e\u662f\u600e\u4e48\u88ab\u8fdb\u4e00\u6b65\u7b5b\u9009\u7684\u5427\u3002<\/span><o:p><\/o:p><\/p>\n<p><span style=\"font-size: 14px;\">\u4e0b\u9762\u5c0f\u679c\u5c06\u7528\u78b1\u57fa\u7f16\u8f91\u7684\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u505a\u4e00\u4e2a\u8be6\u7ec6\u7684\u6b65\u9aa4\u4ecb\u7ecd\u3002\u9996\u5148\u6211\u4eec\u8981\u62e5\u6709\u78b1\u57fa\u7f16\u8f91\u524d\u7684\u539f\u5e8f\u5217\u4fe1\u606f\uff0c\u8fd9\u6837\u624d\u80fd\u5bf9\u6211\u4eec\u7f16\u8f91\u540e\u7684\u4fe1\u606f\u505a\u5bf9\u6bd4\uff0c\u539f\u4fe1\u606f\u5982\u56fe\u6240\u793a\u3002<\/span><\/p>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\"><br  \/><\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.5606936416184971\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-19_\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217\/2_oNwg31tuuX6a830yGf3ps97AK8qU3w.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAzcbibl2BnCssCf2eLMvvnl7q3ufmloPHdKnoSiaWGGr2iaRH4oNwg31tuuX6a830yGf3ps97AK8qU3w\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"692\" style=\"\"  \/><\/p>\n<p><br  \/><\/p>\n<h2 style=\"text-align: center;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\"><o:p><\/o:p><\/span><\/h2>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span class=\"code-snippet_outer\">import pandas as pd<\/span><\/code><code><span class=\"code-snippet_outer\">flank = pd.read_csv(\".\/TCDG_TDGNG_CDGNGG-\u7b2c\u4e09\u7248.csv\", index_col=None, header=0,sep = ',',encoding=\"utf-8\")<\/span><\/code><code><span class=\"code-snippet_outer\">flank<\/span><\/code><\/pre>\n<\/section>\n<p><br  \/><\/p>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\">\u62e5\u6709\u5e8f\u5217\u539f\u4fe1\u606f\u540e\uff0c\u5c31\u80fd\u4ece\u7f16\u8f91\u540e\u7684\u5e8f\u5217\u4e2d\u6311\u9009\u6211\u4eec\u60f3\u8981\u7684\u5e8f\u5217\u4e86\uff0c\u6211\u4eec\u62ff\u4e94\u7ec4\u5df2\u7ecf\u7ecf\u8fc7barcode\u5206\u7ec4\u7684\u5e8f\u5217\u4fe1\u606f\uff0c\u6839\u636ebarcode\u5206\u7ec4\u7684\u8be6\u7ec6\u6b65\u9aa4\u5df2\u7ecf\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d\u8bb2\u8ff0\uff0c\u8fd8\u6ca1\u6709\u638c\u63e1\u7684\u5c0f\u4f19\u4f34\u8bb0\u5f97\u53bb\u770b\u54e6\uff0c\u6211\u4eec\u5c06\u8fd9\u4e94\u7ec4\u7684\u6570\u636e\u8fdb\u884c\u7b5b\u9009\u3002<\/span><span style=\"font-family: \u5b8b\u4f53;font-size: 12pt;\"><o:p><\/o:p><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"mso-spacerun:&quot;yes&quot;;font-family:\u5b8b\u4f53;mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:&quot;Times New Roman&quot;;font-size:10.5000pt;mso-font-kerning:1.0000pt;\"><o:p><\/o:p><\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.2658959537572254\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_gttdsGI4R5qibRibaQ0cjnc16iaN0g.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAzcbibl2BnCssCf2eLMvvnl7ia2ySLeaokrLs77rlVqib48zfRgrAgttdsGI4R5qibRibaQ0cjnc16iaN0g\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"692\" style=\"\"  data-recalc-dims=\"1\" \/><\/p>\n<p><br  \/><\/p>\n<p><span style=\"font-size: 14px;\">\u7b5b\u9009\u7684\u539f\u7406\u5c31\u662f\u6211\u4eec\u5229\u7528GN20\u4e0eN20\u7684\u4e0a\u4e0b\u6e38\u5e8f\u5217\u4e0d\u53d8\uff0c\u6765\u6839\u636e\u4e0a\u4e0b\u6e38\u5e8f\u5217\u5b9a\u4f4d\u51faGN20\u4e0eN20\uff0c\u5c06\u5b9a\u4f4d\u51fa\u6765\u7684\u4fe1\u606f\u4e0e\u539f\u8868\u683c\u4fe1\u606f\u8fdb\u884c\u5bf9\u6bd4\uff0c\u6211\u4eec\u89c4\u5b9a\u5982\u679c\u5bf9\u6bd4\u76f8\u4f3c\u5ea6\u57280.7\u4ee5\u4e0a\u5219\u7559\u4e0b\u8be5\u5e8f\u5217\u3002<\/span><\/p>\n<p><span style=\"font-size: 14px;font-family: \u5b8b\u4f53;\"><br  \/><\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span class=\"code-snippet_outer\">from Bio.Seq import Seq#\u5bfc\u5165\u5e93<\/span><\/code><code><span class=\"code-snippet_outer\">from fuzzysearch import find_near_matches#\u5e8f\u5217\u5bf9\u6bd4<\/span><\/code><code><span class=\"code-snippet_outer\">from difflib import SequenceMatcher#\u5bfc\u5165\u5e93<\/span><\/code><code><span class=\"code-snippet_outer\">def similarity(a, b):#\u76f8\u4f3c\u5ea6\u5bf9\u6bd4<\/span><\/code><code><span class=\"code-snippet_outer\">    return SequenceMatcher(None, a, b).ratio()<\/span><\/code><code><span class=\"code-snippet_outer\">import time#\u8ba1\u65f6<\/span><\/code><code><span class=\"code-snippet_outer\">GN20_list = list(flank['GN20'])#\u63d0\u53d6\u8868\u683c\u4fe1\u606f<\/span><\/code><code><span class=\"code-snippet_outer\">for sample_barcode in ['A1','A2','A3','A4','A5']:#\u904d\u5386\u6bcf\u4e2atxt\u6587\u4ef6<\/span><\/code><code><span class=\"code-snippet_outer\">    start = time.time()<\/span><\/code><code><span class=\"code-snippet_outer\">    B4 = open(\".\/1_%s.txt\"%sample_barcode)<\/span><\/code><code><span class=\"code-snippet_outer\">    N20 = open('.\/1_%s_N20.txt'%sample_barcode,'w')#\u521b\u5efa\u65b0\u7684txt\uff0c\u5199\u5165\u7ed3\u679c<\/span><\/code><code><span class=\"code-snippet_outer\">    i = 0<\/span><\/code><code><span class=\"code-snippet_outer\">    o = 0<\/span><\/code><code><span class=\"code-snippet_outer\">    k = 0<\/span><\/code><code><span class=\"code-snippet_outer\">    for line in B4:#\u904d\u5386\u6bcf\u6761\u5e8f\u5217<\/span><\/code><code><span class=\"code-snippet_outer\">        gN20_right = 'GTTTTAGAGCTAGAAATA'<\/span><\/code><code><span class=\"code-snippet_outer\">        N20_right = 'AAAGAATTCTCGACCT'<\/span><\/code><code><span class=\"code-snippet_outer\">        gN20_left = 'GTGGAAAGGACGAAACACC'<\/span><\/code><code><span class=\"code-snippet_outer\">        gN20_left_index = find_near_matches(gN20_left, line, max_l_dist=2)#\u5e8f\u5217\u5bf9\u6bd4<\/span><\/code><code><span class=\"code-snippet_outer\">        if gN20_left_index:<\/span><\/code><code><span class=\"code-snippet_outer\">            gN20_right_index = find_near_matches(gN20_right, line, max_l_dist=2)<\/span><\/code><code><span class=\"code-snippet_outer\">            if gN20_right_index:          <\/span><\/code><code><span class=\"code-snippet_outer\">                gN20_left_end = gN20_left_index[0].end    <\/span><\/code><code><span class=\"code-snippet_outer\">                gN20_right_start = gN20_right_index[0].start<\/span><\/code><code><span class=\"code-snippet_outer\">                gn20 = line[gN20_left_end:gN20_right_start]#\u786e\u5b9aGN20<\/span><\/code><code><span class=\"code-snippet_outer\">                if gn20 in GN20_list:<\/span><\/code><code><span class=\"code-snippet_outer\">                    o+=1              <\/span><\/code><code><span class=\"code-snippet_outer\">                    N20_right_index = find_near_matches(N20_right, line, max_l_dist=2)<\/span><\/code><code><span class=\"code-snippet_outer\">                    if N20_right_index:        <\/span><\/code><code><span class=\"code-snippet_outer\">                        N20_right_start = N20_right_index[0].start<\/span><\/code><code><span class=\"code-snippet_outer\">                        #ACGT relative position<\/span><\/code><code><span class=\"code-snippet_outer\">                        N20_left_index = line[N20_right_start-29:N20_right_start-17].rfind('ACGT')<\/span><\/code><code><span class=\"code-snippet_outer\">                        if N20_left_index&gt;=0:<\/span><\/code><code><span class=\"code-snippet_outer\">                            N20_left_end = N20_left_index + N20_right_start-29<\/span><\/code><code><span class=\"code-snippet_outer\">                            n20 = line[N20_left_end+4:N20_right_start-3]  #\u786e\u5b9aN20<\/span><\/code><code><span class=\"code-snippet_outer\">                            if similarity(gn20,n20)&gt;0.7:#\u76f8\u4f3c\u5ea6<\/span><\/code><code><span class=\"code-snippet_outer\">                                N20.write(gn20+','+n20+','+line)<\/span><\/code><code><span class=\"code-snippet_outer\">                                k+=1<\/span><\/code><code><span class=\"code-snippet_outer\">        if i%500000==0:#\u7a0b\u5e8f\u8fdb\u7a0b<\/span><\/code><code><span class=\"code-snippet_outer\">            print(sample_barcode,i,o,k)<\/span><\/code><code><span class=\"code-snippet_outer\">        i+=1<\/span><\/code><code><span class=\"code-snippet_outer\">    end = time.time()<\/span><\/code><code><span class=\"code-snippet_outer\">    print(end-start)#\u8bb0\u5f55\u65f6\u95f4<\/span><\/code><code><span class=\"code-snippet_outer\">    B4.close()<\/span><\/code><code><span class=\"code-snippet_outer\">N20.close()<\/span><\/code><\/pre>\n<\/section>\n<p><br  \/><\/p>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\">\u5f53\u811a\u672c\u8fd0\u884c\u7ed3\u675f\uff0c\u6211\u4eec\u5c31\u5f97\u5230\u4e86\u7b26\u5408\u6761\u4ef6\u7684\u6240\u6709\u5e8f\u5217\u3002<\/span><span style=\"font-family: \u5b8b\u4f53;font-size: 12pt;\"><o:p><\/o:p><\/span><\/p>\n<p><span style=\"font-family: \u5b8b\u4f53;font-size: 12pt;\"><br  \/><\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.5346820809248555\" data-s=\"300,640\" src=\"\u56fe\u7247\/\u751f\u4fe1\u679c_2023-08-19_\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217\/4_icunYXme8smibNnoynDI6KQspBBhSw.png\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/zcicibWZessAzcbibl2BnCssCf2eLMvvnl7Kg0hVoS0kn89mpGdjeAxsUNfbbicunYXme8smibNnoynDI6KQspBBhSw\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"692\" style=\"\"  \/><\/p>\n<p><br  \/><\/p>\n<p><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;\">\u597d\u4e86\uff0c\u4eca\u5929\u5c0f\u679c\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\u5566\uff0c\u5c0f\u4f19\u4f34\u4eec\u6709\u4ec0\u4e48\u95ee\u9898\u6b22\u8fce\u6765\u548c\u5c0f\u679c\u8ba8\u8bba\u5206\u4eab\u5440\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<section style=\"text-align: justify;\" powered-by=\"xiumi.us\">\n<p><span style=\"font-size: 14px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5982\u679c\u5c0f\u4f19\u4f34\u6709\u5176\u4ed6\u6570\u636e\u5206\u6790\u9700\u6c42\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u672c\u516c\u53f8\u65b0\u5f00\u53d1\u7684\u751f\u4fe1\u5206\u6790\u5c0f\u5de5\u5177\u4e91\u5e73\u53f0\uff0c\u96f6\u4ee3\u7801\u5b8c\u6210\u5206\u6790\uff0c\u975e\u5e38\u65b9\u4fbf\u5965\uff0c\u4e91\u5e73\u53f0\u7f51\u5740\u4e3a\uff1a(http:\/\/www.biocloudservice.com\/home.html)\uff0c\u5176\u4e2d\u4e5f\u5305\u62ec\u4e86\u901a\u8def\u8868\u8fbe\u5206\u6790(http:\/\/www.biocloudservice.com\/313\/313.php)\uff0c\u5355\u7ec6\u80de\u7684\u57fa\u56e0\u5171\u8868\u8fbe\u5206\u6790(http:\/\/www.biocloudservice.com\/906\/906.php)\u7b49\u5404\u79cd\u5c0f\u5de5\u5177\u54e6~\uff0c\u6709\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u767b\u5f55\u7f51\u7ad9\u8fdb\u884c\u4e86\u89e3\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<\/section>\n<section style=\"text-align: justify;\" powered-by=\"xiumi.us\">\n<section style=\"margin-bottom: 0px;letter-spacing: 0.578px;white-space: normal;caret-color: rgba(0, 0, 0, 0);font-size: 16px;\">\n<section>\n<section style=\"margin-top: 0.5em;\">\n<section style=\"padding: 0.5em;border-width: 1px;border-style: solid;box-shadow: rgb(226, 226, 226) 0px 16px 1px -13px;border-color: rgb(0, 150, 136);\">\n<section style=\"text-align: left;\">\n<section style=\"color: rgb(255, 129, 36);text-align: justify;\">\n<section style=\"margin-bottom: 8px;\">\n<p style=\"text-indent: 0em;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;\">\u70b9\u51fb<strong><span style=\"color: rgb(0, 150, 136);\">\u201c\u9605\u8bfb\u539f\u6587\u201d<\/span><\/strong>\u7acb\u523b\u62e5\u6709<\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"margin-bottom: 8px;font-size: 32px;color: rgb(0, 150, 136);\">\n<p style=\"text-indent: 0em;line-height: 1.75em;\"><span style=\"letter-spacing: 0.5px;\">\u2193\u2193\u2193&nbsp;<\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<div class=\"msg_source_url\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247490130&#038;idx=1&#038;sn=1578a7fab283ba24e1ce5cd6087e2d0d&#038;chksm=cf7c8a97f80b038111f1d3df359dbee67a49462b61b5bfed1060dd83c5d7b975f0db40f4626a#rd\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<p><\/content><\/p>\n<div class=\"msg_source_url\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247490130&#038;idx=1&#038;sn=1578a7fab283ba24e1ce5cd6087e2d0d&#038;chksm=cf7c8a97f80b038111f1d3df359dbee67a49462b61b5bfed1060dd83c5d7b975f0db40f4626a#rd\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u78b1\u57fa\u7f16\u8f91\u4e8c\u4ee3\u6d4b\u5e8f\u6570\u636e\u4e4b\u7b5b\u9009\u5e8f\u5217 \u539f\u521b&nbsp;&nbsp;\u5c0f\u679c&nbsp;&nbsp;\u751f\u4fe1\u679c&nbsp;&#038;n [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/57093"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=57093"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/57093\/revisions"}],"predecessor-version":[{"id":57098,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/57093\/revisions\/57098"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=57093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=57093"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=57093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}