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 sche...1005 days ago
1005 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 pac...1005 days ago
Inreractive SCP / File transfer !
#!/bin/bash #next line prints hearer of script echo "Interactive Script to Copy File (files) / Directory using scp" #next line check if entered value is not null, and i...1005 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...998 days ago
Downloading mmseqs databases !
# mmseqs databases Usage: mmseqs databases [options] Name Type Taxonomy Url - UniRef100 Aminoacid yes https://www.uniprot....997 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.fa983 days ago
974 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 apache2974 days ago
950 days ago