原创 重量單位fg含義

今天看文章出現單位fg, roughly 1 fg per megabase of genome size 不解其意,搜索摘錄如下: 1 g = 1000 mg 1 mg = 1000 ug 1 ug = 1000 ng

原创 blast 錯誤

在新環境中調用blastp出現錯誤blastp: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No

原创 排序函數-R語言系列

排序函數-R語言系列 R語言中內置了相關函數,能夠快速的進行排序相關的操作,主要相關函數有rank()、sort()和order(),下面對這些函數分別進行介紹。 ​ rank()函數 ​ rank()函數主要返回向量中各個元素

原创 python3錯誤 module 'enum' has no attribute 'IntFlag'

在全新的環境中安裝jupyter時出現錯誤:AttributeError: module 'enum' has no attribute 'IntFlag',錯誤詳情如下 ==> script messages <== Traceba

原创 kraken建庫錯誤

kraken 出現錯誤 運行命令kraken-build --standard --threads 24 --db MY_KRAKEN_DATABASE,返回錯誤: Found jellyfish v1.1.12 --2019-04-

原创 windows10 安裝pip biopython

@Date: 2017-08-29 09:37:52 安裝pip 安裝biopython 參考文獻 1. 安裝pip 如果環境變量中沒有python請自行安裝,從官網下載源文件,下載地址爲pip,下載壓縮文件pip-9.0

原创 python 模板

#!/usr/bin/env python import argparse argp = argparse.ArgumentParser(prog='extract_region', description='Extract rs

原创 cytoscape 3.6 啓動報錯

安裝Cytoscape 3.6之後無法啓動,出現錯誤: error: The jvm could not be started.The maximum heap size (-Xmx) might be too large or an a

原创 R 更換package安裝源

有時候利用R安裝R包,出現錯誤: Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/con

原创 利用R整合數據

利用R語言進行處理時,經常需要進行數據的整理與重新整合,最簡單的處理如轉置t()與排序等。 下面介紹的是如何利用R中的reshape2包對數據進行重新整合,主要涉及到兩個函數。 melt() melt()函數,從字面意思來理解就是融化

原创 R查找某一元素位置

如果要查找某元素在向量中的下標,可以用函數which實現,例如: > a <- 1:10 > a [1] 1 2 3 4 5 6 7 8 9 10 > which(a == 5) [1] 5

原创 pip更換國內源

使用pip install時,默認的源速度太慢,經過測試中科大和清華的源速度比較快,源地址如下: https://pypi.mirrors.ustc.edu.cn/simple/ https://pypi.tuna.tsinghua.ed

原创 sublime 中文亂碼與替換變量

1. 中文亂碼 sublime中文亂碼是因爲遇到GBK編碼的漢字無法識別,只需要安裝ConvertToUTF8包就能解決這個問題。 參考:http://jingyan.baidu.com/article/fc07f98972ee0a12f

原创 sublime設置與Evernote

@Date: 2016-09-03 16:37:50 content sublime配置 安裝包管理插件 安裝所需插件 關聯md文件 我的配置 Evernote 相關設置 獲取Evernote授權 配置markdo

原创 R讀取xlsx文件

目前發現R中最方便的excel文件讀取方法爲readxl包,首先按照R包: install.packages(‘readxl’, repos = ‘https://mirrors.tuna.tsinghua.edu.cn/CRAN‘)