1580 days ago
Correct bash command to zip your vcf file
bgzip -c file.vcf > file.vcf.gz tabix -p vcf file.vcf.gz #More at http://www.htslib.org/doc/tabix.html1579 days ago
Install conda on remote server !
...io/archive/Anaconda3-vers.num-Linux-x86_64.sh $ bash Anaconda3-version.num-Linu...um.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh $ bash Anaconda3-5.0.1-Linux-x86_...nuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh bash Anaconda3-4.2.0-Linux-x86_...1576 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...s #Putting this at the top of a bash script will cause the scri...----------- #Other fancy way, by keeping the track of each co...--------------------- #With a subs exit_on_error() { ex...1576 days ago
1570 days ago
Installing docker for Bioinformatics on Ubuntu !
...: 442e66405c304fa92af8aadaa1d9b31bf4b0ad94 + sudo -E sh -c a...://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq -...mit: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc:...ams to a running container build Build an image from...1569 days ago
Perl script to reads and extract webpage contents !
use 5.010; use strict; use warnings; use WWW::Mechanize; my ($url) = @ARGV; die "Usage: $0 URL\n" if not $url; my $w = WWW::Mechanize->new; $w->get($url); say $w->content; #Run #jit@jit-HP-Pro-3335-MT:~/Downloads/testDock$ perl web.pl https://bioinformaticsonline.com1569 days ago
Pack a perl program with their dependencies on Ubuntu !
...eps to create your own executable ./web jit@jit-HP-Pro-3335-MT:~/Downloads/autoConTAMPR/bin$ sudo apt install libpar-pa...var s = document.getElementsByTagName('script')[0]; s.paren...t to be found at ftp://ftp.ncbi.nih.gov/pub/taxonomy/...1567 days ago
Commands to install conda in Ubuntu !
...019.03-Linux-x86_64.sh 45c851b7497cc14d5ca060064394569f724b67d9b5f98a926ed49b834a6bb73a..., EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Not...ntry, of encryption software. BEFORE using any encryption sof...s-1.0-py37_1 ... installing: bitarray-0.8.3-py37h14c3975_0 ....1567 days ago
Commands to install Statistics::R module in Ubuntu !
$ sudo apt-get install libstatistics-r-perl Reading package lists... Done Building dependency tree...e following NEW packages will be installed: libstatistics-...http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 r-b...l. Preparing to unpack .../libstatistics-r-perl_0.24-1_all.d...1567 days ago