Download and install Google Extension .crx file

  2. input 32-bit extension ID; for example:
    If we want to download this extension “”, then the 32-bit extension ID of it is “padekgcemlokbadohgkifijomclgjgif“.
  3. Drop the .crx file into the chrome extension page.

Gene-Gene\Protein-Protein Interaction Network – Tools

  1. Cytoscape – Agilent Literature Search
  2. STRING:
    The many functional partnerships and interactions that occur between proteins are at the core of cellular processing and their systematic characterization helps to provide context in molecular systems biology. However, known and predicted interactions are scattered over multiple resources, and the available data exhibit notable differences in terms of quality and completeness. The STRING database ( aims to provide a critical assessment and integration of protein–protein interactions, including direct (physical) as well as indirect (functional) associations. The new version 10.0 of STRING covers more than 2000 organisms, which has necessitated novel, scalable algorithms for transferring interaction information between organisms. For this purpose, we have introduced hierarchical and self-consistent orthology annotations for all interacting proteins, grouping the proteins into families at various levels of phylogenetic resolution. Further improvements in version 10.0 include a completely redesigned prediction pipeline for inferring protein–protein associations from co-expression data, an API interface for the R computing environment and improved statistical analysis for enrichment tests in user-provided networks.
  3. 1

GDB error

  1. “PC register is not available” (“SuspendThread failed. (winerr 5)”)
    MS Windows
    GDB may fail with this message. This is due to it .If you get this issue you may want to downgrade to GDB 7.2.
  2. 1
  3. 1

Ubuntu Desktop Entry



[Desktop Entry]
Name=TopCoder Arena
Exec=javaws /path_to_thefile/ContestAppletProd.jnlp

Gnome/Unity  Menu editor: menulibre

Linux – Installation of Oracle Jave JDK/JRE

  1.  check OS architecture: 32-bit or 64-bit?

    file /lib/systemd/systemd

  2. check if we have Java installed on our OS

    java -version

    if we should uninstall OpenJDK if we have one installed on our OS.

    sudo apt-get purge openjdk-\*

  3. create a directory to hold our Oracle Java JDK binaries.

    sudo mkdir -p /usr/local/oracle-java

  4. Download Oracle Java JDK for linux
  5. copy the file we download to the directory we create

    sudo cp -r jdk-8u20-linux-i586.tar.gz /usr/local/oracle-java/
    cd /usr/local/oracle-java/

  6. unpack the compressed file we download

    sudo tar xvzf jdk-8u91-linux-x64.tar.gz

  7. Edit the system PATH file /etc/profile and add the following system variables to your system path.

    sudo vim /etc/profile

    then add the following lines below to the end of the file profile (finally save and exit):

    export JAVA_HOME
    export PATH

  8. Inform our OS where our Oracle Java JDK is located.

    sudo update-alternatives –install “/usr/bin/java” “java” “/usr/local/oracle-java/jdk1.8.0_91/bin/java” 1
    sudo update-alternatives –install “/usr/bin/javac” “javac” “/usr/local/oracle-java/jdk1.8.0_91/bin/javac” 1
    sudo update-alternatives –install “/usr/bin/javaws” “javaws” “/usr/local/oracle-java/jdk1.8.0_91/bin/javaws” 1

  9. Inform our OS that Oracle Java JDK must be the default Java.

    sudo update-alternatives –set java /usr/local/oracle-java/jdk1.8.0_91/bin/java
    sudo update-alternatives –set javac /usr/local/oracle-java/jdk1.8.0_91/bin/javac
    sudo update-alternatives –set javaws /usr/local/oracle-java/jdk1.8.0_91/bin/javaws

  10. Reload our system wide PATH /etc/profile

    source /etc/profile

  11. test if we hava Java installed

    java -version
    javac -version

  12. Successfully!


readable? writable? executable?
7 1 1 1
6 1 1 0
5 1 0 1
4 1 0 0
3 0 1 1
2 0 1 0
1 0 0 1
0 0 0 0

4=readable 2=writable 1=executable
1=yes 0=no

Often used:



Ubuntu 常见问题

  1. txt乱码(windows下生成的文本在linux下打开)
    The iconv program reads in text in one encoding and outputs the text in
    another encoding. If no input files are given, or if it is given as a
    dash (-), iconv reads from standard input. If no output file is given,
    iconv writes to standard output.
    iconv [options] [-f from-encoding] [-t to-encoding] [inputfile] > [outputfile]
    iconv -f gb2312 -t utf8 [inputfile] -o [outputfile]
  2. windows下编写的Perl程序不能在Linux下运行
    The Dos2unix package includes utilities “dos2unix” and “unix2dos” to
    convert plain text files in DOS or Mac format to Unix format and vice
    In DOS/Windows text files a line break, also known as newline, is a
    combination of two characters: a Carriage Return (CR) followed by a
    Line Feed (LF). In Unix text files a line break is a single character:
    the Line Feed (LF). In Mac text files, prior to Mac OS X, a line break
    was single Carriage Return (CR) character. Nowadays Mac OS uses Unix
    style (LF) line breaks.
    Besides line breaks Dos2unix can also convert the encoding of files. A
    few DOS code pages can be converted to Unix Latin-1. And Windows
    Unicode (UTF-16) files can be converted to Unix Unicode (UTF-8) files.dos2unix [options] [FILE …] [-n INFILE OUTFILE …]
  3. Network service discovery disabled
    Your current network has a .local domain, which is not recommended and incompatible with the Avahi network service discovery. The service has been disabled.

    sudo vim /etc/default/avahi-daemon

    Make the parameter below from 1 to 0


  4. /boot空间不足:
    1. 确定自己使用的内核编号

    uname -a

    2. 确定自己安装过哪些内核

    sudo dpkg –get-selections | grep linux-

    3. 删除多余内核
    sudo apt-get purge 后面跟上两类文件,一类是“linux-headers”,另一类是“linux-image”,这两者是成对的。当前使用的内核不能删除。
    4. 清理deinstall (这是一条组合命令,先得到标识为deinstall的名称,再purge。)

    dpkg –purge `dpkg –get-selections | grep deinstall | cut -f 1`

    5. 更新grub

    sudo update-grub

  5. 用户A编辑文件file.txt,这时,用户B向file.txt追加输入字符,能够成功输入。不过,具体顺序,有待探究。
  6. 安装最新版的NVIDIA驱动
  7. 修改默认启动的内核
    sudo vim /etc/default/grub
    #GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.10.0-041000-generic"
    sudo update-grub
  8. foobar

How to Write a Peer Review for an Academic Journal: Six Steps from Start to Finish by Tanya Golash-Boza

PhD2Published has several informative posts about writing journal articles, and more recently has featured a post outlining a potentially revolutionary collaborative peer review process for this kind of publishing. Todays post offers an alternative perspective; that of the journal article peer reviewer. Doing peer reviews provides important experience for those writing their own papers and may help writers consider what they should include based on what peer reviewers are looking for.

At some point in your scholarly career, you likely will get asked to review an article for a journal. In this post, I explain how I usually go about doing a peer review. I imagine that each scholar has their own way of doing this, but it might be helpful to talk openly about this task, which we generally complete in isolation.

Step One:  Accept the invitation to peer review. The first step in reviewing a journal article is to accept the invitation. When deciding whether or not to accept, take into consideration three things: 1) Do you have time to do the review by the deadline? 2) Is the article within your area of expertise? 3) Are you sure you will complete the review by the deadline? Once you accept the invitation, set aside some time in your schedule to read the article and write the review.

