Entering edit mode
8.5 years ago
EVR
▴
610
Hi,
I have a to read a bam file into R and extract information related to a particular transcript in bam format. In linux terminal, we can acheive this using
samtools view -bS -F 4 sorted_file.bam transcript_xx > transcript_xx.bam
How can I achieve the same thing within R. Kindly guide me. Thanks in advance
Hi venu,
I am aware of system() command in R. But how can can I store the output of system(x) in bam format in R.