1010 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 +D982 days ago
Perl script for Smith-Waterman Algorithm
# Smith-Waterman Algorithm # usage statement die "usage: $0 \n" unless @ARGV == 2; # get sequences from command line my ($seq1, $seq2) = @ARGV; # scoring schem...970 days ago
Command line to create blast uniref database !
#The NCBI BLAST+ distribution does not include 'blastpgp', it has been replaced by the 'psiblast' program. The 'blastpgp' program is available in the legacy NCBI BLAST pack...970 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/ https:...963 days ago
Downloading mmseqs databases !
# mmseqs databases Usage: mmseqs databases [options] Name Type Taxonomy Url - UniRef100 Aminoacid yes https://www.uniprot.o...962 days ago
939 days ago
Install Php on Ubuntu / Apache server !
#Installing PHP 7.2 with Apache #If you are using Apache as your web server to install PHP and Apache PHP module run the following command: sudo apt install php libapache2-mod-php #Once the packages are installed restart the Apache service: sudo systemctl restart apache2939 days ago
915 days ago
Bash script to split multifasta file !
#Using awk, we can easily split a file (multi.fa) into chunks of size N (here, N=500), by using the following one-liner: awk 'BEGIN {n=0;} /^>/ {if(n%500==0){file=sprint...843 days ago