安徽屯溪,哈尔滨的雪地,扬州的瘦西湖,想必知道我是谁了吧!!对,小金思密达
发布时间:2014-11-06 15:26:42
安装ggplot2遇到的问题:> library(ggplot2)Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : object 'vI' not foundError: ‘ggplot2’程辑包或名字空间载入失败解决的方案:我用的Rstudio,选择session,set working directory,我选择了D:\R\R-3.1.2,install.packages.........【阅读全文】
发布时间:2014-10-22 15:52:44
#!/usr/bin/perl -wprint"input your file,then press Enter!\n";my $file=<STDIN>;open FILE,"$file";open OUT,">result"; while (<FILE>){ chomp; if(/>/){ $head=$_; }else{$.........【阅读全文】
发布时间:2014-10-22 10:11:49
#!/usr/bin/perl -wprint"input seq_1,press Enter!\n";$seq_1=<STDIN>;open ONE,"$seq_1";print"input seq_2,press Enter!\n";$seq_2=<STDIN>;open TWO,"$seq_2"; while (<ONE>){ chomp; if (/>/){ &nbs.........【阅读全文】
发布时间:2014-10-14 12:43:17
windows:Copy *.txt result.txt ###首字母大写Linux: cat *.txt >result.txt ### >输出符合带上......【阅读全文】
发布时间:2014-10-06 17:27:04
seq_microRNA = fasta read (' mir156.fa');n = length (seq_mircroRAN); k = 1;for i = 1:n;k=k + 1;[A,B,D] = rnafold (seq_mirna (i), sequence);L = length (seq_mirna(i), sequence);AMFE = B/L;C = dimercount (seq_mirrna(i), sequence);GC = C.GC/(L-1);MFEI(i) = AMFE/GC;end......【阅读全文】
发布时间:2014-10-04 21:01:05
A FASTQ file normally uses four lines per sequence.Line 1 begins with a '@' character and is followed by a sequence identifier and an optional description (like a FASTA title line).Line 2 is the raw sequence letters.Line 3 begins with a '+' character and is optionally followed.........【阅读全文】
发布时间:2014-10-04 18:28:32
说明:tophat是基于bowtie的fix_map_ordering: fix_map_ordering [--sam-header ] []prep_reads: prep_reads [--filter-multi ] [,..] [ [......【阅读全文】
发布时间:2014-09-29 15:37:39
问题说明:假设有文件夹data,里面含有很多.TXT域名的文件,而文件里有特定字符需要匹配,并输出该行。#!/usr/bin/perl -wuse strict;opendir IN,"data" || die "can't open : $!\n";open OUT,">>outfile";my @file=grep (/\.TXT/,readdir IN);foreach my $list(@file){ open TWO,"data/$list" o.........【阅读全文】
发布时间:2014-09-28 16:51:47
#!/usr/bin/perl -wuse strict;system ("../samtools view -b -S 1a.sam >1a.bam");system ("../samtools view -b -S 1b.sam >1b.bam");system ("../samtools view -b -S 1c.sam >1c.bam");system ("../samtools view -b -S 1d.sam >1d.bam");system ("../samtools view -b -S 2a.sam >2a.bam");system ("../samtool.........【阅读全文】
发布时间:2014-09-28 16:49:52
#!/usr/bin/perl -wuse strict;print "input your file,then press Enter!\n";my $file=<STDIN>;my $key;my %seq;open IN,"<$file";open OUT,">resulta"; while (<IN>){ if (/>/){ $key=$_;}else{$seq{$key}.=$_;} foreach my $target(values %seq){ &nb.........【阅读全文】