2093 days ago
Perl script to find palindromic pattern !
#!/usr/bin/perl use strict; use warnings; use strict; my %invert; @invert{ qw[ A C G T ] } = qw[ T G C A ];..., substr( $in, $p1-$pals, ($pals+1)*2 ), $p1-$pals; } } __DATA__ AGA...2093 days ago
2069 days ago
2069 days ago
2028 days ago
1998 days ago
CollectGcBiasMetrics.jar will generate a GC bias plot for each contig
samtools index aln-pe.mapped.sorted.bam for i in $(samtools view -H aln-pe.mapped.sorted.bam | awk -F"\t" '/@...pe.mapped.sorted.$i.bam; java -Xmx2g -jar $(which CollectGcBiasMetrics.jar) R=data/Cdiff0...1998 days ago
1547 days ago
Perl script to remove duplicated lines !
#!/usr/bin/perl use strict; use warnings; { $_ = ; my $next_line; while( $next_line = ) {...ine; } continue { $_ = $next_line; } print $_ if eof; } __DATA__ app...1554 days ago
Bash script to download SRA file !
#We can use the sratoolkit to directly pull the sequence data (in paired FASTQ format) from the archive. fas...he SRA toolkit. It allows directly downloading data from a particular sequencing...q-dump --split-files SRR1770413 #SRA stores data in a p...1553 days ago