Rsamtools to separate vcf file by chromosome?
0
0
Entering edit mode
7.4 years ago
nadrianam ▴ 40

I'm using Rsamtools to try and separate a vcf file by chromosome and while there are plenty of questions answered using samtools/vcftools/etc, I can't seem to adapt them to work in R. (I'm using Windows so I'm stuck to using R). I also have Rbamtools but that doesn't seem to have a split function.

Ideally I need this to loop as well.

Thanks in advance!

Rsamtools vcf chromosome • 1.5k views
ADD COMMENT
0
Entering edit mode

It's good practice to show us what you tried, what didn't work and how it didn't work :)

ADD REPLY

Login before adding your answer.

Traffic: 2150 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