This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in importing BAM files

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

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

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

0 answers

No answers yet.

Log in to answer this question.