Install ATOM editor on Elemantory OS / Ubuntu
...oads/$ apm apm - Atom Package Manager powered by https://atom.io Usage: apm where is one of: ci, clean, config, dedupe, deinstall, delete, dev, develop, disable, docs,...1177 days ago
Extract ids from file with perl
.../\t/, $_; $idHash{$cells[0]}=$.; push @allIds, $cells[0]; } #Delete the last id for secutiry -- might does not finish all steps delete $hash{$allIds[-1]}; next if...2609 days ago
2127 days ago
2075 days ago
Backward Elimination with Python
...or_OLS.pvalues[j].astype(float) == maxVar): x = np.delete(x, j, 1) regressor_OLS.s...): temp[:,j] = x[:, j] x = np.delete(x, j, 1)...1956 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 converte...1551 days ago
1515 days ago
Perl script to check perl modules and download NCBI, BUSCO, Taonomy, Silva databases !
...or a in nt.*.tar.gz; do tar xzf $a; done #Out of the directory cd .. else echo -e "exists \t blastDB, If not installed sucessfully, delete the folder and re-run it" fi...1161 days ago
Onliner to convert multi line fasta to single line fasta !
#Oneliner to convert awk '/^>/ {printf("\n%s\n",$0);next; } { printf("%s",$0);} END {printf("\n");}' < file.fa > fileres.fa #Then delete the first empty line tail -n +2 fileres.fa > fileout.fa929 days ago