Step Two: Read the article. I usually read the article with a pen in hand so that I can write my thoughts in the margins as I read. As I read, I underline parts of the article that seem important, write down any questions I have, and correct any mistakes I notice.

Step Three: Write a brief summary of the article and its contribution. When I am doing a peer review, I sometimes do it all in one sitting – which will take me about two hours – or I read it one day and write it the next. Often, I prefer to do the latter to give myself some time to think about the article and to process my thoughts. When writing a draft of the review, the first thing I do is summarize the article as best I can in three to four sentences. If I think favorably of the article and believe it should be published, I often will write a longer summary, and highlight the strengths of the article. Remember that even if you don’t have any (or very many) criticisms, you still need to write a review. Your critique and accolades may help convince the editor of the importance of the article. As you write up this summary, take into consideration the suitability of the article for the journal. If you are reviewing for the top journal in your field, for example, an article simply being factually correct and having a sound analysis is not enough for it to be published in that journal. Instead, it would need to change the way we think about some aspect of your field.

Step Four: Write out your major criticisms of the article. When doing a peer review, I usually begin with the larger issues and end with minutiae. Here are some major areas of criticism to consider:

–          Is the article well-organized?

–          Does the article contain all of the components you would expect (Introduction, Methods, Theory, Analysis, etc)?

–          Are the sections well-developed?

–          Does the author do a good job of synthesizing the literature?

–          Does the author answer the questions he/she sets out to answer?

–          Is the methodology clearly explained?

–          Does the theory connect to the data?

–          Is the article well-written and easy to understand?

–          Are you convinced by the author’s results? Why or why not?

Step Five: Write out any minor criticisms of the article.  Once you have laid out the pros and cons of the article, it is perfectly acceptable (and often welcome) for you to point out that the table on page 3 is mislabeled, that the author wrote “compliment” instead of “complement” on page 7, or other minutiae. Correcting those minor errors will make the author’s paper look more professional if it goes out for another peer review, and certainly will have to be corrected before being accepted for publication.

Step Six: Review. Go over your review and make sure that it makes sense and that you are communicating your critiques and suggestions in as helpful a way as possible.

Finally, I will say that, when writing a review, be mindful that you are critiquing the article in question – not the author. Thus, make sure your critiques are constructive. For example, it is not appropriate to write: “The author clearly has not read any Foucault.” Instead, say: “The analysis of Foucault is not as developed as I would expect to see in an academic journal article.” Also, be careful not to write: “The author is a poor writer.” Instead, you can say: “This article would benefit from a close editing. I found it difficult to follow the author’s argument due to the many stylistic and grammatical errors.” Although you are an anonymous reviewer, the Editor knows who you are, and it never looks good when you make personal attacks on others. So, in addition to being nice, it is in your best interest.

