The heart is a bloom #青春 绽放 茂盛 Shoots up through the stony ground #嫩枝 There''s no room No space to rent in this town You''re out of luck And the reaso...
分类:
其他好文 时间:
2014-08-30 09:54:09
阅读次数:
189
鉴于有几位同学在问如何批量转化cds为pep序列,那么本人就把自己的一段代码从另一个脚本中抽取出来。故意写成两个子函数是方面单独使用,比如输入序列不是单纯的fasta格式而是phy格式的,可以对cds2pep函数做一下调整,code子函数则无需改动。
这段代码要求的输入文件格式是fasta。
用法:perl cds2pep.pl input.cds.fa out.pep.fa
#!...
分类:
其他好文 时间:
2014-08-30 08:49:19
阅读次数:
243
学编程吧学java教程之普通方法重载发布了,欢迎通过xuebiancheng8.com来访问先来看什么是普通方法重载呢,先来看一个例子publicclassPerson{Stringusername;intage;publicvoidhello(){System.out.println("Hello");}publicvoidhello(Stringusername){System.out.println("你好"..
分类:
编程语言 时间:
2014-08-30 02:26:19
阅读次数:
274
1.EHCacheInit.java类中写模块的初始化方法 initModule(){ System.out.println("***********"+Util.getNowDateStr()+"初始化模块——开始*************"); List list = new ArrayList...
分类:
其他好文 时间:
2014-08-29 19:58:18
阅读次数:
243
import arcpy
arcpy.CheckOutExtension("spatial")
Sname1="F:\\Modis_16\\1Moasic\\"
Sname2=".1_km_16_days_NDVI.tif"
out = "F:\\Modis_16\\2MVC\\ddwwq"
for i in range(2004,2014):
for j in range(1,13):...
分类:
编程语言 时间:
2014-08-29 14:46:28
阅读次数:
262
publicclassStringCount{
publicstaticvoidmain(String[]args){
Stringss="kkabkkcdkkefkkskk";
Stringkey="kk";
System.out.println(getSubCount_2(ss,key));
}
publicstaticintgetSubCount_2(Stringstr,Stringkey){
intcount=0;
intindex=0;
while((index=str.indexOf(key))..
分类:
编程语言 时间:
2014-08-29 11:15:28
阅读次数:
192
还在微信公众平台上分享心灵鸡汤?你out了!看看下面100个无法抗拒的微信标题素材,你就知道它的杀伤力有多大了,微信图文转化率、打开率、阅读数、点赞数什么的统统不在话下。1、10个为 ____ 节省金钱/时间的技巧2、获得 ____ 最优惠价的秘密3、如何在网上找到最好的 ____ 生意4、__.....
分类:
微信 时间:
2014-08-29 10:43:57
阅读次数:
741
public static bool User_Login(string url, string uname, string password, out string[] userInfo) { string param = "username=" + unam...
分类:
其他好文 时间:
2014-08-29 08:19:27
阅读次数:
288
cd到自己的git本地仓库:撤销本地修改: 如果在本地修改了文件,可以用git check out还原到未更改前的状态添加所有文件:git add .查看状态git status提交到本地缓冲区git commit -am "add a file"提交到远程服务器git push origin br...
分类:
其他好文 时间:
2014-08-28 23:57:46
阅读次数:
380
private void ex01(){int[] nums = { 8, 10, 3, 4, 12, 200 };for (int i = nums.length - 1; i >= 1; i--){System.out.println(nums.length);if (i == 1){Syste...
分类:
其他好文 时间:
2014-08-28 21:07:06
阅读次数:
355