会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天使不设防
学习不会让你变得全知全能 但能让你变得不再害怕未知
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
下一页
2020年9月21日
C语言计算fastq文件GC含量
摘要: C语言小练习:计算非压缩fastq格式的GC含量 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #define buff 1024 5 6 typedef unsigned long long int u_llo
阅读全文
posted @ 2020-09-21 14:38 un-define
阅读(324)
评论(0)
推荐(0)
2020年8月12日
群体历史动态分析软件大汇总
摘要: http://methodspopgen.com/methods-to-infer-populations-history/
阅读全文
posted @ 2020-08-12 17:07 un-define
阅读(481)
评论(0)
推荐(0)
2020年7月20日
GO 语言使用copy 拷贝切片的问题
摘要: 使用copy,直接改变原片的值,而不是先创建一个副本。
阅读全文
posted @ 2020-07-20 22:18 un-define
阅读(293)
评论(0)
推荐(0)
2020年6月3日
C语言按行读入文件
摘要: getline() 函数无论一行多长,动态分配内存读入行 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 int main(int argc,const char *argv[]) 6 { 7 FILE *fp
阅读全文
posted @ 2020-06-03 10:47 un-define
阅读(1787)
评论(0)
推荐(0)
2020年4月14日
ggplot 局部放大
摘要: 需要安装包:ggforce,下面以R自带数据做局部放大演示。 require(ggplot2) require(ggforce) require(reshape2) data(CO2) co2<-melt(CO2,id.vars=c("Plant","Type","Treatment"),varia
阅读全文
posted @ 2020-04-14 23:22 un-define
阅读(1413)
评论(0)
推荐(0)
2020年4月11日
R语言hist重叠图作法
摘要: set.seed(1) h1<-hist(rnorm(1000,100,5)) h2<-hist(rnorm(1000,99,5)) plot(h2,col=rgb(255,0,0,50,maxColorValue =255),border = NA) plot(h1,col=rgb(225,225
阅读全文
posted @ 2020-04-11 20:32 un-define
阅读(1792)
评论(0)
推荐(0)
2020年3月24日
illumina SNP 芯片转基因型矩阵
摘要: 一、芯片数据 此次拿到的illumina芯片数据并不是原始的数据,已经经过GenomeStudio软件处理成了finalreport文件,格式如下: 之前没处理过芯片数据,对于这种编码模式(Forward,top AB)的基因型数据很疑惑,查了很多资料,收效甚微。看过建明大神对芯片这块儿的介绍,发现
阅读全文
posted @ 2020-03-24 17:27 un-define
阅读(2078)
评论(5)
推荐(2)
2020年3月17日
Shell 变量嵌套
摘要: 实现:eval 1 a="indv1" 2 indv1="Sus1" 3 4 eval tmp='$'$a 5 echo $tmp //这里 echo 返回值为Sus1
阅读全文
posted @ 2020-03-17 13:30 un-define
阅读(1425)
评论(0)
推荐(0)
2020年1月8日
基因组处理
摘要: 去除基因组序列中的未定位的scaffold、Contig序列和线粒体序,主要针对NCBI提供refseq基因组序列,组装到染色体级别的物种基本都通用。将所有碱基统一成大写字母,并计算每条染色体长度,每80个字符换行。处理脚本如下: 1 use strict; 2 open A,"$ARGV[0]"; 3 open B,">$ARGV[1]"; 4 open C,">$ARGV[2]...
阅读全文
posted @ 2020-01-08 10:02 un-define
阅读(419)
评论(0)
推荐(0)
2019年12月28日
perl 多fasta文件匹配,并提取匹配文件第一条序列
摘要: 目标如题,有多个fasta文件和一个文件名列表,将文件名列表中包含的文件匹配出来并提取第一条序列合并成一个fa文件。这个采用perl实现,用法和代码如下: 1 #!/usr/bin/perl -w 2 use strict; 3 4 sub usage{ 5 die "usage:perl $0 \n",unless(@ARGV==3); 6 } 7 usage(); 8 ...
阅读全文
posted @ 2019-12-28 20:59 un-define
阅读(787)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
下一页
公告