Pack a perl program with their dependencies on Ubuntu !
#Follow steps to create your own executable ./web jit@jit-HP-...talled: libgetopt-argvfile-perl libmodule-scandeps-perl libmo...erse amd64 libmodule-scandeps-perl all 1.24-1 [28.6 kB] Get:3 h...d package libmodule-signature-perl. Preparing to unpack .../2-l...analyzingcodonusage perl sc...1539 days ago
Commands to install Statistics::R module in Ubuntu !
$ sudo apt-get install libstatistics-r-perl Reading package lists... Done Buil...ill be installed: libstatistics-r-perl r-base r-base-html 0 upgrade...ionic/universe amd64 libstatistics-r-perl all 0.24-1 [23.3 kB] Get:3 h...y unselected package libstatistics-r-perl....1539 days ago
1537 days ago
1490 days ago
1243 days ago
Perl One-Liner to print only non-uppercase letters
#Go through file and only print words that do not have any uppercase letters. perl -ne 'print unless m/[A-Z]/' dna.fa > dnaOnlyLowercase.fa #To lowercase everything perl -pne 'tr/[A-Z]/[a-z]/' dnaUpperCase.fa >dnawithoutuppercase.fa;1411 days ago
1469 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.10GHz1406 days ago
1368 days ago
1243 days ago