Question: Error in importing BAM files
0
gravatar for Constantine
3.8 years ago by
Constantine210
USA
Constantine210 wrote:

Hello

I've downloaded a BAM file from UCSC and trying to familiarise with a few packages found in R. 

I'm currently using "Rsamtools" to import the BAM file, however, I get the following error message: 

Error in seqlevels(seqinfo(x)) : 
  error in evaluating the argument 'x' in selecting a method for function 'seqlevels': Error in .normargSeqlevels(seqnames) : 
  supplied 'seqlevels' cannot contain duplicated sequence names

Any idea on how to circumvent this problem?

Thanks

chip-seq • 1.3k views
ADD COMMENTlink written 3.8 years ago by Constantine210
1

The error is clear, you have duplicate sequence names in your data...

ADD REPLYlink written 3.8 years ago by iraun3.4k

I understand the nature of the problem. My question was whether there is a way to select for non-duplicated sequence names

ADD REPLYlink modified 3.8 years ago • written 3.8 years ago by Constantine210
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1447 users visited in the last hour