More posts like this
-
call peaks of single-end mapping bam files
written by szp770 1Hi, for certain reasons, I need to map double-end sequencing result seperately, for example, I mapped A_R1.fastq to A_R1.bam, and A_R2.fastq to A_R2.bam, now I …
-
how to order values with different classes in R
written by szp770 1Hi, I have a csv file like this: order class value 1 a 5 2 a 6 3 a 4 4 b 10 5 b …
-
A specific problem to range data within R(or linux,python)
written by szp770 1Hi, all. I have a set of data like this: ``` a,0.1,0.4,1.5,1.8,1.2,0.8,0.5,0.2 b,0.4,0.9,1.1,0.3,0.1 c,0.5,0.7,1.9,2.5,2.2,0.7,0.2 ``` which is every variable(here---a,b,c) has a set of values and …
-
How to convert columns to rows(seperated by comma) in Python(or R,linux)
written by szp770 1Hi, all. Now I have a column of data seperated by '\n'. ``` ENCFF720NRD_POLR2G 0.492022341246791 0.49432683771391 0.498306209291954 0.499462572697776 0.501878178815989 0.505310232483092 0.50580816832688 0.508190853066991 0.515285410047909 0.520515793993818 0.527918988894439 …
-
How to analyze DNA duplication leading strand and lagging strand
written by szp770 1Hi all, say if I want to see the difference of an element during DNA replication in leading strand and lagging strand, how should I …
-
How to use command line arguments in bash?
written by A_heath 18Hi all, As I'm relatively new to bash scripts, I would need some help if you don't mind, please. I've written a bash script and …
-
R script to extract multiple GEO IDs and run on them
written by smrutimayipanda 2I have written a R script for extracting GEO files form NCBI GEO using GEOquery and analyze the data. Now I want to extract multiple …
-
Run R commands on all files in the directory
written by rse 10Hi guys, I want to know how can i run R commands on all files in the directory? Thanks in advance
-
File handling python
written by Jonas.Koch 0Hi! I extracted mapped and unmapped reads of different BAM files using a bash script. Now, I want to compare which reads are in which …
-
Forum: NGS data analysis
written by statfa 79Hi, My idea is to work on CODEX, " http://nar.oxfordjournals.org/content/early/2015/01/23/nar.gku1363 ", which is an R package to detect CNVs in WES data. As I know, …
Please don't. Use
screenortmux.Use
Rscriptnot theRbinary. As Wouter said,tmuxandscreenare better choices, but have a bit more of a learning curve.Otherwise, using
nohupwithRscriptis the same as for any other binary:(or whatever the execution for your script looks like).
How does
screenhave a learning curve? You open a new screen byscreen -S <screenname>, leave it by pressingCtrlAthenCtrlD, and return to the screen by typingscreen -r <screenname>. Agreed that this is far better thannohup. @OP, can you elaborate on which system you are, so a cluster, AWS, personal laptop etc? Is running RStudio an option for a GUI?The learning curve is that you need to get used to the idea that its a 'separate' terminal session, this has implications for preserving the
history, the scrollback buffer, process ownership, the fact thatCtrl-Ano longer moves the cursor to the start of the line, and for attaching and detatching sessions (as well as how to figure out what session is what etc. The list goes on...There's no doubt in my mind it has extra hurdles than
nohup, but I'm not disputing that its worthwhile! :)I see your point, probably I simply got too used of using
screenfor years that I forgot about the little details.