Conversion of VCF file to Vranges
1
0
Entering edit mode
8.7 years ago

I am using SomaticSignature Package for analysis of TCGA data. I have VCF file and need to convert it in vranges. How can I do this conversion.

R • 2.8k views
ADD COMMENT
0
Entering edit mode
8.6 years ago
spaladug ▴ 10

The following code should do it:

 vcf <- readVcf(x, genome = genome)
 vr <- as(vcf, "VRanges")
ADD COMMENT

Login before adding your answer.

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