上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: /** * Created by similarface on 16/8/16. */ import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hb... 阅读全文
posted @ 2016-08-18 11:15 similarface 阅读(1201) 评论(0) 推荐(0) 编辑
摘要: /** * Created by similarface on 16/8/17. */ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableName; import org.apac... 阅读全文
posted @ 2016-08-17 13:38 similarface 阅读(4482) 评论(0) 推荐(1) 编辑
摘要: /** * Created by similarface on 16/8/16. */ import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hb... 阅读全文
posted @ 2016-08-17 10:47 similarface 阅读(13306) 评论(0) 推荐(0) 编辑
摘要: 有时候ftp的文件太大了 容易断掉 使用shell下载 阅读全文
posted @ 2016-08-08 11:59 similarface 阅读(230) 评论(0) 推荐(0) 编辑
摘要: __author__ = 'similarface' from collections import defaultdict import glob ip = r"?P[\d.]*" date = r"?P\d+" month = r"?P\w+" year = r"?P\d+" log_time = r"?P\S+" method = r"?P\S+" request = r"?P\S+" s... 阅读全文
posted @ 2016-08-08 10:13 similarface 阅读(330) 评论(0) 推荐(0) 编辑
摘要: EP:巧妙地过滤掉重复的日期 阅读全文
posted @ 2016-08-04 15:00 similarface 阅读(246) 评论(0) 推荐(0) 编辑
摘要: def getSnpWeightDict(): ''' 获取权重字典 算法:F=max(v) F标示某个snp最大出现的频次 for i in I put:w(i)=10-9lnf(i)/ln(F) :param re: :param maxcount: :return: ''' re=defaul 阅读全文
posted @ 2016-07-27 17:14 similarface 阅读(149) 评论(0) 推荐(0) 编辑
摘要: $x表示xpath标签选择器 #a元素以href属性以/w3c/index.asp开头的 $x('//a[starts-with(@href,"/w3c/index.asp")]') #选取 html 元素的所有子节点。 $x('html') #选取 根元素html 元素的所有子节点。 $x('/h 阅读全文
posted @ 2016-07-27 11:08 similarface 阅读(227) 评论(0) 推荐(0) 编辑
摘要: find ./ -name *.Annovar.hg19_multianno.vcf.gz |xargs -i cp {} ./bak/ find `pwd` -name "*.depth"|awk '{print "echo -e \""substr($1,31,13)" \\c\"; cat " 阅读全文
posted @ 2016-07-21 14:30 similarface 阅读(175) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 __author__ = 'hdfs' from math import sqrt users = { "Angelica": {"Blues Traveler": 3.5, "Broken Bells": 2.0, "Norah Jones": 4.5, "Phoenix": 5.0, "Slightly Stoopid... 阅读全文
posted @ 2016-07-03 08:33 similarface 阅读(223) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页