Bash commandline to install Anaconda !
#The line begins with $ are the commands $ mkdir tmp $ cd tmp/ $ curl -O https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh % Total % Rec...1588 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 shoul...1583 days ago
1557 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----------------------------------------------------------------------...1553 days ago
Pack a perl program with their dependencies on Ubuntu !
#Follow steps to create your own executable ./web jit@jit-HP-Pro-3335-MT:~/Downloads/autoConTAMPR/bin$ sudo apt install libpar-packer-perl Reading package lists... Do...1544 days ago
Commands to install conda in Ubuntu !
jit@jit-HP-Pro-3335-MT:~/Downloads$ mkdir jittmp jit@jit-HP-Pro-3335-MT:~/Downloads$ cd jittmp/ jit@jit-HP-Pro-3335-MT:~/Downloads/jittmp$ curl -O https://repo.anacon...1544 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.fasta1434 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...1390 days ago
Steps to install Conda on Linux !
Download the installer: Miniconda installer for Linux. ( https://docs.conda.io/en/latest/miniconda.html#linux-installers ) Anaconda installer for Linux. ( https://www...1215 days ago
Perl script to check perl modules and download NCBI, BUSCO, Taonomy, Silva databases !
use strict; use warnings; use ExtUtils::Installed; use LWP::Simple; use Archive::Extract; # # First, check if all the required modules have been installed in the sy...1193 days ago