Rsamtools - Applypileups
1
0
Entering edit mode
12.8 years ago
Donald • 0

I am trying to get the equivalent of : samtools mpileup -f reference.fa reads.bam

but in R. I can't find where and how to add the reference sequence into the function call?

Cheers

samtools r pileup mpileup • 2.3k views
ADD COMMENT
1
Entering edit mode
12.7 years ago

Hey, I also checked for it, I think the best would to invoke a system call within R calling samtools pileup and then parsing the data back for the time being.

system('samtools mpileup -f reference.fa reads.bam')

Cheers

ADD COMMENT

Login before adding your answer.

Traffic: 2082 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6