Do TxDb objects contain info about non-transcriptionally active regions?
1
0
Entering edit mode
jacorvar ▴ 40
@jacorvar-8972
Last seen 12 months ago
European Union

Hi,

I'd like to annotate a set of variants I called by other methods outside R and BioC. After looking into some tutorials, I lean towards locateVariants function within the VariantAnnotation package. However, I've seen its second argument must be a TxDb object, which is intended for transcripts, and not any genomic region (is this correct???). If I am interested n variants lying on any region of the genome (transcripts or not), shouldn't I use other method? If I unterstood wrong and TxDb objects contain all regions of the genome, then the problem would be solved.

Thanks

TxDb GRanges BSGenome variant annotation • 1.1k views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 3 hours ago
United States

Where do you get the idea that the second argument must be a TxDb? From ?locateVariants:

subject: A TxDb or 'GRangesList' object that serves as the annotation.
          GFF files can be converted to TxDb objects with
          'makeTxDbFromGFF()' in the 'GenomicFeatures' package.

locateVariants is intended to tell you how your variants relate to anything on a genome that can be defined in a GRangesList, which could be transcripts, but it could also be anything else, depending on what you are trying to do.

ADD COMMENT

Login before adding your answer.

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