Perl subroutine to creating kmer !
sub k_mers { my ($sequence, $k) = @_; my $len = length($sequence); my @result = (); for (my $i = 0; $i1619 days ago
Perl script to remove duplicated lines !
#!/usr/bin/perl use strict; use warnings; { $_ = ; my $next_line; while( $next_line = ) { #print "current line: $_ -- next line: $next_line$/";...1612 days ago
1611 days ago
1609 days ago
Bash command to install bwa, samtools, picard !
(base) [wsu29@bladeamd-2 tmp]$ conda install bwa Collecting p...| h7b6447c_3 3.7 MB perl-5.26.2 |...bioconda/linux-64::bwa-0.7.17-hed695b0_7 perl pkgs/main/linux...1607 days ago
Perl script to delete the adjacent repeats !
/usr/bin/perl #Mostly the interview question for bioinfomatician ! #Write a code to delete the adjacent repeated character .... $string='ATTTTTTGGC'; # This should...1603 days ago
1593 days ago
1578 days ago
1566 days ago
Installing docker for Bioinformatics on Ubuntu !
jit@jit-HP-Pro-3335-MT:~/Downloads$ sudo apt-get remove docker docker-engine docker.io containerd runc Reading package lists... Done Building dependency tree...1565 days ago