Exit Bash Script When Any Command Fails
...t builtin command with the -e option. #1------------------------------------------------------------------------ # exit when any command fails #Putting this at the top of a bas...1550 days ago
Installing docker for Bioinformatics on Ubuntu !
...pt-key add -qq - >/dev/null Warning: apt-key output should not be parsed (stdout...Commands: attach Attach local standard input, output, and error streams t...the container ps List containers pull Pull an image or a r...1543 days ago
Pack a perl program with their dependencies on Ubuntu !
...// (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-1038265148932113", enab...the design, analysis, and interpretation of data for studies in public health and medicine. Bios...1541 days ago
Commands to install conda in Ubuntu !
...THE IMPLIED WA RRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO...Secure Sockets Layer (SSL) protocols as well as a full-stren gth general purpose cryptography library....1541 days ago
1539 days ago
Python script to check sequence length in multifasta file
#!/usr/bin/python from Bio import SeqIO import sys cmdargs = str(sys.argv) for seq_record in SeqIO.parse(str(sys.argv[1]), "fasta"): output_line = '%s\t%i' % \ (seq_record.id, len(seq_record)) print(output_line)1245 days ago
1472 days ago
1432 days ago
Sequence Ids conversion files !
...://ftp.ncbi.nlm.nih.gov/gene/DATA/gene2accession.gz ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/gene2ensembl.gz ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/gene2pubmed.gz ftp://ftp.ncbi.nlm.ni...1432 days ago
Script to extract the cluster detail !
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic $ cat /proc/cpuinfo | grep -i 'model name' | head -n 1 model name : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz1408 days ago