原创 【跟着stackoverflow學Pandas】-How do I get the row count of a Pandas dataframe-獲取DataFrame行數

最近做一個系列博客,跟着stackoverflow學Pandas。 專欄地址:http://blog.csdn.net/column/details/16726.html 以 pandas作爲關鍵詞,在stackoverflow中

原创 【perl】cpan 非root安裝perl模塊

處於無奈才用perl的,相比python,不喜歡perl。。。 以下寫入你的 .bashrc 或 .zshrc 文件,然後source software=/your/path #cpan install export PERL_

原创 【error】No such file or directory apu-1-config apr-1-config

問題 mac採用 pip3 install mod_wsgi, 報錯 FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Xcode.ap

原创 【一起學生信】羣體結構圖形—structure堆疊圖

1、structure圖的由來 圖1 假設羣體亞羣數等於3(k=3)的情況下的structure分析結果 “Structure圖”名詞本身來自這種圖形的分析軟件——STRUCTURE。這個軟件是由斯坦福大學Pritchard實驗室開發的

原创 基因測序儀發展史.

NGS十年發展史,看這篇就夠了 | Nature綜述解讀日前 Nature Reviews Genetics 刊出了一篇綜述,盤點近十年來測序技術的發展。從最初的“高山仰止”到如今走進尋常百姓家,正是測序公司和科研人員們孜孜不倦的努力,推

原创 一代、二代、三代測序技術原理與比較

【寫在前面的話】:首先,這一篇博文中的內容並非原創,而是對多篇文獻中內容的直接摘錄,有些圖片和資料還來自身邊的同事(在此深表謝意!),再夾雜自己的零星想法,寫在這裏分享與大家,同時也是爲了方便自己日後若有需要能夠方便獲得,文章比較長。摘要

原创 【跟着stackoverflow學Pandas】- apply、applymap、map 三者使用差異

最近做一個系列博客,跟着stackoverflow學Pandas。 專欄地址:http://blog.csdn.net/column/details/16726.html 以 pandas作爲關鍵詞,在stackoverflow中

原创 【python-tips】非root權限安裝pip、其他包

很多時候我們拿到服務器的賬號,只是一個普通用戶,沒有root權限,這沒有關係。關鍵是沒有pip、沒有必要的python包。 參考Stack Overflow給出解決方案,適用於python2.7, python3.x 安裝pip

原创 【跟着stackoverflow學Pandas】 - Pandas: change data type of columns - Pandas修改列的類型

最近做一個系列博客,跟着stackoverflow學Pandas。 專欄地址:http://blog.csdn.net/column/details/16726.html 以 pandas作爲關鍵詞,在stackoverflow

原创 【error】pg_dump no matching tables were found

pg_dump 備份數據時,提示 no matching tables were found, 可是表明明是存在的。最後發現,是引號的問題,於是加了雙引號,可還是不行。最終在Stack Overflow發現了答案。 https:

原创 【error】postgresql relation does not exist

最近剛剛使用postgresql遇到很多問題。 postgresql relation does not exist 使用postgresql 查詢 AAA 數據表時,提示 postgresql relation does no

原创 error: Cannot find OpenSSL's Mac

問題 mac安裝php需要openssl ./configure –with-openssl 報錯 error: Cannot find OpenSSL’s 解決 brew install openssl ./configur

原创 基因組組裝算法

基因組組裝算法目前,構建Graph的主流方法有3種,Overlap-Layout-Consensus(Celera Assembler、PBcR),de Bruijn Graph(SOAPdenovo ) 和 String Graph(F

原创 【跟着stackoverflow學Pandas】- 刪除帶有NaN的行

最近做一個系列博客,跟着stackoverflow學Pandas。 專欄地址:http://blog.csdn.net/column/details/16726.html 以 pandas作爲關鍵詞,在stackoverflow

原创 【R】R語言指定包安裝目錄

僅針對Linux操作系統。 查看R安裝目錄 R # 進入R軟件 .libPaths() 方法1 在 ~/.bashrc 中設置 export R_LIBS_USER=/your/path 然後採用 install.package