2905 days ago
2862 days ago
2118 days ago
2117 days ago
2066 days ago
Installing pb-assembly on Linux !
...R/3.1.2-goolf-1.6.10 gromacs/double/4.5.5 R/3.2.3-goolf-1.4.10 gromacs/single/4.5.5...2025 days ago
2017 days ago
Perl script to delete the adjacent repeats !
...to ignore case when comparing, you could use: $string =~ s/(.)\1/$1/gi #And finally, if you wanted to trim any number of duplicates down to a single letter, this would work: $...1541 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 wh...1511 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.fasta1391 days ago