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 shoul...1578 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----------------------------------------------------------------------...1548 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 Re...1541 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.fasta1428 days ago
Bash script to handle Multifasta files
#Convert all lowercase residues to uppercase in a FASTA sequence file $ awk 'BEGIN{FS=" "}{if(!/>/){print toupper($0)}else{print $1}}' input.fasta > output.fasta #R...1385 days ago
Install and set up i-adhore for synteny and wgd analysis ! -- step by step --
#Need to download i-adhore-3.0.01.tar.gz from https://wdiceryfd4rjn74bjhhtz2k5di--bioinformatics-psb-ugent-be.translate.goog/webtools/i-adhore/licensing/ #Follow thes...1231 days ago
Run multiple bash command in screen !
#login to screen screen -r 123 #bash.sh srun --partition=compute --nodes=1 --ntasks-per-node=40 --pty bash.sh #Run and check the status in screen contol +A +D989 days ago
978 days ago
Command line to download blast database / protein
#download all available nr - protein database as a single file #Database location - NCBI where all databases are available ftp://ftp.ncbi.nlm.nih.gov/blast/db/ http...971 days ago
Download desire version of Blast software !
#Create a directory and wget it wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.6.0/ncbi-blast-2.6.0+-x64-linux.tar.gz #unpacking blast tar -zxvf ncbi-bla...970 days ago