2017年4月18日

linux: How to Check the glibc (GNU libc) Version

摘要: ldd --version ldd (GNU libc) 2.17 Copyright (C) 2012 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There 阅读全文

posted @ 2017-04-18 10:37 sophie_sisi 阅读(200) 评论(0) 推荐(0) 编辑

2016年9月21日

construct a heatmap with matrix by HeatMap

摘要: HMobj = HeatMap(alldata,'RowLabels',{'JB1','JB2','JB3','JB4','JB5','JB6','JB7','JB8','JB9'}) alldata is a 9*253 matrix. Data range is [0 680]. 如何修改col 阅读全文

posted @ 2016-09-21 11:38 sophie_sisi 阅读(179) 评论(0) 推荐(0) 编辑

2016年7月15日

gene ontolog related file format

摘要: gene ontology annotation file format: http://geneontology.org/page/go-annotation-file-formats DB column1 from GAF format must be from Information abou 阅读全文

posted @ 2016-07-15 10:25 sophie_sisi 阅读(153) 评论(0) 推荐(0) 编辑

2016年7月7日

perl 生成SVG 的xml 文件

摘要: use SVG; # new SVG my $svg = SVG->new( width => 4000, height => 5000, ); # text object , 关键是字体类型,起先只用 ‘font’ => 'Arial',网页显示的字体看起来不是Arial,不知道为啥呢。总之设置成 阅读全文

posted @ 2016-07-07 14:10 sophie_sisi 阅读(520) 评论(0) 推荐(0) 编辑

Linux 怎样解压 tar.xz

摘要: 第一次碰到这样的压缩扩展名(1.tar.xz) 解压: step1:xz -d 1.tar.xz step2: tar -xvf 1.tar 阅读全文

posted @ 2016-07-07 13:51 sophie_sisi 阅读(112) 评论(0) 推荐(0) 编辑

2016年6月23日

perl 安装package

摘要: on Windows, cmd 命令提示符下 直接写下面语句 就可以把所需module 都自动装上,(之前总是下载一堆包,一个一个装) cpan HTML::TableExtract 阅读全文

posted @ 2016-06-23 16:50 sophie_sisi 阅读(396) 评论(0) 推荐(0) 编辑

2016年6月1日

perl 去掉文件名前面的路径

摘要: 方法一: $filename="/home/cc/test.txt"; $filename =~ s#.*/##; #此时filename 就是 test.txt 方法二:(来自perl语言入门Page:207) use File::Basename; my $name = "usr/local/b 阅读全文

posted @ 2016-06-01 14:50 sophie_sisi 阅读(548) 评论(0) 推荐(0) 编辑

2016年5月5日

perl make list elements uniqe

摘要: use strict;use List::MoreUtils ':all'; # 这个包应该在perl 安装时就装了 my @list1 = ('1','1','2','2','3','4','4');my @list2 = uniq @list1; print @list1;print "\n"; 阅读全文

posted @ 2016-05-05 14:12 sophie_sisi 阅读(175) 评论(0) 推荐(0) 编辑

perl finding which package is installed

摘要: In Linux, just click 'perldoc packagename', 如果能打印出pacakge document. 说明已经安装,否则没安装。 e.g. perldoc List::MoreUtils 阅读全文

posted @ 2016-05-05 14:01 sophie_sisi 阅读(196) 评论(0) 推荐(0) 编辑

导航