VariantAnnotation dbSNPs strand
2
0
Entering edit mode
ribioinfo ▴ 100
@ribioinfo-9434
Last seen 3.7 years ago

Hi, I have loaded the vcf of dbSNPs with the readVcf function. Is it possible to get the strand of the SNPs annotated in dbSNPs with variant annotation?

Thank you.

Riccardo

variantannotation • 1.1k views
ADD COMMENT
0
Entering edit mode
@valerie-obenchain-4275
Last seen 2.3 years ago
United States

rowRanges(vcf) returns a GRanges with the location and strand of each record. To extract strand only, use strand(rowRanges(vcf)). See ?readVcf for details.

Valerie

ADD COMMENT
0
Entering edit mode
ribioinfo ▴ 100
@ribioinfo-9434
Last seen 3.7 years ago

Thank you. I am using mutect and all the mutation are in the plus strand. Should I use the option ignore.strand?

Thank you.

Riccardo

ADD COMMENT
0
Entering edit mode

readVcf() doesn't have an ignore.strand argument. If you're referring to downstream analysis with another function please post a separate question.

Valerie

ADD REPLY

Login before adding your answer.

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