RNA-seq – wikipedia

RNA-seq (RNA sequencing), also called whole transcriptome shotgun sequencing(WTSS), uses next-generation sequencing (NGS) to reveal the presence and quantity of RNA in a biological sample at a given moment in time.

RNA-Seq is used to analyze the continually changing cellular transcriptome. Specifically, RNA-Seq facilitates the ability to look at alternative gene spliced transcripts, post-transcriptional modifications, gene fusion, mutations/SNPs and changes in gene expression. In addition to mRNA transcripts, RNA-Seq can look at different populations of RNA to include total RNA, small RNA, such as miRNA, tRNA, and ribosomal profiling. RNA-Seq can also be used to determine exon/intron boundaries and verify or amend previously annotated 5’ and 3’ gene boundaries.

Prior to RNA-Seq, gene expression studies were done with hybridization-based microarrays. Issues with microarrays include cross-hybridization artifacts, poor quantification of lowly and highly expressed genes, and the knowledge of the sequence. Because of these technical issues, transcriptomics transitioned to sequencing-based methods. These progressed from Sanger sequencing of Expressed Sequence Tag libraries, to chemical tag-based methods (e.g., serial analysis of gene expression), and finally to the current technology, NGS of cDNA (notably RNA-Seq).

Molecular Evolution: A Statistical Approach

Ziheng Yang’s new book, “Molecular Evolution: A Statistical Approach” is on sale at Amazon. The cover photo, a western fence lizard (Sceloporus occidentalis), was taken by Charles Linkem during our collecting trip to Oregon last summer. Some people think that the lizard is beautiful, while others (Ziheng included) think that it looks terrifying. The book covers the statistical and computational foundations of molecular evolution, phylogenetics and phylogeography. It provides explanations and examples using real data analysis. The data and computer programs are available on the web, and course materials are provided at the end of each chapter. This will make it easy to use the book for teaching, perhaps in a graduate seminar course.





第一部分:数据科学中的数学基础 35小时
第1课 基本概念、函数
第2课 序列极限
第3课 函数极限与连续函数
第4课 导数与微分
第5课 微分中值定理
第6课 泰勒公式
第7课 积分
第8课 多元函数微分学(上)
第9课 多元函数微分学(下)
第10课 线性方程组和行列式
第11课 矩阵运算
第12课 矩阵的相似与合同
第13课 矩阵分解
第14课 最优化问题
第15课 使用导数的最优化方法
第16课 对偶理论
第17课 二次规划

第二部分:数据科学中的概率论 28小时
随机变量及其分布,离散型随机变量,连续型随机变量, 随机变量的联合分布和边际分布, 随机变量的条件分布, 随机变量的独立性,随机变量的函数及其分布,共轭分布,次序统计量
期望与方差,协方差与相关系数,条件期望及预测, 熵与不确定性,特征函数

第三部分:数据科学中的统计基础 26小时



















Ensemble and Entrez


The Ensembl project was started in 1999, some years before the draft human genome was completed. Even at that early stage it was clear that manual annotation of 3 billion base pairs of sequence would not be able to offer researchers timely access to the latest data. The goal of Ensembl was therefore to automatically annotate the genome, integrate this annotation with other available biological data and make all this publicly available via the web.


Single search engine of NCBI. Entrez is not a gene database. It’s the name of the NCBI infrastructure which provides access to all of the NCBI databases. One of those is the Gene database, so you would say “Entrez Gene”.

there is not necessarily an one-to-one mapping between Entrez Gene and Ensembl Gene IDs.


ubuntu software

  1. Fcitx: a input method framework with extension support, which provides an interface for entering characters of different scripts in applications using a variety of mapping systems.
    sudo apt-get install fcitx-table-wbpy
  2. baobab,synaptic: Disk Usage Analyzer
    sudo apt-get install baobab synaptic
  3. upgrade ubuntu:
    sudo update - manager -c -d
  4. Install Oracle Java:
  5. wine1.8
    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get install wine1.8
  6. 做图工具:Kolourpaint
    sudo apt-get install kolourpaint4
  7. Process Viewer:Htop
    an interactive process viewer for Unix systems.

    sudo apt-get install htop
  8. Indicator-SysMonitor
    sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
    sudo apt-get update
    sudo apt-get install indicator-sysmonitor
  9. Move launcher to bottom
    gsettings set com.canonical.Unity.Launcher launcher-position Bottom
  10. foobar

DAVID new version: 6.8

DAVID 6.8 (current beta release) May. 2016

— The DAVID Knowledgebase completely rebuilt
— Entrez Gene integrated as the central identifier to allow for more timely updates
while still incorporating Ensembl and Uniprot as integral data sources
— New GO category (GO Direct) provides GO mappings directly annotated by the source database (no parent terms included)
— New annotation categories
— New list identifier systems added for list uploading and conversion
— A few bugs fixed