'seqlevels(seqinfo(x))' and 'levels(seqnames(x))' are not identical
1
1
Entering edit mode
Asma rabe ▴ 290
@asma-rabe-4697
Last seen 6.2 years ago
Japan

Hi,

I have list of VCFs ,when i tried to unlist them ,i got this error

> vcf <- do.call(rbind,vcfList)
Error in validObject(.Object) : invalid class "GRanges" object:
    'seqlevels(seqinfo(x))' and 'levels(seqnames(x))' are not
    identical
Calls: do.call ... .unlist_list_of_GenomicRanges -> new ->
    initialize -> initialize -> validObject
In addition: There were 23 warnings (use warnings() to see them)
Execution halted

Any idea?

Thank you 

variantannotation seqlevels error • 1.8k views
ADD COMMENT
1
Entering edit mode
@valerie-obenchain-4275
Last seen 2.3 years ago
United States

Hi,

Looks like a problem rbind'ing the rowData. Try lapply over the 'vcfList', extract rowData and call seqinfo on each rowData. Assuming you don't have too many VCFs this visual inspection should show some discrepancy (ie, dissimilarity) in the GRanges.

Valerie

ADD COMMENT

Login before adding your answer.

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