This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Rsamtools to separate vcf file by chromosome?

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

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

0 answers

No answers yet.

Log in to answer this question.