Plot the density of genes in R
#column1 = chromosome name and column2 = start position of the gene # check if ggplot2 is installed, if so, load it, # if not, install and load it if("ggplot2" %in%...2281 days ago
2123 days ago
2072 days ago
Installing pb-assembly on Linux !
[jnarayan@hmem00 ~]$ module avail -------------------------------------------------------- /usr/share/Modules...bcerf/1.5-foss-2016b xcb-util-image/0.4....2031 days ago
Installing Platypus on Ubuntu !
(py27) ➜ Tools git:(master) ✗ git clone https://github.com/andyrimme...ntu1_amd64.deb ... Unpacking python3-dev (3.6.5-3ubuntu1) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-uti...2016 days ago
1548 days ago
Find and replace in multifasta or fasta header with perl onliner
You have a fasta file and you want to replace: "|" You are told to replace that by "_" perl -i -p -e "s/\|/_/g" genome.fasta -i = inplace editing -p = loop over lines and print each line (after processing) -e = command line script1612 days ago
1550 days ago
Bash script to download SRA file !
#We can use the sratoolkit to directly pull the sequence data (in paired FASTQ form...any downstream tools, so it's necessary to put things into FASTQ for further processing. The --split-files part of th...1556 days ago
Bash commandline to install Anaconda !
#The line begins with $ are the commands $ mkdir tmp $ cd tmp/ $ curl -O https...... installing: idna-2.8-py37_0 ... installing: imagesize-1.1.0-py37_0 ... install...alling: h5py-2.9.0-py37h7918eee_0 ... installing: imageio-2....1552 days ago