上一页 1 ··· 193 194 195 196 197 198 199 200 201 ··· 324 下一页
摘要: #假设文件名是:fortest.gtf declare -i fileLines fileLines=`sed -n '$=' fortest.gtf` echo $fileLines # linesCount=0let linesCount=($fileLines/20+1)*2 阅读全文
posted @ 2013-11-26 11:41 emanlee 阅读(366) 评论(0) 推荐(0) 编辑
摘要: python中 getopt 模块 (import getopt),该模块是专门用来处理命令行参数的函数getopt(args, shortopts, longopts = [])参数args一般是sys.argv[1:]shortopts 短格式 (-) longopts 长格式(--) 命令行中... 阅读全文
posted @ 2013-11-20 21:56 emanlee 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 安装和使用screen安装screenyum可以在线安装screenyum install screen使用screen1、创建screen会话;进入Xshell,运行以下:screen 2、离开screen,但是保留里面的程序继续运行,操作是Ctrl+a d ,让程序在后台运行-S 指定scr... 阅读全文
posted @ 2013-11-15 08:26 emanlee 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: 输出到文件log中,并在屏幕上显示:#ls >&1 | tee log追加输出到文件log中,并在屏幕上显示:#ls >&1 | tee -a log 阅读全文
posted @ 2013-11-13 11:29 emanlee 阅读(1584) 评论(0) 推荐(0) 编辑
摘要: 使用 fuser xxx 命令查看xxx文件被哪个进程占用,然后关闭该进程,解决问题。# fuser xxxxxx: 2878# kill -9 2878注:xxx是文件名;2878是进程号;kill -9 2878 强制终止该进程;必须在root权限下才可用fuser。 阅读全文
posted @ 2013-11-12 15:39 emanlee 阅读(28783) 评论(0) 推荐(1) 编辑
摘要: 获得每行的最后一个逗号后边的内容.例如:KIAA1967 KIAA1967, xxxxSECIS biding proin 2-like, SECISBP2L, yyyy 1234ankyrin repat and KH doain, conaining ,ANKHD1, zzzzz要得到:xxxx... 阅读全文
posted @ 2013-10-25 08:26 emanlee 阅读(2284) 评论(0) 推荐(1) 编辑
摘要: strtok() 字符串分割函数strstr() 字符串查找函数范例#include main(){ char * s = "012345678901234567890123456789"; char *p; p = strstr(s, "901"); printf("%s\n", p)... 阅读全文
posted @ 2013-10-06 11:36 emanlee 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 命令行: ~/sratoolkit/sratoolkit.2.3.2/bin/fastq-dump --split-spot --gzip xxxx.sra 报错信息: fastq-dump.2.3.2 err: name not found while resolving tree within 阅读全文
posted @ 2013-10-03 11:07 emanlee 阅读(9056) 评论(0) 推荐(0) 编辑
摘要: tophat输出结果junction.bedBED formatBED format provides a flexible way to define the data lines that are displayed in an annotation track. BED lines have ... 阅读全文
posted @ 2013-10-03 08:56 emanlee 阅读(3868) 评论(1) 推荐(0) 编辑
摘要: Red hat Linux(Centos 5/6)安装R语言1 wget http://cran.rstudio.com/src/base/R-3/R-3.0.2.tar.gz2 tar xzvf R-3.0.2.tar.gz3 cd R-3.0.24 ./configure 5 make6 mak... 阅读全文
posted @ 2013-10-02 20:52 emanlee 阅读(1394) 评论(0) 推荐(0) 编辑
上一页 1 ··· 193 194 195 196 197 198 199 200 201 ··· 324 下一页