码迷,mamicode.com
首页 >  
搜索关键字:fa 日记账类别    ( 1481个结果
How to use segemehl
setp 1. 建立索引./segemehl.x -x chr.ctidx -y chr.gaidx -d chr.fa -F [1 or 2]setp 2. 生成sam文件./segemehl.x -i chr.ctidx -j chr.gaidx -d chr.fa -q myreads.fa ...
分类:其他好文   时间:2014-08-23 21:37:01    阅读次数:396
16进制字符串转换为byte数组
/// /// 16进制字符转换为byte数组 /// /// 偶数位,由16进制字符[0-9a-fA-F]组成 /// null为转换失败 private byte[] HexStringToBytes(string hexString) { if (string.IsNullOr...
分类:其他好文   时间:2014-08-23 21:31:41    阅读次数:245
python 中set模块的用法
今天有个简单的小需求:求列表中每个元素的个数,实现的方法有好几种,这里我就说一个用set来实现的。#!/usr/bin/envpython fa=[1,2,3,4,5,3,2,1,1,1,1,1,1,3,3,3,3,3] fb=set(fa) foriinfb: printi,fa.count(i)首先定义了一个列表,然后将列表使用set初始化之后赋值给fb,在..
分类:编程语言   时间:2014-08-22 18:13:49    阅读次数:176
UVA - 11529 Strange Tax Calculation
The people living in large citieshave to pay more tax than people living in rural areas. That is because incities people have many facilities, which rural people don’t have. Also peoplein large and fa...
分类:其他好文   时间:2014-08-22 10:53:36    阅读次数:178
判断一个Activity 判断一个包 是否存在于系统中 的方法
判断一个包是否存在于系统中(来自网络),经过测试,好用: public boolean checkBrowser(String packageName) { if (packageName == null || "".equals(packageName)) return fa...
分类:其他好文   时间:2014-08-22 09:15:25    阅读次数:185
POJ 2481 Cows(树状数组)
Description Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good.  Fa...
分类:其他好文   时间:2014-08-20 14:10:52    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!