-
Quick and easy submission of R on Sun…
Vyāra Quick and easy submission of R on Sun Grid Engine Easiest way to submit R jobs Here are two scripts and a symlink I created to make it easy as possible to submit R jobs to your Grid: qsub-R If you normally do something along the lines of: user@exec:~$ nohup nice R CMD BATCH toodles.R…
-
When Mendeley bibliography duplicates instead of refreshing Check…
rencontre entre homme salon de provence When Mendeley bibliography duplicates instead of refreshing. Check whether the following option is set in Word 2007: Office button->Word Options->Advanced->General->Confirm file format conversion on open http://feedback.mendeley.com/forums/4941-mendeley-feedback/suggestions/1384943-bug-refresh-bibliography-in-word-creates-duplicat
-
Remove the first line in Perl $first line…
Remove the first line in Perl $first_line = ; while () { do_something(); }
-
Mask repetitive region using BEDtools intersectBed a reads…
Mask repetitive region using BEDtools. intersectBed -a reads.bed -b repeat_region.bed -v
-
Viewing huge text files between specific lines $…
Viewing huge text files; between specific lines $ sed -n 101,110p /var/log/cron 10 Awesome Examples for Viewing Huge Log Files in Unix
-
Subsetting ranged data with its values Example subset…
Subsetting ranged data with its values. Example subset reads according to the width > paired.read.rd RangedData with 997111 rows and 1 value column across 1 space space ranges | strand | 1 chr4 [ 146855, 146898] | + 2 chr4 [1322462, 1322493] | – 3 chr4 [ 135547, 135703] | + 4 chr4 [ 965138,…
-
Exchange current window with the next on Ctrl…
Exchange current window with the next on. Ctrl-w x
-
The Minus File Again following the lead of…
The Minus File Again following the lead of the standard shell utilities, Perl’s open function treats a file whose name is a single minus, “-“, in a special way. If you open minus for reading, it really means to access the standard input. If you open minus for writing, it really means to access the…
-
Finding nearby genes using MySQL query to the…
Finding nearby genes using MySQL query to the public server of USCS. http://genomewiki.ucsc.edu/index.php/Finding_nearby_genes
-
Nice tips of unix command tools 123 398…
Nice tips of unix command tools 123 398 17359 317 19 2909 39 -399 -5789 49 33 200 255 33 -378 sort -n file Sort the file by first column. The -n option ensures numeric (as opposed to lexicographic) sort. sort -k 2 -n file Sort the file by second column. The “-k” option here…