2906 days ago
2864 days ago
2119 days ago
2118 days ago
2067 days ago
Installing pb-assembly on Linux !
[jnarayan@hmem00 ~]$ module avail -------------------------------------------------------- /usr/share/Modules/modulefiles -------------------------------------------------------- Ana...2026 days ago
2018 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 be converted to...1542 days ago
Exit Bash Script When Any Command Fails
This can actually be done with a single line using the set builtin command with the -e option. #1------------------------------------------------------------------------ # exit when a...1512 days ago
Onliner to split the multifasta to singlefasta files !
#Split the multifasta to singlefasta # Multi fasta #Single fasta awk '$0 ~ "^>" { match($1, /^>([^:]+)/, id); filename=id[1]} {print >> filename".fa"}' sequence.fasta1393 days ago